/* base.css - Grundlæggende styling, fonts og layout */

/* FJERN DISSE LINJER: */
/* @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap'); */

/* TILFØJ DETTE I STEDET (øverst efter eventuelle andre @imports): */
*, *::before, *::after {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Specifikt for booking container - fanger alt AJAX-indhold */
.football-booking-container,
.football-booking-container * {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hotel og flight options (AJAX-loaded) */
.hotel-options,
.hotel-options *,
.flight-options,
.flight-options *,
.ticket-options,
.ticket-options * {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}-section {
    margin: 30px 0;
    padding: 0;
}

.coupon-section .step-title {
    margin-bottom: 20px;
}

/* Toggle link */
.coupon-toggle-container {
    text-align: center;
    margin-bottom: 20px;
}

.coupon-toggle-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #08605F;
    color: #08605F;
    padding: 16px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8, 96, 95, 0.1);
}

.coupon-toggle-link:hover {
    background: linear-gradient(135deg, #08605F 0%, #066b69 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(8, 96, 95, 0.2);
    text-decoration: none;
}

.coupon-toggle-link .coupon-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-toggle-link .coupon-icon svg {
    width: 24px;
    height: 24px;
}

/* Coupon form container */
#coupon-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input group */
.coupon-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.coupon-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    color: #091924;
    background-color: #ffffff;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.coupon-input:focus {
    outline: none;
    border-color: #08605F;
    box-shadow: 0 0 0 3px rgba(8, 96, 95, 0.1);
}

.coupon-input::placeholder {
    color: #999;
    text-transform: none;
}

.apply-coupon-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #08605F 0%, #066b69 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(8, 96, 95, 0.2);
}

.apply-coupon-btn:hover {
    background: linear-gradient(135deg, #025b4e 0%, #044d44 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 96, 95, 0.3);
}

.apply-coupon-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.apply-coupon-btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Coupon actions */
.coupon-actions {
    text-align: center;
}

.cancel-coupon {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

.cancel-coupon:hover {
    color: #374151;
    text-decoration: none;
}

/* Error message */
.coupon-error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Applied coupon display */
.applied-coupon-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 18px 24px;
    margin: 20px auto;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

.coupon-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.coupon-info {
    flex: 1;
}

.coupon-code-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.coupon-code-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
    text-transform: uppercase;
}

.coupon-discount-amount {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
}

.remove-coupon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.remove-coupon-btn:hover {
    background: #dc2626;
    color: #ffffff;
}

/* Discount row in price summary */
.discount-row {
    color: #10b981 !important;
    font-weight: 600;
}

.discount-amount {
    color: #10b981;
    font-weight: 700;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .coupon-toggle-link {
        padding: 14px 20px;
        font-size: 14px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    #coupon-form-container {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .coupon-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .coupon-input {
        width: 100%;
    }
    
    .apply-coupon-btn {
        width: 100%;
    }
    
    .applied-coupon-display {
        flex-wrap: wrap;
        padding: 15px;
        margin: 15px 10px;
    }
    
    .coupon-success-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .coupon-code-value {
        font-size: 16px;
    }
    
    .coupon-discount-amount {
        font-size: 18px;
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }
    s
    .remove-coupon-btn {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .applied-coupon-display {
        position: relative;
    }
}


/* Extra small screens */
@media (max-width: 480px) {
    .coupon-toggle-link {
        padding: 12px 16px;
        font-size: 13px;
        margin: 0 5px;
    }
    
    .coupon-toggle-link .coupon-icon svg {
        width: 20px;
        height: 20px;
    }
}
/* Date change notice */
.date-change-notice {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.date-change-notice svg {
    color: #F57C00;
    flex-shrink: 0;
    margin-top: 2px;
}

.date-change-notice p {
    margin: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.date-change-notice strong {
    color: #111;
}
.airport-selector-step2 {
    padding: 25px;
    background: linear-gradient(135deg, #f0fdfa 0%, #f9fafb 100%);
    border-radius: 12px;
    margin-top: 10px !important;
    border: 2px solid #e0f2f1;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #0C202A;
    margin-bottom: 10px;
    font-family: 'Barlow';
}

.airport-options-step2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.airport-option-step2 {
    padding: 20px 15px;
    text-align: center;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.airport-option-step2:hover {
    border-color: #08605F;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(8, 96, 95, 0.15);
}

.airport-option-step2.active {
    border-color: #08605F;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(8, 96, 95, 0.2);
}

.airport-option-step2.active::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #08605F;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.airport-option-step2.loading {
    opacity: 0.6;
    pointer-events: none;
}

.airport-option-step2.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: #08605F;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.airport-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.airport-name {
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 5px;
    font-size: 15px;
    font-family: 'Barlow';
}

.airport-code {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Flight Sync Indicator */
.flight-sync-indicator {
    margin-top: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #08605F;
    text-align: center;
}

.sync-status {
    display: block;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 10px;
}

.sync-progress {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.sync-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #08605F 0%, #0a7573 100%);
    width: 0%;
    transition: width 0.3s ease;
}

/* Step 5 Selected Airport Info */
.selected-airport-info {
    background: #f0fdfa;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #08605F;
    font-family: 'Barlow';
}

.selected-airport-info strong {
    color: #08605F;
    font-size: 16px;
}

/* Disable airport options in step 5 */
.step-5 .airport-option.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
.selected-airport-info {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    padding: 20px 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 5px solid #08605F;
    font-family: 'Barlow';
    box-shadow: 0 2px 8px rgba(8, 96, 95, 0.1);
}

.selected-airport-info strong {
    color: #08605F;
    font-size: 16px;
}

.change-airport-link {
    color: #08605F !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.change-airport-link:hover {
    color: #025b4e !important;
}

/* Flight Sync Message */
.flight-sync-message {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #08605F;
    margin: 20px 0;
}

.sync-progress {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.sync-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #08605F 0%, #0a7573 100%);
    width: 0%;
    transition: width 0.3s ease;
}
body {
    background-color: #091924;
    color: #ffffff;
    font-family: 'Barlow' !important;
    margin: 0;
    padding: 0;
}

/* Add padding to body to prevent content from being hidden behind sticky cart */
body.has-sticky-cart {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    body.has-sticky-cart {
        padding-bottom: 140px;
    }
}

.football-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    font-family: 'Barlow' !important;
}
body .booking-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    font-size: 40px !important;
    margin-top: 50px !important;
    font-family: 'Barlow' !important;
    gap: 10px !important;
}

body .booking-subtitle {
    font-size: 0.9rem !important;
    text-align: center !important;
    color: #ffffff !important;
    margin-bottom: 80px !important;
    font-family: 'Barlow' !important;
}

/* Progress bar */
.progress-bar {
    display: flex;
    height: 65px;
    background: #ffffff;
    border-radius: 4px;
    overflow: visible;
    position: relative;
    border-radius: 5px;
    margin-bottom: 40px;
    z-index: 1;
}

.booking-progress .progress-step {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333333;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    z-index: 1;
    font-family: 'Barlow' !important;
}

.booking-progress .progress-step.completed,
.booking-progress .progress-step.active {
    background: #08605F;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.booking-progress .progress-step.active::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: #08605F;
}

/* Booking form steps */
.booking-step {
    display: none;
    width: 100%;
    font-family: 'Barlow' !important;
}

.booking-step.active {
    display: block;
}

/* New layout structure */
.step-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.main-content {
    flex: 1;
    max-width: 72%;
}

/* Step 1 has full width */
.step-1 .main-content {
    max-width: 100%;
}
.ticket-option.selected .price-tag, .ticket-option.selected .included-tag {
    background-color: #08605F !important;
    color: #ffffff !important;
    border-radius: 6px;
}
.hotel-option.selected .price-tag, .hotel-option.selected .included-tag {
    background-color: #08605F !important;
    color: #ffffff !important;
}


/* Traveler info container specific styling */
.travelers-info-container {
    background-color: #ffffff;
    margin-top: 10px;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    color: #091924;
    font-family: 'Barlow' !important;
}

#travelers-info-form {
  font-family: 'Barlow' !important;
}

/* White text on mobile */
@media (max-width: 768px) {
  #travelers-info-form {
    color: #ffffff !important;
  }
}

/* OPDATERET: Dropdown styling - Sort tekst i stedet for blå */
select, .form-select {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    font-family: 'Barlow' !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
}

select option {
    color: #000000 !important;
    background-color: #ffffff !important;
}

/* OPDATERET: Input field styling */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="number"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    font-family: 'Barlow' !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
}

