/* =====================================================
   ULLA – Chatbot Design
   Version: 2.0 – Frag Manty
   Autor: Martin Gensert
   ===================================================== */


/* =====================================================
   Chatfenster
   ===================================================== */

#se-chat-panel {
    width: 700px !important;
    height: 900px !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
}


/* =====================================================
   Kopfbereich
   ===================================================== */

#se-chat-header {
    min-height: 70px !important;
    padding: 15px !important;
}


/* Avatar im Kopfbereich */

.se-chat-avatar {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
}

.se-chat-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* Überschrift im Kopfbereich */

.se-chat-header-title {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.se-chat-header-status {
    font-size: 14px !important;
}


/* =====================================================
   Nachrichtenbereich
   ===================================================== */

#se-chat-messages {
    padding: 20px !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}


/* Gesamter Nachrichtentext */

#se-chat-messages * {
    font-size: 18px !important;
    line-height: 1.7 !important;
}


/* Nachrichtenblasen */

.se-chat-msg-content {
    padding: 12px 16px !important;
    border-radius: 15px !important;
}


/* =====================================================
   Eingabebereich
   ===================================================== */

#se-chat-input-area {
    padding: 12px !important;
}


/* Eingabefeld */

#se-chat-input {
    font-size: 18px !important;
    min-height: 50px !important;
    padding: 10px !important;
}


/* =====================================================
   Senden-Button
   ===================================================== */

#se-chat-send {
    width: 52px !important;
    height: 52px !important;
}


/* =====================================================
   Fußbereich
   ===================================================== */

.se-chat-footer,
#se-chat-footer {
    font-size: 16px !important;
}


/* =====================================================
   Manty-Chatbutton
   ===================================================== */

#se-chat-bubble {
    width: 220px !important;
    height: 72px !important;
    min-width: 220px !important;
    min-height: 72px !important;

    padding: 6px 20px 6px 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 13px !important;

    border-radius: 40px !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;

    background: #2e486b !important;
    color: #ffffff !important;

    box-sizing: border-box !important;
    overflow: visible !important;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30) !important;

    font-family: Arial, sans-serif !important;
    cursor: pointer !important;

    transition:
        transform 0.20s ease,
        box-shadow 0.20s ease !important;
}


/* Vorhandenes Standardsymbol ausblenden */

#se-chat-bubble > i,
#se-chat-bubble > svg,
#se-chat-bubble > img,
#se-chat-bubble > span {
    display: none !important;
}


/* Manty-Bild links im Button */

#se-chat-bubble::before {
    content: "" !important;

    display: block !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    flex: 0 0 58px !important;

    border-radius: 50% !important;
    border: 2px solid #ffffff !important;

    background-image:
        url("https://www.mwpkomsoft.de/joomla3/images/Manty_Avatar_2MB.jpg") !important;

    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;

    box-sizing: border-box !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}


/* Beschriftung */

#se-chat-bubble::after {
    content: "Frag Manty" !important;

    display: block !important;
    white-space: nowrap !important;

    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
}


/* Hover-Effekt */

#se-chat-bubble:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 11px 30px rgba(0, 0, 0, 0.38) !important;
}


/* Plugin-Ausblendung weiterhin ermöglichen */

#se-chat-bubble.se-chat-bubble-hidden {
    transform: scale(0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =====================================================
   Responsive Darstellung
   ===================================================== */

@media (max-width: 768px) {

    #se-chat-panel {
        width: 95vw !important;
        height: 90vh !important;
    }

    #se-chat-bubble {
        width: 184px !important;
        height: 62px !important;
        min-width: 184px !important;
        min-height: 62px !important;

        padding: 5px 15px 5px 6px !important;
        gap: 10px !important;
    }

    #se-chat-bubble::before {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        flex-basis: 50px !important;
    }

    #se-chat-bubble::after {
        font-size: 19px !important;
    }
}