#chatgpt-chat-box {
    max-width: 340px;
    border-radius: 16px!important;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* zona mesaje */
#chatgpt-chat-output {
    background: #f5f7fb;
    padding: 12px;
    height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
	  border-radius: 16px!important;
	  margin-bottom: 10px
}

/* mesaj general */
.chat-message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

/* USER (dreapta) */
.user-message {
    align-self: flex-end;
    background: #e3efff;
    color: #222;
    border-bottom-right-radius: 4px;
}

/* BOT (stânga) */
.bot-message {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

/* eroare */
.error-message {
    align-self: center;
    background: #ffe5e5;
    color: #c62828;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
}

/* textarea */
#chatgpt-chat-input {
    border-radius: 14px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

/* buton */
#chatgpt-chat-submit {
    margin-top: 6px;
    border-radius: 999px;
    font-weight: 500;
    transition: 0.2s ease;
}

#chatgpt-chat-submit:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.chat-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.6;
}

.user-message .chat-time {
    text-align: right;
}

.bot-message .chat-time {
    text-align: left;
}