/* OPDATERET: Fejl-besked styling - Hvid tekst på mørk baggrund */
.error-message,
.validation-error,
.form-error {
    color: #ffffff !important;
    background-color: rgba(220, 53, 69, 0.8) !important;
    padding: 10px !important;
    border-radius: 4px !important;
    margin-top: 5px !important;
    font-family: 'Barlow' !important;
    font-size: 14px !important;
    border: 1px solid #dc3545 !important;
}

/* OPDATERET: Specifikke fejl-beskeder i rejsende formularer */
.travelers-info-container .error-message,
.travelers-info-container .validation-error,
.travelers-info-container .form-error {
    color: #ffffff !important;
    background-color: #dc3545 !important;
    border: 1px solid #c82333 !important;
}

/* OPDATERET: Mobile dropdown og input styling */
@media (max-width: 768px) {
    select, input[type="text"], input[type="email"], input[type="tel"] {
        font-size: 16px !important; /* Forhindrer auto-zoom på mobil */
        color: #000000 !important;
        background-color: #ffffff !important;
    }
    
    /* Mobile fejl-beskeder */
    .error-message,
    .validation-error,
    .form-error {
        color: #ffffff !important;
        background-color: #dc3545 !important;
        font-size: 14px !important;
        padding: 12px !important;
        margin: 8px 0 !important;
    }
}

/* MOBILE HERO IMPROVEMENTS */
/* Forbedret hero styling til mobil */

/* General hero container optimizations */
.hero_container {
  min-height: 250px; /* Reduceret fra standardhøjde */
}

.hero_information .teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0;
  padding: 10px 0;
}

.hero_information .teams .shortname {
  text-transform: uppercase;
  font-size: clamp(24px, 6vw, 40px); /* Reduceret startværdi fra 40px til 24px */
  font-weight: 800;
  line-height: 1.1;
  word-break: break-word; /* Tillader ordbrydning på lange holdnavne */
}

.hero_information .teams .seperator {
  font-size: clamp(24px, 5vw, 35px);
  margin: 0 10px;
}


