.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height) - 100px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 70%;
}

.chat-message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.chat-message.sent .chat-bubble {
    background: rgba(79, 70, 229, 0.3);
    border-radius: 16px 16px 4px 16px;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border-radius: 12px;
}

.chat-input-area .btn {
    border-radius: 12px;
    padding: 8px 20px;
}

.chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 12px;
}

.chat-empty i {
    font-size: 3rem;
    opacity: 0.3;
}
