/* Contact Form 7 - Booking Form Custom Styles - Blended with Theme */

/* Form Container with Theme Blue Gradient Background */
.booking-form-wrapper {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 1400px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

/* Form Title */
.booking-form-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.booking-form-cf7 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form-cf7 label {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.booking-form-cf7 input[type="text"],
.booking-form-cf7 input[type="email"],
.booking-form-cf7 input[type="tel"],
.booking-form-cf7 input[type="date"],
.booking-form-cf7 input[type="time"],
.booking-form-cf7 input[type="number"],
.booking-form-cf7 select,
.booking-form-cf7 textarea {
    margin-top: 0.5rem;
    padding: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.booking-form-cf7 input:focus,
.booking-form-cf7 select:focus,
.booking-form-cf7 textarea:focus {
    outline: none;
    border-color: #4db8ac;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(77, 184, 172, 0.1);
}

.booking-form-cf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.booking-form-cf7 textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 120px;
}

/* Submit Button - Theme Accent Orange/Amber Color */
.booking-form-cf7 input[type="submit"] {
    grid-column: span 3;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #ffffff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 280px;
    margin: 1rem auto 0;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.booking-form-cf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    color: #ffffff !important;
}

.wpcf7-mail-sent-ok {
    background: #10b981 !important;
    border: none !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #ef4444 !important;
    border: none !important;
}

/* CF7 Validation Errors */
.wpcf7-not-valid-tip {
    color: #fee2e2;
    background: #991b1b;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.wpcf7-not-valid {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* CF7 Spinner */
.wpcf7 form.submitting .wpcf7-submit {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-form-title {
        font-size: 2rem;
    }

    .booking-form-wrapper {
        padding: 2rem 1rem;
    }

    .booking-form-cf7 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .booking-form-cf7 input[type="submit"] {
        grid-column: span 1;
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .booking-form-title {
        font-size: 2.5rem;
    }

    .booking-form-cf7 {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking-form-cf7 input[type="submit"] {
        grid-column: span 2;
    }
}
