/* Book Meeting Floating Button Styles */
#book-meeting-floating-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: "DM Sans", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none;
    background-color: rgb(249, 168, 37);
    color: rgb(0, 0, 0);
    width: 178px;
    text-align: center;
}

#book-meeting-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#book-meeting-floating-button:focus {
    outline: none;
}

#book-meeting-floating-button:focus-visible {
    outline: none;
}

#book-meeting-floating-button .meeting-text {
    white-space: nowrap;
}

/* Modal Styles */
#book-meeting-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

#book-meeting-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

#book-meeting-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#book-meeting-modal-container {
    position: relative;
    background: transparent;
    border-radius: 8px;
    max-width: 90%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 768px) {
    #book-meeting-modal-container {
        max-width: 600px;
    }
}

#book-meeting-modal-close {
    display: none;
}

#book-meeting-modal-close:active {
    border: none;
    outline: none;
}

#book-meeting-modal-close:focus {
    outline: none;
}

#book-meeting-modal-content {
    padding: 0;
    background: transparent;
}

.meetings-iframe-container {
    width: 100%;
    min-height: 500px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #book-meeting-floating-button {
        bottom: 15px !important;
        right: 15px !important;
        padding: 10px 16px;
        font-size: 13px !important;
        transition: all 0.3s ease, padding 0.3s ease;
    }

    #book-meeting-modal-container {
        max-width: 95%;
        max-height: 95vh;
    }

    #book-meeting-modal-content {
        padding: 0;
    }

    .meetings-iframe-container {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    #book-meeting-floating-button {
        padding: 10px 16px;
        font-size: 13px !important;
    }
}

/* Position buttons side by side on mobile - similar to desktop */
@media (max-width: 768px) {
    #remote-support-floating-button.position-left {
        left: 15px !important;
        right: auto !important;
        bottom: 15px !important;
    }
    
    #book-meeting-floating-button {
        right: 15px !important;
        left: auto !important;
    }
}
