/* Add here all your CSS customizations */

.vcenter {
    display: flex;
    align-items: center;
}

/* Floating Chat Icon Styles - Simplified */
#floatingChatBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#floatingChatBtn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

#floatingChatBtn:focus {
    outline: none;
}

/* Chat Box Styles - Simplified */
#chatBox {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: none;
    border: 1px solid #ddd;
}

#chatBox.active {
    display: block;
}

.chat-box-header {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    padding: 20px !important;
    text-align: center !important;
    position: relative !important;
}

.chat-box-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease !important;
}

.chat-box-close:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.chat-box-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
}

.chat-box-subtitle {
    font-size: 14px !important;
    opacity: 0.9 !important;
    margin: 0 !important;
}

.chat-box-body {
    padding: 25px 20px 20px !important;
}

.chat-box-message {
    font-size: 14px !important;
    color: #6c757d !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.chat-option-btn {
    width: 100% !important;
    padding: 15px 12px !important;
    margin: 8px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    color: #495057 !important;
    text-align: center !important;
}

.chat-option-btn:hover {
    border-color: #007bff !important;
    background: #f8f9fa !important;
    color: #007bff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.15) !important;
}

.chat-option-btn:focus {
    text-decoration: none !important;
    outline: none !important;
}

.chat-option-btn i {
    font-size: 20px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.chat-option-btn .btn-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
}

.chat-option-btn .btn-description {
    font-size: 12px !important;
    color: #6c757d !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    .floating-chat-button {
        bottom: 15px !important;
        right: 15px !important;
        width: 55px !important;
        height: 55px !important;
        position: fixed !important;
        z-index: 999999 !important;
    }
    
    .floating-chat-button i {
        font-size: 22px !important;
    }
    
    .chat-box {
        width: calc(100vw - 30px) !important;
        max-width: 300px !important;
        right: 15px !important;
        bottom: 80px !important;
    }
    
    .chat-box-header {
        padding: 15px !important;
    }
    
    .chat-box-body {
        padding: 20px 15px 15px !important;
    }
    
    .chat-option-btn {
        padding: 12px 10px !important;
        margin: 6px 0 !important;
    }
    
    .chat-option-btn .btn-title {
        font-size: 15px !important;
    }
    
    .chat-option-btn .btn-description {
        font-size: 11px !important;
    }
}

/* Ensure floating button is always visible and stays at bottom */
body .floating-chat-button,
html .floating-chat-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure no parent containers can hide the button */
* .floating-chat-button {
    position: fixed !important;
    z-index: 999999 !important;
}

/* Make sure the button stays in viewport */
.floating-chat-button {
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
}