:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0ea5e9 100%);
}

.card {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-1px);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

.item-card {
  border: none;
  box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
  transition: all 0.3s ease;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgb(0 0 0 / 15%);
}

/* Hero Carousel Styles */
#heroCarousel {
  position: relative;
}

.carousel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.carousel-image-wrapper {
  position: relative;
  background: #212529;
}

.carousel-featured-image {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 85%) 0%,
    rgb(0 0 0 / 40%) 70%,
    transparent 100%
  );
  padding: 2rem 1.5rem 2.5rem;
  text-align: left;
}

.carousel-caption-content {
  max-width: 100%;
}

.carousel-caption-custom .badge {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.carousel-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0;
  text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.carousel-price {
  color: #ffc107;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
}

.carousel-location {
  color: rgb(255 255 255 / 90%);
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transform: translate3d(0, 0, 0);
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  margin-bottom: 0;
  bottom: 10px;
  background: transparent;
  padding: 0;
}

.carousel-indicators button {
  width: 30px;
  height: 6px;
  border-radius: 3px;
  margin: 0 4px;
  background-color: rgb(255 255 255 / 50%);
  border: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: rgb(255 255 255 / 90%);
  width: 40px;
}

@media (width <= 768px) {
  .carousel-title {
    font-size: 1rem;
  }

  .carousel-price {
    font-size: 1.25rem;
  }

  .carousel-caption-custom {
    padding: 1.5rem 1rem 1rem;
  }
}

/* ============================================
   LOCATION SEARCH - RADIUS SEARCH MODAL
   ============================================ */

/* Mini Map Container */
.location-search-mini {
  position: relative;
  width: 100%;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.location-search-mini:hover {
  box-shadow: 0 4px 12px rgb(13 110 253 / 25%);
  transform: translateY(-2px);
}

.location-search-mini #miniMap {
  background: linear-gradient(135deg, #f0f4ff 0%, #e7f3ff 100%);
}

/* Modal Backdrop */
.radius-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  z-index: 1039;
  backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none !important;
}

.radius-modal-backdrop[style*='display: block'] {
  display: block !important;
}

/* Modal Container */
.radius-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  height: 90vh;
  max-height: 90vh;
  background: white;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 15%);
  z-index: 1040;
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.radius-modal[style*='display: flex'] {
  display: flex !important;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.radius-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Close Button */
.radius-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
  background: rgb(255 255 255 / 95%);
  border: 1px solid #dee2e6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #212529;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radius-modal-close:hover {
  background: white;
  color: #dc3545;
  border-color: #dc3545;
  transform: scale(1.1);
}

/* Map Container inside Modal */
#radiusMap {
  flex: 1;
  border: none;
}

/* Leaflet Map Borderless */
.radius-modal #radiusMap .leaflet-container {
  border: none;
}

/* Control Overlay (Bottom Left) */
.radius-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
  max-width: 320px;
  z-index: 1000;
}

.radius-control-group {
  margin-bottom: 1rem;
}

.radius-control-group:last-of-type {
  margin-bottom: 1.25rem;
}

.radius-control-group .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #212529;
}

.radius-control-group .form-control {
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.radius-control-group .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 15%);
}

.radius-control-group .form-control.is-invalid {
  border-color: var(--danger-color);
}

.radius-control-group .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 15%);
}

/* Postal Code Help Text */
#postalCodeHelp {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #6c757d;
}

#postalCodeHelp.error {
  color: var(--danger-color);
}

#postalCodeHelp.success {
  color: var(--success-color);
}

/* Radius Slider */
.radius-slider {
  height: 0.5rem;
  border-radius: 0.25rem;
  background: #dee2e6;
  outline: none;
  appearance: none;
  appearance: none;
}

.radius-slider::-webkit-slider-thumb {
  appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgb(13 110 253 / 30%);
}

.radius-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgb(13 110 253 / 40%);
}

.radius-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgb(13 110 253 / 30%);
}

.radius-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgb(13 110 253 / 40%);
}

/* Apply Button in Controls */
.radius-controls .btn {
  font-weight: 600;
  padding: 0.625rem 1rem;
}

/* Radius Circle on Map */
.leaflet-radius-circle {
  fill-opacity: 0.2;
  color: var(--primary-color);
  fill: var(--primary-color);
  weight: 2;
}

