/**
 * CockpitOS Light - Chatbot Modal Base
 * 
 * Verantwortlichkeit: Modal Container Base Styling
 * Komponenten-spezifisches Styling in separaten Dateien
 * 
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

/* ========================================
   Modal Base
   ======================================== */

.cockpit-os-chatbot-modal {
    position: fixed;
    bottom: var(--chatbot-spacing-lg);
    right: var(--chatbot-spacing-lg);
    width: var(--chatbot-modal-width);
    height: var(--chatbot-modal-height);
    max-height: var(--chatbot-modal-max-height);
    background: var(--chatbot-bg);
    border-radius: var(--chatbot-radius-lg);
    box-shadow: var(--chatbot-shadow-xl);
    display: flex;
    flex-direction: column;
    z-index: var(--chatbot-z-index-modal);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity var(--chatbot-transition-normal),
                transform var(--chatbot-transition-normal);
}

.cockpit-os-chatbot-modal--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ========================================
   Overlay
   ======================================== */

.cockpit-os-chatbot-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

/* ========================================
   Container
   ======================================== */

.cockpit-os-chatbot-modal__container {
    width: 100%;
    height: 100%;
    background: var(--chatbot-bg);
    display: flex;
    flex-direction: column;
    border-radius: var(--chatbot-radius-lg);
    overflow: hidden;
}

/* ========================================
   Responsive Base
   ======================================== */

@media (max-width: 768px) {
    .cockpit-os-chatbot-modal {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
}

