/* ===========================================
   FORMS — Booking form, inputs, toast, errors
   =========================================== */

.booking {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.booking-subtitle {
    text-align: center;
    font-size: 17px;
    color: #c0b8a8;
    max-width: 500px;
    margin: -24px auto 40px;
    line-height: 1.6;
}

.booking-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 50px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: formGlow 3s ease-in-out infinite;
}

@keyframes formGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 0 30px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1),
                    0 0 50px rgba(212, 175, 55, 0.4);
    }
}

.booking-form-wrapper::before,
.booking-form-wrapper::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
    animation: borderShine 2s ease-in-out infinite;
}

.booking-form-wrapper::before { top: 0; }
.booking-form-wrapper::after  { bottom: 0; }

@keyframes borderShine {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

.booking-form { max-width: 100%; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 30px; position: relative; }

.form-group label {
    position: absolute;
    left: 15px; top: 15px;
    color: rgba(212, 175, 55, 0.7);
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 5px;
    z-index: 1;
}

.form-group label.floating {
    top: -10px !important;
    left: 10px;
    font-size: 12px !important;
    color: #d4af37 !important;
    background: linear-gradient(to bottom,
                rgba(26, 26, 26, 0.95) 0%,
                rgba(26, 26, 26, 0.95) 50%,
                transparent 100%);
    padding: 0 8px;
}

.form-group label.always-floating {
    top: -10px; left: 10px;
    font-size: 12px;
    color: #d4af37;
    background: rgba(26, 26, 26, 0.95);
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: #f5f5f5;
    font-size: 16px;
    font-family: 'Hero', 'Georgia', serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder,
.form-input::-webkit-input-placeholder,
.form-input::-moz-placeholder,
.form-input:-ms-input-placeholder,
.form-input::-ms-input-placeholder {
    opacity: 0 !important;
    color: transparent !important;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(212, 175, 55, 0.05) inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Date/Time inputs */
.form-input[type="date"],
.form-input[type="time"] {
    color-scheme: dark;
    padding-top: 25px;
    padding-bottom: 10px;
    position: relative;
}

.form-input[type="date"]:not(:focus):not(:valid),
.form-input[type="time"]:not(:focus):not(:valid) {
    color: transparent !important;
}

.form-input[type="date"]::-webkit-datetime-edit,
.form-input[type="time"]::-webkit-datetime-edit {
    color: transparent;
}

.form-input[type="date"]:focus::-webkit-datetime-edit,
.form-input[type="time"]:focus::-webkit-datetime-edit,
.form-input[type="date"]:valid::-webkit-datetime-edit,
.form-input[type="time"]:valid::-webkit-datetime-edit {
    color: #f5f5f5 !important;
}

.form-input[type="date"]::-webkit-datetime-edit-text,
.form-input[type="date"]::-webkit-datetime-edit-month-field,
.form-input[type="date"]::-webkit-datetime-edit-day-field,
.form-input[type="date"]::-webkit-datetime-edit-year-field,
.form-input[type="time"]::-webkit-datetime-edit-text,
.form-input[type="time"]::-webkit-datetime-edit-hour-field,
.form-input[type="time"]::-webkit-datetime-edit-minute-field,
.form-input[type="time"]::-webkit-datetime-edit-ampm-field {
    color: inherit;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator,
.form-input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(5) hue-rotate(5deg);
    cursor: pointer;
    opacity: 1;
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.btn-submit:active { transform: scale(0.98); }

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-5px); }
    75%      { transform: translateX(5px); }
}

/* --- Trust indicators --- */
.booking-trust {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    flex-wrap: wrap;
}

.booking-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(212, 175, 55, 0.7);
    font-size: 13px;
}

.booking-trust-item svg {
    color: #d4af37;
    flex-shrink: 0;
}

/* --- Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show { bottom: 30px; }

.toast-content {
    background: linear-gradient(135deg, #d4af37, #b59567);
    color: #1a1a1a;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 350px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.toast-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.2);
    border-radius: 50%;
}

.toast-icon svg { color: #1a1a1a; }
.toast-message { flex: 1; font-size: 16px; font-weight: 500; line-height: 1.4; }

.toast-close {
    flex-shrink: 0;
    background: none; border: none;
    color: #1a1a1a;
    font-size: 28px; line-height: 1;
    cursor: pointer; padding: 0;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.toast-close:hover { transform: scale(1.2); }