/* Leaflet Marker & Popup Styling */
.radius-modal .leaflet-popup-content-wrapper {
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.radius-modal .leaflet-popup-tip {
  background: white;
}

/* Responsive Modal */
@media (width <= 768px) {
  .radius-modal {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .radius-controls {
    bottom: 15px;
    left: 15px;
    right: 15px;
    max-width: none;
    padding: 1rem;
  }

  .radius-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

@media (width <= 480px) {
  .radius-controls {
    padding: 0.875rem;
  }

  .radius-control-group .form-label {
    font-size: 0.85rem;
  }

  .radius-slider {
    height: 0.4rem;
  }

  .radius-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
  }

  .radius-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }
}

/* Leaflet Control Positioning */
.radius-modal .leaflet-top,
.radius-modal .leaflet-bottom {
  z-index: 5;
}

/* Hide default Leaflet controls in modal (optional) */
.radius-modal .leaflet-control-zoom {
  margin: 10px;
}

/* Toast/Notification Styling for Location Search */
.toast-location-error {
  background: rgb(220 53 69 / 95%);
  color: white;
  padding: 1rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgb(220 53 69 / 30%);
}

.toast-location-success {
  background: rgb(25 135 84 / 95%);
  color: white;
  padding: 1rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgb(25 135 84 / 30%);
}

.image-upload {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #f8f9fa;
}

.image-upload:hover,
.image-upload.dragover {
  border-color: #0d6efd;
  background: #e7f3ff;
}

.image-upload i {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.image-upload p {
  margin: 0;
  color: #6c757d;
}

#imagePreview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-preview-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid #dee2e6;
  background: #fff;
  transition: all 0.2s;
}

.image-preview-item:hover {
  border-color: #0d6efd;
  box-shadow: 0 2px 8px rgb(13 110 253 / 20%);
}

.image-preview-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.image-preview-item .btn-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgb(220 53 69 / 90%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.image-preview-item .btn-remove:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.image-preview-item .image-name {
  display: block;
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #6c757d;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#imageFiles {
  display: none;
}

.item-image {
  height: 200px;
  object-fit: cover;
  border-radius: 0.375rem 0.375rem 0 0;
}

.price-tag {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--success-color);
}

.condition-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.search-filters {
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  padding: 1.5rem;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.loading-spinner {
  display: none;
  text-align: center;
  padding: 2rem;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--secondary-color);
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.image-gallery {
  position: relative;
}

.gallery-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.375rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
}

.contact-seller {
  position: sticky;
  top: 2rem;
}

.seller-info {
  background-color: var(--light-color);
  border-radius: 0.375rem;
  padding: 1.5rem;
}

.rating {
  color: var(--warning-color);
}

.form-floating {
  margin-bottom: 1rem;
}

.image-upload {
  border: 2px dashed #dee2e6;
  border-radius: 0.375rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s;
  cursor: pointer;
}

.image-upload:hover {
  border-color: var(--primary-color);
}

.image-upload.dragover {
  border-color: var(--primary-color);
  background-color: rgb(13 110 253 / 10%);
}

.image-preview {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.preview-item {
  position: relative;
}

.preview-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.375rem;
}

.remove-image {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--danger-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 0.75rem;
  cursor: pointer;
}

@media (width <= 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .gallery-main-image {
    height: 250px;
  }

  .contact-seller {
    position: static;
    margin-top: 2rem;
  }
}

/* Animation für Ladezustände */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
}

/* Modal Anpassungen */
.modal-header {
  background-color: var(--primary-color);
  color: white;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Detailseite Spezifische Styles */
.gallery-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-main-image:hover {
  transform: scale(1.02);
}

.gallery-thumbnails {
  max-height: 100px;
  overflow: auto hidden;
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.contact-seller {
  position: sticky;
  top: 2rem;
  z-index: 10;
}

.seller-info {
  background-color: var(--light-color);
  border-radius: 0.375rem;
}

.rating {
  color: var(--warning-color);
}

.rating .fas,
.rating .far {
  font-size: 0.875rem;
}

/* Technische Daten Styling */
#technicalSpecs .d-flex {
  border-bottom: 1px solid #eee;
  padding: 0.5rem 0;
}

#technicalSpecs .d-flex:last-child {
  border-bottom: none;
}

/* Features Badges */
#featuresList .badge {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* Breadcrumb Styling */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Ähnliche Motorräder */
#similarMotorcycles .card {
  transition: all 0.2s ease;
  border: 1px solid #dee2e6;
}

#similarMotorcycles .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
}

/* Quick Info Boxes */
.contact-seller .border {
  transition: all 0.2s ease;
}

.contact-seller .border:hover {
  border-color: var(--primary-color) !important;
  background-color: rgb(13 110 253 / 5%);
}

