*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    padding:0;
}

/* =========================
CHATBOT WRAPPER
========================= */

#eddie-chatbot{
    height:80vh;
    max-height: 700px;
    width:100%;
    display:flex;
    flex-direction:column;
    background:#f7f7f7;
    font-family:"Poppins", Sans-serif;
    overflow:hidden;
}

/* =========================
ELEMENTOR POPUP FIX
========================= */

.elementor-popup-modal .dialog-message{
    padding:0 !important;
    overflow:hidden !important;
}

.elementor-popup-modal .dialog-widget-content{
    overflow:hidden !important;
}

/* =========================
HEADER
========================= */

.eddie-header{
    height:70px;
    min-height:70px;
    background:#253761;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    flex-shrink:0;
}

.eddie-brand{
    display:flex;
    align-items:center;
    gap:14px;
}

.eddie-logo{
    width:36px;
    height:36px;
    border-radius:8px;
    background:#6d93f1;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:16px;
}

.eddie-title{
    color:#fff;
    font-size:18px;
    font-weight:600;
}

.eddie-subtitle{
    color:#aaaaaa;
    font-size:12px;
    margin-top:-3px;
}

#eddie-new-chat{
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

/* =========================
MESSAGES AREA
========================= */

#eddie-messages{
    flex:1;
    overflow-y:auto;
    overflow-x:hidden;
    padding:15px;
    min-height:0;
}

/* =========================
WELCOME
========================= */

.eddie-welcome{
    text-align:center;
    max-width:850px;
    margin:0px auto;
}

.eddie-welcome h2{
    font-size:20px;
    margin-bottom:8px;
    color:#1a1a2e;
}

.eddie-welcome p{
    font-size:14px;
    color:#7A7A8C;
    line-height:1.6;
    margin-bottom:16px;
}

.eddie-suggestions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
}

.eddie-suggestion{
    border:1.5px solid #e0e4f0 !important;
    background:#f6f7f9;
    border-radius:20px !important;
    padding:8px 14px !important;
    cursor:pointer;
    font-size:13px;
    transition:background .15s;
    color:#1a1a2e;
}

.eddie-suggestion:hover{
    background:#10112B;
    color:#fff;
}

/* =========================
CHAT BUBBLES
========================= */

.user{
    display:flex;
    justify-content:flex-end;
    margin-bottom:15px;
}

.user .bubble{
    background:#10112B;
    color:#fff;
    padding:10px 15px;
    border-radius:18px;
    max-width:420px;
    font-size:14px;
    line-height:20px;
}

.bot{
    margin-bottom:24px;
}

.bot .bubble{
    background:#ECECF1;
    color:#10112B;
    padding:10px 15px;
    border-radius:18px;
    line-height:20px;
    font-size:14px;
}

.typing .bubble{
    opacity:.6;
    font-style: italic;
}

/* =========================
INPUT
========================= */

.eddie-input-wrap{
    flex-shrink:0;
    background:#fff;
    border-top:1px solid #e8eaed;
    padding:12px;
    display:flex;
    gap:10px;
    align-items:center;
}

#eddie-input{
    flex:1;
    height:42px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 14px;
    font-size:14px;
    outline:none;
}

#eddie-send{
    height:42px;
    padding:0 20px;
    border:none;
    border-radius:10px;
    background:#6d93f1;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

/* =========================
Meta
========================= */

.eddie-meta{
    margin-top:10px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.eddie-tag{
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
}

.eddie-tag.journey{
    background:#e8f5e9;
    color:#2e7d32;
}

.eddie-tag.pillar{
    background:#e3f2fd;
    color:#1565c0;
}

.eddie-tag.route{
    background:#f3e5f5;
    color:#6a1b9a;
}

.eddie-sources{
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* =========================
MOBILE
========================= */

@media(max-width:767px){
    #eddie-chatbot{
        height:100vh;
        max-height: 100vh;
    }
    
    .eddie-header{
        padding:0 16px;
    }

    #eddie-messages{
        flex: 0.7;
        padding:16px;
    }

    .eddie-welcome{
        margin-top:20px;
    }

    .eddie-welcome h2{
        font-size:26px;
    }

    .eddie-welcome p{
        font-size:16px;
    }

    .eddie-input-wrap{
        padding:16px;
    }

    #eddie-send{
        width:90px;
    }

}