:root {
    --primary-purple: #6C63FF;
    --soft-green: #E8F5E9;
    --dark-green: #2E7D32;
    --bg-white: #FFFFFF;
}

.chat-block{
    align-items: center;
    display: flex;
    justify-content: center;
}

.chat-container {
    width: 400px;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.chat-header {
    background: var(--primary-purple);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.status-indicator {
    width: 10px; height: 10px;
    background: #4CAF50;
    border-radius: 50%;
}

.chat-window {
    flex: 1;
    padding: 20px;
    background: var(--bg-white);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 80%;
    padding: 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.model-message {
    align-self: flex-start;
    background: #F3F3F3;
    color: #333;
    border-bottom-left-radius: 2px;
}

.user-message {
    align-self: flex-end;
    background: var(--soft-green);
    color: var(--dark-green);
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #EEE;
    display: flex;
    gap: 10px;
}

.chat-message-input {
    flex: 1;
    border: 1px solid #DDD;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.chat-submit {
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chat-submit:hover { opacity: 0.9; }
