/* Prespa-styled minimal UI */
.prespa-prespa-ui { 
    border: 1px solid #e6eef8;
    padding: 14px;
    background: #ffffff;
    border-radius: 10px;
    max-width: 720px;
    box-shadow: 0 6px 20px rgba(30,115,190,0.06);
    font-family: "Inter", "Open Sans", Arial, sans-serif;
    color: #233044;
}

/* header */
.prespa-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}
.prespa-title { color:#0f3b66; font-size:16px; display:block; }
.prespa-sub { color:#6b7a90; font-size:12px; margin-top:2px; }
.prespa-right { text-align:right; }
.prespa-user { display:block; font-size:13px; color:#0f3b66; }
.prespa-credits { font-size:13px; color:#1e73be; margin-top:4px; }

/* chat box */
.prespa-chat {
    min-height:220px;
    max-height:420px;
    overflow-y:auto;
    padding:12px;
    background: linear-gradient(180deg,#fbfdff,#ffffff);
    border: 1px solid #f1f6fb;
    border-radius:8px;
    margin-bottom:10px;
}

/* message bubbles */
.prespa-msg-user {
    display: inline-block;
    background:#e8f3ff;
    color:#07263d;
    padding:8px 12px;
    margin:8px 0;
    border-radius: 18px 18px 6px 18px;
    float:right;
    clear:both;
    max-width:80%;
}
.prespa-msg-assistant {
    display:inline-block;
    background:#f5f7fb;
    color:#233044;
    padding:8px 12px;
    margin:8px 0;
    border-radius: 18px 18px 18px 6px;
    float:left;
    clear:both;
    max-width:80%;
}

/* controls */
.prespa-controls { display:flex; gap:8px; align-items:center; }
#prespa-msg {
    flex:1;
    padding:10px 12px;
    border:1px solid #e3eef9;
    border-radius:8px;
    font-size:14px;
}
#prespa-send {
    background:#1e73be;
    color:white;
    border:none;
    padding:10px 14px;
    border-radius:8px;
    cursor:pointer;
    box-shadow: 0 4px 12px rgba(30,115,190,0.12);
}

/* status & logged out */
.prespa-status { font-size:13px; color:#6b7a90; margin-top:8px; }
.prespa-logged-out { color:#a00; padding:12px; border:1px solid #fceaea; background:#fff6f6; border-radius:8px; }

/* small responsiveness */
@media (max-width:480px) {
    .prespa-prespa-ui { padding:10px; border-radius:8px; }
    #prespa-send { padding:8px 10px; }
}
