/* Floating Contact Banner Styles */

.floating-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    color: #333333;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    width: 290px;
    min-height: 150px;
    max-width: 290px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.floating-banner.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.banner-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #666666;
    font-size: 24px;
    line-height: 24px;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    transition: none !important;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.banner-close:hover,
.banner-close:focus,
.banner-close:active,
.banner-close:visited {
    background: transparent !important;
    color: #666666 !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    top: 12px;
    right: 12px;
}

.banner-title {
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

.banner-subtitle {
    margin: 0 0 12px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
}

.banner-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.banner-phone:hover {
    transform: scale(1.02);
}

.phone-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #4A90E2;
}

.phone-number {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.phone-number:hover {
    color: #4A90E2;
}

/* Calendar Button Styles */
.banner-cta {
    margin: 12px 0;
}

.calendar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #4A90E2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.calendar-button:hover {
    background: #3a7bc8;
    transform: scale(1.02);
    color: #ffffff;
}

.calendar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.banner-disclaimer {
    margin: 12px 0 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #666666;
}

/* Floating Phone Button (shown when banner is closed) */
.floating-phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.floating-phone-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-phone-button svg {
    width: 28px;
    height: 28px;
}

.floating-phone-button.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-banner {
        bottom: 10px;
        right: 10px;
        left: auto;
        width: 290px;
        max-width: calc(100vw - 20px);
        min-height: 150px;
        padding: 20px 25px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-subtitle {
        font-size: 13px;
    }
    
    .phone-number {
        font-size: 22px;
    }
    
    .floating-phone-button {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .floating-phone-button svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .floating-banner {
        padding: 18px 22px;
        width: 280px;
    }
    
    .banner-title {
        font-size: 17px;
    }
    
    .banner-subtitle {
        font-size: 12px;
    }
    
    .banner-phone {
        margin: 10px 0;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .banner-disclaimer {
        font-size: 10px;
    }
}