/* Image Gallery Responsive */
@media (width <= 768px) {
  .gallery-main-image {
    height: 250px;
  }

  .contact-seller {
    position: static;
    margin-top: 2rem;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  .gallery-thumbnails {
    max-height: 80px;
  }
}

/* Loading States */
.loading-motorcycle-detail {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Error State */
.alert-danger {
  border: none;
  box-shadow: 0 2px 10px rgb(220 53 69 / 10%);
}

/* Contact Form */
#contactForm .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

/* Animate on scroll effects */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Print Styles für Detailseite */
@media print {
  .navbar,
  .contact-seller,
  footer,
  .btn {
    display: none !important;
  }

  .gallery-thumbnails {
    display: none;
  }

  .container {
    max-width: none !important;
  }
}

/* ============================================
   AUTH PAGE STYLES (Login/Register)
   ============================================ */

/* Auth Card */
.auth-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgb(0 0 0 / 10%);
  overflow: hidden;
}

/* Tabs Navigation */
.nav-tabs {
  border-bottom: 2px solid #e9ecef;
  background-color: #f8f9fa;
}

.nav-tabs .nav-link {
  color: #6c757d;
  border: none;
  font-weight: 600;
  padding: 1rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--primary-color);
  background-color: white;
}

.nav-tabs .nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0ea5e9 100%);
  border-bottom: 3px solid var(--primary-color);
}

.nav-tabs .nav-link i {
  margin-right: 0.5rem;
}

/* Tab Content */
.tab-content {
  min-height: 500px;
}

.tab-pane {
  animation: fadeIn 0.3s ease-in;
}

/* Social Login */
.social-login {
  margin-top: 1rem;
}

.social-login .btn {
  font-weight: 600;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.social-login .btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgb(13 110 253 / 5%);
}

.social-login .btn i {
  margin-right: 0.5rem;
}

/* Info Boxes */
.info-box {
  padding: 2rem 1rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 5%);
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  border-left-color: var(--primary-color);
}

.info-box h6 {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

/* Form Validation Styles */
.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger-color);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 25%);
}

.is-valid,
.form-select.is-valid {
  border-color: var(--success-color);
}

.form-control.is-valid:focus,
.form-select.is-valid:focus {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgb(25 135 84 / 25%);
}

