    #scanner-setup-modal.modal-show {
      display: flex !important;
    }
    #omnimax-scanning-modal.modal-show {
      display: flex !important;
    }
    #barcode-scanner-modal.modal-show {
      display: flex !important;
    }
    #checkin-modal.modal-show {
      display: flex !important;
    }
    #checkout-modal.modal-show {
      display: flex !important;
    }

    /* Hide Executive Panel button on desktop by default */
    .choice-button.executive-panel {
      display: none;
    }

    /* Hide profile close button on desktop */
    .profile-close-btn {
      display: none;
    }

    /* Hide barn switcher on desktop by default */
    .barn-switcher {
      display: none;
    }
    
      .landing-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 120px; /* Space for checkout button */
  }

  /* Red Checkout Button with exact same style as other buttons */
  .choice-button.checkout-bottom {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: white;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px; /* Increased to match other buttons */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 210px; /* 0.75x the width of 280px */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.95;
  }

  .choice-button.checkout-bottom:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.3);
    opacity: 1;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  }

  .choice-button.checkout-bottom:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
  }

  .choice-button.checkout-bottom i {
    font-size: 24px;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .choice-button.checkout-bottom {
      min-width: 210px; /* Keep the 0.75x width on mobile too */
      bottom: 20px;
    }
    
    .landing-content {
      padding-bottom: 100px;
    }
  }

  /* Ensure animated background covers full height */
  .animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  .barn-switcher {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 15px;
}

.barn-switcher-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.barn-tabs {
  display: flex;
  gap: 10px;
}

.barn-tab {
  padding: 8px 16px;
  border: 2px solid #1E88E5;
  background: white;
  color: #1E88E5;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.barn-tab:hover:not(:disabled) {
  background: #1E88E5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3);
}

.barn-tab.active {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: white;
  border-color: #1565C0;
}

.barn-tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .barn-switcher {
    top: 80px;
    left: 10px;
    right: 10px;
    transform: none;
    flex-direction: column;
    gap: 10px;
  }
  
  .barn-tabs {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .barn-tab {
    flex: 1;
    min-width: 120px;
  }
}
.choice-button.checkout-bottom i {
  font-size: 24px;
  transform: scaleX(-1);
}

/* Maintain the flip on hover */
.choice-button.checkout-bottom:hover i {
  transform: scaleX(-1);
}

/* Passport Upload Debug Styles */
#passport-upload-section {
  margin: 20px 0;
  padding: 20px;
  border: 2px dashed #999;
  border-radius: 12px;
  background: #f8f9fa;
}

#passport-upload-section.hidden {
  display: none !important;
}

#passport-upload-section:not(.hidden) {
  display: block !important;
}

.passport-upload-section .upload-dropzone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.passport-upload-section .upload-dropzone:hover {
  border-color: #1E88E5;
  background: rgba(30, 136, 229, 0.05);
}

.passport-upload-section .upload-dropzone i {
  font-size: 48px;
  color: #999;
  display: block;
  margin-bottom: 16px;
}

/* Horse Profile Panel for Executive */
.horse-profile-panel {
  position: fixed;
  right: 20px;
  top: 120px;
  bottom: 20px;
  width: 380px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 350;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  transform: translateX(420px);
  opacity: 0;
}

.horse-profile-panel.show {
  transform: translateX(0);
  opacity: 1;
}

.horse-profile-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #E5E7EB;
}

.horse-profile-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

.horse-profile-header .barn-info {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 500;
}

.horse-profile-details {
  flex: 1;
}

.hotel-reservation-section {
  flex: 1;
}

.profile-field {
  margin-bottom: 20px;
}

.profile-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

.profile-field .value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.profile-field .value.not-provided {
  color: #9CA3AF;
  font-style: italic;
}

.profile-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.profile-btn {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.profile-btn.checkout-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
}

.profile-btn.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

.profile-btn.transfer-btn {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: white;
}

.profile-btn.transfer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.3);
}

.reservation-card {
  /* No special styling - use profile field style */
}

/* Checkout Confirmation Gadget */
.checkout-confirmation-gadget {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2000;
}

.checkout-confirmation-gadget.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Backdrop blur */
.checkout-confirmation-gadget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-confirmation-gadget.show::before {
  opacity: 1;
}

.confirmation-content {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 400px;
}

.checkout-confirmation-gadget.show .confirmation-content {
  transform: scale(1);
  opacity: 1;
}

