/* SimplyBook.me Smart Widget Container */
.booking-widget-container {
    max-width: 900px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 2px solid #f0f0f0;
    padding: 2rem;
}

#sb_widget {
    width: 100%;
    min-height: 600px;
}

/* Loading State */
.widget-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 3rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #e63946;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.widget-loading p {
    color: #6d7785;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Override Smart Widget Styles to Match Your Brand */
#sb_widget .sb-button-primary {
    background-color: #e63946 !important;
    border-color: #e63946 !important;
}

#sb_widget .sb-button-primary:hover {
    background-color: #d62839 !important;
}

#sb_widget .sb-selected {
    background-color: #e63946 !important;
    border-color: #e63946 !important;
}

@media (max-width: 768px) {
    .booking-widget-container {
        margin: 1rem;
        border-radius: 16px;
        padding: 1.5rem;
    }
    
    #sb_widget {
        min-height: 550px;
    }
}

/* Booking CTA Cards - Landing Page Style */

.booking-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.cta-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.cta-card:hover::before {
    transform: scaleX(1);
}

.cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-whatsapp {
    border-color: rgba(37, 211, 102, 0.2);
}

.cta-whatsapp:hover {
    border-color: #25D366;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.cta-phone {
    border-color: rgba(230, 57, 70, 0.2);
}

.cta-phone:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.cta-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    transition: all 0.4s ease;
}

.cta-whatsapp .cta-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.cta-card:hover .cta-icon {
    transform: scale(1.1) rotate(5deg);
}

.cta-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.cta-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.cta-number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--bg-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Booking Info */
.booking-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Simple Form */
.booking-form-simple {
    display: grid;
    gap: 1.5rem;
}

.booking-form-simple .form-group {
    margin-bottom: 0;
}

.booking-form-simple textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-cta-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-number {
        font-size: 1.25rem;
    }
    
    .booking-info {
        gap: 1.5rem;
    }
}
