/* Booking page styles */
.booking-breadcrumb-wrapper {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.breadcrumb-link:hover {
    color: #ffffff;
}

.breadcrumb-separator,
.breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
}

.booking-page-section {
    background: #f8fafc;
    padding: 40px 0 60px;
}

.booking-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 40px;
}

.booking-form-content {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-page-title {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 800;
}

.form-page-subtitle {
    color: #475569;
    margin: 0 0 30px;
    font-size: 15px;
}

.form-section-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 18px;
    color: #1e293b;
}

.input-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 18px;
}

.input-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.field-input:focus,
.field-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.field-input.error,
.field-textarea.error,
.terms-checkbox.error {
    border-color: #ef4444;
}

.field-error {
    display: none;
    color: #b91c1c;
    font-size: 12px;
}

.field-error.show {
    display: block;
}

.field-help-text {
    color: #64748b;
    font-size: 12px;
}

.terms-agreement-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f1f5f9;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.terms-label {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.terms-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-submit-booking,
.btn-back-package {
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    border: none;
}

.btn-submit-booking {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: #ffffff;
    flex: 1;
    justify-content: center;
}

.btn-submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.btn-submit-booking:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-back-package {
    background: #64748b;
    color: #ffffff;
}

.btn-back-package:hover {
    background: #475569;
}

.form-alert-message {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.booking-price-sidebar {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.price-sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.price-summary-card,
.support-contact-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.price-card-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.trip-info-block {
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 18px;
}

.trip-name {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 12px;
    font-weight: 700;
}

.trip-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.trip-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.trip-meta-item i {
    color: #3b82f6;
}

.dynamic-price-section {
    margin-top: 16px;
}

.travelers-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    margin-bottom: 16px;
}

.travelers-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.travelers-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.travelers-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.travelers-count {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 800;
}

.price-breakdown-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    background: #ffffff;
    margin-bottom: 16px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

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

.price-row-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.price-row-value {
    font-size: 14px;
    color: #1e3a8a;
    font-weight: 700;
}

.price-multiplier {
    padding: 10px 0;
    border-top: 1px dashed #cbd5e1;
    border-bottom: 1px dashed #cbd5e1;
}

.price-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #3b82f6, transparent);
    margin: 14px 0;
}

.price-total-row {
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 8px;
}

.price-total-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-total-value {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.pricing-tier-indicator {
    margin-bottom: 16px;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.price-info-notice {
    margin-top: 12px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.price-animate {
    animation: priceUpdate 0.3s ease;
}

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

.support-card-title {
    font-size: 16px;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.support-card-title i {
    color: #3b82f6;
}

.support-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.support-link-item:hover {
    background: #e2e8f0;
    color: #1e3a8a;
    transform: translateX(2px);
}

.support-link-item i {
    color: #3b82f6;
    width: 18px;
    text-align: center;
}

@media (max-width: 1024px) {
    .booking-page-container {
        grid-template-columns: 1fr;
    }

    .booking-price-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .booking-form-content {
        padding: 24px;
    }

    .form-page-title {
        font-size: 26px;
    }

    .input-field-row {
        grid-template-columns: 1fr;
    }

    .form-action-buttons {
        flex-direction: column;
    }

    .btn-submit-booking,
    .btn-back-package {
        width: 100%;
        justify-content: center;
    }

    .trip-meta-grid {
        grid-template-columns: 1fr;
    }
}