.confirmation-content h3 {
  margin: 0 0 20px 0;
  color: #203775;
  font-size: 24px;
  text-align: center;
}

.confirmation-details {
  background: #F3F4F6;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 16px;
}

.confirmation-datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.datetime-field label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 600;
}

.datetime-field input {
  width: 100%;
  padding: 10px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.datetime-field input:focus {
  outline: none;
  border-color: #203775;
}

.confirmation-actions {
  display: flex;
  gap: 15px;
}

.confirmation-actions button {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cancel-btn {
  background: #E5E7EB;
  color: #374151;
}

.cancel-btn:hover {
  background: #D1D5DB;
  transform: translateY(-2px);
}

.confirm-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
}

.confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
}

/* Success Animation */
.checkout-success-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkout-success-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.checkout-success-animation.show {
  pointer-events: all;
  opacity: 1;
}

.success-content {
  position: relative;
  text-align: center;
  transform: scale(0.5) translateY(50px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-success-animation.show .success-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.success-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.success-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  animation: successPulse 1.5s ease-out infinite;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.success-icon i {
  font-size: 60px;
  color: white;
  animation: checkmarkDraw 0.8s ease-out 0.3s both;
}

@keyframes checkmarkDraw {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(-45deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.success-content h2 {
  color: white;
  font-size: 36px;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade out animation */
.checkout-success-animation.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.checkout-success-animation.fade-out .success-content {
  transform: scale(0.8) translateY(-30px);
  opacity: 0;
}

/* Transfer Confirmation Gadget - Same style as checkout confirmation */
.transfer-confirmation-gadget {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 2000;
}

.transfer-confirmation-gadget.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Backdrop blur */
.transfer-confirmation-gadget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.transfer-confirmation-gadget.show::before {
  opacity: 1;
}

.transfer-confirmation-gadget .confirmation-content {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 400px;
}

.transfer-confirmation-gadget.show .confirmation-content {
  transform: scale(1);
  opacity: 1;
}

.transfer-confirmation-gadget h3 {
  margin: 0 0 20px 0;
  color: #203775;
  font-size: 24px;
  text-align: center;
}

.transfer-confirmation-gadget p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

.horse-info {
  background: #F3F4F6;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row label {
  font-weight: 600;
  color: #666;
}

.info-row span {
  font-weight: 500;
  color: #203775;
}

.transfer-instruction {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.3s ease;
}

.transfer-instruction.show {
  opacity: 1;
}

.cancel-transfer-btn {
  background: #E5E7EB;
  color: #374151;
}

.cancel-transfer-btn:hover {
  background: #D1D5DB;
  transform: translateY(-2px);
}

.confirm-transfer-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.confirm-transfer-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.confirm-transfer-btn:disabled {
  background: #E5E7EB;
  color: #9CA3AF;
  cursor: not-allowed;
}

/* Green proceed button for transfer confirmation */
.proceed-transfer-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: white !important;
}

.proceed-transfer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.transfer-success-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.transfer-success-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.transfer-success-animation.show {
  pointer-events: all;
  opacity: 1;
}

/* Transfer animation container */
.transfer-animation-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.transfer-success-animation.phase-transfer .transfer-animation-container {
  opacity: 1;
}

.transfer-success-animation.phase-success .transfer-animation-container {
  opacity: 0;
}

/* Stable icons */
.stable-icons {
  display: flex;
  align-items: center;
  gap: 200px;
  position: relative;
}

.stable-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.stable-icon i {
  font-size: 48px;
  opacity: 0.8;
}

.from-stable {
  animation: pulseScale 1s ease-in-out infinite;
}

.to-stable {
  animation: pulseScale 1s ease-in-out infinite 0.5s;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Transfer arrows */
.transfer-arrows {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
}

.arrow {
  color: #FCD34D;
  font-size: 36px;
  opacity: 0;
  animation: arrowMove 1s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(252, 211, 77, 0.8);
}

.arrow-1 {
  animation-delay: 0s;
}

.arrow-2 {
  animation-delay: 0.2s;
}

.arrow-3 {
  animation-delay: 0.4s;
}

@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(50px);
  }
}

/* Success content */
.transfer-success-animation .success-content {
  position: relative;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.transfer-success-animation.phase-success .success-content {
  opacity: 1;
  transform: scale(1);
}

.transfer-success-animation .success-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.transfer-success-animation .success-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.transfer-success-animation .success-icon i {
  font-size: 60px;
  color: white;
  z-index: 1;
  animation: checkmarkPop 0.6s ease-out 0.2s both;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.transfer-success-animation h2 {
  color: white;
  font-size: 36px;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.transfer-success-animation.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Responsive for horse profile panel */
@media (max-width: 768px) {
  .horse-profile-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: translateY(100%);
  }
  
  .horse-profile-panel.show {
    transform: translateY(0);
  }
  
  .checkout-confirmation-gadget {
    min-width: 90%;
    padding: 20px;
  }
  
  .confirmation-datetime {
    grid-template-columns: 1fr;
  }
  
  .transfer-instruction {
    top: 140px;
    left: 10px;
    right: 10px;
    transform: none;
    text-align: center;
  }
  
  .stable-icons {
    gap: 120px;
  }
  
  .stable-icon i {
    font-size: 36px;
  }
  
  .arrow {
    font-size: 24px;
  }
}

/* Multiple occupancy styles */
.multiple-cards-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px 0;
}

/* Use reservation-card styling from checkout.html */
#multiple-occupancy-section .reservation-card {
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

#multiple-occupancy-section .reservation-card:hover {
  border-color: #203775;
  box-shadow: 0 4px 12px rgba(32,55,117,0.15);
  transform: translateY(-2px);
}

#multiple-occupancy-section .reservation-card:last-child {
  margin-bottom: 0;
}

.reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.reservation-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
}

.reservation-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.reservation-status.active {
  background: #DCFCE7;
  color: #059669;
}

.reservation-status.transit {
  background: #DBEAFE;
  color: #2563EB;
}

.reservation-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.detail-row label {
  color: #6B7280;
  font-weight: 500;
}

.detail-row span {
  color: #1F2937;
  font-weight: 500;
  text-align: right;
}

/* Transit card specific styling */
.reservation-card.transit-card {
  border-left: 4px solid #3B82F6;
}


/* Back button for single horse view */
.back-to-multiple {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  margin-right: 10px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.back-to-multiple:hover {
  background: #F3F4F6;
  color: #374151;
}

#multiple-occupancy-section {
  flex: 1;
  overflow-y: auto;
  padding: 0 5px;
}

/* Edit Horse Modal Styles - Bright Theme */
.edit-horse-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease-out;
  overflow-y: auto;
}

