.appzo-main-body {
    width: 100% !important;
    position: relative !important;
    z-index: 100000 !important;
}

@keyframes appzoSlideIn {
    0% {
        transform: translateY(5%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes appzoSlideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(5%);
        opacity: 0;
    }
}

.appzo-bot-modal {
    display: none !important;
    position: fixed !important;
    z-index: 100005 !important;
    width: 376px !important;
    overflow: hidden !important;
    background-color: #fefefe !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 12px !important;
    height: 550px !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(100%);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
}

.appzo-bot-modal.appzo-open {
    display: block !important;
    animation: appzoSlideIn 0.3s ease-out forwards !important;
}

.appzo-bot-modal.appzo-close {
    animation: appzoSlideOut 0.3s ease-out forwards !important;
}

.appzo-modal-body {
    height: 100%;
    width: 100%;
}

#appzo-chat-btn {
    position: fixed !important;
    z-index: 100005 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgb(46, 71, 93) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

#appzo-chat-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#appzo-chat-btn:focus {
    outline: 2px solid #005ccc;
    outline-offset: 2px;
}

#appzo-chat-btn:active {
    transform: scale(0.95);
}

#appzo-bot-profile {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    transition: all 0.3s ease;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .appzo-bot-modal {
        width: calc(100vw - 2rem) !important;
        height: calc(100vh - 6rem) !important;
        left: 1rem !important;
        right: 1rem !important;
        bottom: 5.5rem !important;
        top: auto !important;
        transform: none !important;
    }
    
    .appzo-bot-modal.appzo-open {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    #appzo-chat-btn {
        width: 50px;
        height: 50px;
    }
    
    #appzo-bot-profile {
        width: 24px;
        height: 24px;
    }
    
    .appzo-bot-modal {
        width: calc(100vw - 1rem) !important;
        height: calc(100vh - 4rem) !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        bottom: 4rem !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .appzo-bot-modal,
    #appzo-chat-btn,
    #appzo-bot-profile {
        transition: none !important;
        animation: none !important;
    }
    
    @keyframes appzoSlideIn {
        0%, 100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes appzoSlideOut {
        0%, 100% {
            transform: translateY(0);
            opacity: 0;
        }
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #appzo-chat-btn {
        border: 2px solid white !important;
    }
    
    .appzo-bot-modal {
        border: 2px solid #000 !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .appzo-bot-modal {
        background-color: #1a1a1a !important;
        border: 1px solid #333 !important;
    }
}