/* 
   VisaSpot Booking Form Styles
   Complements the main site styles
*/

/* Booking Intro Section */
.booking-intro {
    padding: 60px 0;
    background-color: white;
}

.booking-intro h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: flex-start;
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.step-content p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Booking Section */
.booking-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.booking-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.booking-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.booking-header h3 {
    color: white;
    margin-bottom: 0;
}

/* Form Sections */
#booking-form {
    padding: 30px;
}

.form-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .form-sections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #schedule-section {
        grid-column: span 2;
    }
}

/* Form Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 91, 150, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: #004b7d;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--success-color);
}

.success-message p {
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-message .cta-btn {
    display: inline-block;
    margin-top: 20px;
}

/* Error Messages */
.error-container {
    background-color: rgba(244, 67, 54, 0.1);
    border-left: 4px solid var(--error-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.error-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.error-list li {
    color: var(--error-color);
    margin-bottom: 5px;
}

.error-list li:last-child {
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-info {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--light-text);
}

.contact-card a {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .booking-header h3 {
        font-size: 1.2rem;
    }
    
    #booking-form {
        padding: 20px 15px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
}
/* reCAPTCHA Section Styling */
#recaptcha-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

#recaptcha-section .form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}

/* Error styling for reCAPTCHA */
.recaptcha-error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 10px;
    display: block;
    text-align: center;
}