.edit-horse-modal.show {
  display: flex;
}

.edit-modal-content {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.edit-modal-header {
  background: linear-gradient(135deg, #203775 0%, #2E4A8B 100%);
  color: white;
  margin: 0;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.edit-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.edit-modal-header h2 i {
  font-size: 28px;
}

.close-edit-modal {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.close-edit-modal:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Edit Tab Group - Bright Design */
.edit-tab-group {
  display: flex;
  margin: 0;
  background: #F8FAFC;
  border-radius: 0;
  flex-shrink: 0;
}

.edit-tab {
  flex: 1;
  padding: 20px 15px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #6B7280;
  transition: all 0.3s ease;
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.edit-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.edit-tab.active {
  color: #203775;
  background: rgba(212, 175, 55, 0.1);
}

.edit-tab.active::after {
  width: 80%;
}

.edit-tab:hover:not(.active) {
  background: rgba(0, 0, 0, 0.05);
  color: #1F2937;
}

.edit-tab i {
  font-size: 18px;
}

/* Edit Tab Content - Bright Design */
.edit-tab-content {
  display: none;
  padding: 30px;
  animation: tabFadeIn 0.3s ease-out;
}

.edit-tab-content.active {
  display: block;
}

.edit-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.edit-form-group {
  margin-bottom: 0;
  position: relative;
}

.edit-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1F2937;
  font-size: 15px;
}

.edit-form-group label i {
  color: #203775;
  margin-right: 8px;
}

.edit-form-group input,
.edit-form-group select {
  width: 100%;
  min-height: 52px;
  padding: 16px 18px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #FFFFFF;
  color: #1F2937;
  -webkit-appearance: none;
  appearance: none;
}

.edit-form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.edit-form-group input:focus,
.edit-form-group select:focus {
  outline: none;
  border-color: #203775;
  box-shadow: 0 0 0 3px rgba(32, 55, 117, 0.1);
  transform: translateY(-2px);
}

.edit-form-group input:hover,
.edit-form-group select:hover {
  border-color: #2E4A8B;
}

.edit-form-group input::placeholder {
  color: #9CA3AF;
}

.field-hint {
  font-size: 12px;
  color: #6B7280;
  margin-top: 4px;
}

/* Edit Modal Actions - Bright Design */
.edit-modal-actions {
  padding: 20px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  background: #F8FAFC;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid #E5E7EB;
  flex-shrink: 0;
  margin: 0;
}

.edit-modal-actions button {
  min-height: 52px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-cancel-btn {
  background: #F3F4F6;
  color: #1F2937;
  border: 2px solid #E5E7EB;
}

.edit-cancel-btn:hover {
  background: #E5E7EB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edit-save-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.edit-save-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.edit-save-btn:active {
  transform: translateY(-1px);
}

/* Edit button in profile actions - Blue Design */
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.profile-btn.edit-btn {
  background: linear-gradient(135deg, #203775 0%, #2E4A8B 100%);
  color: white;
  order: -1; /* Place edit button on top */
  box-shadow: 0 4px 12px rgba(32, 55, 117, 0.3);
}

.profile-btn.edit-btn:hover {
  background: linear-gradient(135deg, #2E4A8B 0%, #203775 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 55, 117, 0.4);
}

/* Two-column layout for checkout and transfer buttons */
.profile-actions-row {
  display: flex;
  gap: 12px;
}

.profile-actions-row .profile-btn {
  flex: 1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Traces status indicator */
.traces-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.traces-status.added {
  background-color: #10B981;
  color: white;
}

.traces-status.not-added {
  background-color: #EF4444;
  color: white;
}

/* Real European License Plate Design */
.license-plate-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.license-plate {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 8px;
  overflow: hidden;
  height: 70px;
  width: 400px;
  font-family: 'Arial Black', Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.country-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 100%;
  position: relative;
  padding: 8px 0;
}

/* EU countries - blue with stars */
.country-section.eu-country {
  background: #0052cc;
}

.country-section.eu-country::before {
  content: '★★★★★★';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd700;
  font-size: 8px;
  letter-spacing: 1px;
  line-height: 1;
}

.country-section.eu-country::after {
  content: '★★★★★★';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd700;
  font-size: 8px;
  letter-spacing: 1px;
  line-height: 1;
}

/* Non-EU countries - red background */
.country-section.non-eu-country {
  background: #cc0000;
}

/* Default gray */
.country-section:not(.eu-country):not(.non-eu-country) {
  background: #666666;
}

.country-code-input {
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  width: 100%;
  outline: none;
  z-index: 10;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.country-code-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
}

.plate-separator {
  width: 2px;
  background: #000000;
  margin: 10px 0;
}

.plate-number-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0 20px;
}

.plate-number-input {
  background: transparent;
  border: none;
  text-align: center;
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  width: 100%;
  color: #000000;
  outline: none;
  letter-spacing: 3px;
}

.plate-number-input::placeholder {
  color: #888888;
  font-weight: 900;
}

/* Focus states */
.country-code-input:focus,
.plate-number-input:focus {
  outline: 2px solid #ffd700;
  outline-offset: -2px;
}

/* Guest Passport Rotation Modal - MUST BE HIDDEN BY DEFAULT */
#guest-passport-rotation-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.8) !important;
  z-index: 10000 !important;
}

#guest-passport-rotation-modal.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#guest-passport-rotation-modal .rotation-modal {
  max-width: 600px !important;
  background: white !important;
  border-radius: 25px !important;
  padding: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.rotation-preview-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  max-height: 60vh;
  overflow: auto;
}

.rotation-preview-container img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.rotation-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.rotation-controls .btn {
  flex: 1;
  max-width: 200px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #dee2e6;
  background: white;
  color: #495057;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rotation-controls .btn:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}

.rotation-controls .btn:active {
  transform: translateY(0);
}

.rotation-controls .btn i {
  margin-right: 8px;
}

.modal-actions .btn-primary {
  background: #28a745;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-actions .btn-primary:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.modal-actions .btn-primary:active {
  transform: translateY(0);
}

.modal-actions .btn-primary i {
  margin-right: 8px;
}

/* Mobile rotation adjustments */
@media (max-width: 768px) {
  .rotation-modal {
    width: 95% !important;
    padding: 20px !important;
  }

  .rotation-modal h2 {
    font-size: 1.3em;
  }

  .rotation-preview-container {
    min-height: 200px;
    max-height: 50vh;
    padding: 15px;
  }

  .rotation-controls {
    flex-direction: column;
  }

  .rotation-controls .btn {
    max-width: 100%;
    width: 100%;
  }
}