.invalid-feedback,
.valid-feedback {
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.invalid-feedback {
  color: var(--danger-color);
}

.valid-feedback {
  color: var(--success-color);
}

/* Password Requirements */
.password-requirements {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.password-requirements li {
  margin-bottom: 0.5rem;
  color: #6c757d;
}

.password-requirements li.valid {
  color: var(--success-color);
}

.password-requirements li i {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}

/* Responsive Auth */
@media (width <= 768px) {
  .auth-card {
    border-radius: 0.75rem;
    box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
  }

  .tab-content {
    min-height: auto;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .nav-tabs .nav-link i {
    margin-right: 0.25rem;
    font-size: 0.9rem;
  }

  .card-body {
    padding: 1.5rem !important;
  }

  .info-box {
    margin-bottom: 1rem;
  }
}

/* ============================================
   CAROUSEL STYLES
   ============================================ */

.carousel {
  background-color: #f8f9fa;
  border-radius: 0.75rem;
  overflow: hidden;
}

.carousel-image {
  background-color: #f8f9fa;
  transition: transform 0.3s ease;
}

.carousel-item {
  height: 500px;
}

.carousel-item.active .carousel-image {
  transform: scale(1);
}

/* Indicators */
.carousel-indicators {
  bottom: 10px;
  background: rgb(0 0 0 / 30%);
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgb(255 255 255 / 60%);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 0.3rem;
}

.carousel-indicator.active {
  background-color: white;
  width: 14px;
  height: 14px;
}

.carousel-indicator:hover {
  background-color: rgb(255 255 255 / 80%);
}

/* Control Buttons */
.carousel-control-prev,
.carousel-control-next {
  background: rgb(0 0 0 / 30%);
  border-radius: 0.5rem;
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgb(0 0 0 / 50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

/* Thumbnails */
.carousel-thumbnails {
  border-top: 1px solid #e9ecef;
}

.thumbnail-item {
  position: relative;
}

.thumbnail-item img {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item img:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.thumbnail-item img.active {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgb(13 110 253 / 50%);
}

/* Responsive */
@media (width <= 768px) {
  .carousel-item {
    height: 300px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .carousel-thumbnails {
    padding: 0.75rem !important;
  }

  .thumbnail-item img {
    width: 60px !important;
    height: 60px !important;
  }
}

/* ============================================
   HEADER / NAVIGATION STYLES
   ============================================ */

/* User Avatar */
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar i {
  font-size: 32px;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  min-width: 220px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
  border: none;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  padding-left: 1.5rem;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  margin: 0.5rem 0;
}

/* ============================================
   SELL PAGE STYLES - CATEGORY SELECTION
   ============================================ */

/* Category Card */
.category-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(13 110 253 / 5%) 0%, rgb(14 165 233 / 5%) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(13 110 253 / 15%);
}

.category-card:hover::before {
  opacity: 1;
}

/* Active state */
input[type='radio']:checked + .category-card {
  border-color: #0d6efd;
  background: linear-gradient(135deg, rgb(13 110 253 / 8%) 0%, rgb(14 165 233 / 8%) 100%);
  box-shadow: 0 4px 12px rgb(13 110 253 / 20%);
}

input[type='radio']:checked + .category-card .category-icon {
  background: linear-gradient(135deg, #0d6efd 0%, #0ea5e9 100%);
  color: white;
}

input[type='radio']:checked + .category-card .category-check {
  opacity: 1;
  transform: scale(1);
}

/* Category Icon */
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f0f4ff;
  color: #0d6efd;
  font-size: 28px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

/* Category Content */
.category-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.category-title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #212529;
}

.category-description {
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Category Check Icon */
.category-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.category-check i {
  font-size: 24px;
  color: #0d6efd;
}

/* Responsive adjustments */
@media (width <= 768px) {
  .category-card {
    padding: 1rem;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .category-title {
    font-size: 1rem;
  }

  .category-description {
    font-size: 0.8rem;
  }
}

/* ============================================
   PROFILE PAGE STYLES - REFACTORED 2.0
   ============================================ */

/* Profile Header Hero */
.profile-header {
  background: linear-gradient(135deg, #0d6efd 0%, #0ea5e9 100%);
  color: white;
  padding: 3rem 0;
}

.profile-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Profile Avatar Large */
.profile-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgb(255 255 255 / 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgb(0 0 0 / 30%);
  flex-shrink: 0;
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Stats Section */
.profile-stats-section {
  background: #f8f9fa;
}

.stat-item {
  padding: 1rem 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0d6efd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Profile Content Section */
.profile-content {
  background: #f8f9fa;
  min-height: calc(100vh - 400px);
}

/* Profile Navigation */
.profile-nav {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
}

.profile-nav-link {
  border: none;
  border-left: 4px solid transparent;
  padding: 1rem 1.5rem;
  color: #495057;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
  background: white;
}

.profile-nav-link:hover {
  background: #f8f9fa;
  border-left-color: #0d6efd;
  color: #0d6efd;
}

.profile-nav-link.active {
  background: linear-gradient(90deg, rgb(13 110 253 / 10%) 0%, rgb(14 165 233 / 5%) 100%);
  border-left-color: #0d6efd;
  color: #0d6efd;
  font-weight: 600;
}

/* Content Card */
.content-card {
  background: white;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgb(0 0 0 / 8%);
  transition: box-shadow 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 4px 20px rgb(0 0 0 / 12%);
}

.content-card-header {
  background: linear-gradient(135deg, rgb(13 110 253 / 8%) 0%, rgb(14 165 233 / 4%) 100%);
  border-bottom: 2px solid #e9ecef;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d6efd;
}

.content-card-body {
  padding: 2rem;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem 3rem;
}

.info-item {
  padding: 0;
}

.info-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #212529;
}

/* Tab Pane Animation */
.tab-pane {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Settings Section */
.settings-section {
  margin: 0;
}

.settings-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1.5rem;
}

.settings-section-title i {
  color: #0d6efd;
}

.danger-zone {
  background: rgb(220 53 69 / 5%);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #dc3545;
}

/* Form Controls */
.form-control-lg,
.form-select-lg {
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control-lg:focus,
.form-select-lg:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgb(13 110 253 / 15%);
}

.form-check-lg .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
}

.form-check-lg .form-check-label {
  margin-left: 0.75rem;
  font-size: 1rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0ea5e9 100%);
  border: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #0c9dd9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(13 110 253 / 25%);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Empty State */
.empty-state-box {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 3rem 1rem;
}

/* Responsive */
@media (width <= 992px) {
  .profile-header h1 {
    font-size: 1.75rem;
  }

  .profile-avatar-large {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

@media (width <= 768px) {
  .profile-header {
    padding: 2rem 0;
    text-align: center;
  }

  .profile-header .row {
    flex-direction: column;
    align-items: center;
  }

  .profile-header h1 {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .stat-item {
    padding: 0.75rem 0;
  }

  .profile-nav {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
  }

  .profile-nav-link {
    flex: 1;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.9rem;
  }

  .profile-nav-link:hover,
  .profile-nav-link.active {
    border-left: none;
    border-bottom-color: #0d6efd;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .content-card-body {
    padding: 1.5rem;
  }

  .content-card-header {
    padding: 1rem 1.5rem;
  }
}

.bikez-result-item {
    transition: background-color 0.2s ease;
}

.bikez-result-item:hover {
    background-color: #f8f9fa;
}

.bikez-result-item:last-child {
    border-bottom: none !important;
}

#bikezResults {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#bikezResults:empty::before {
    content: 'Keine Ergebnisse';
    display: block;
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}