body {
    background: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.navbar { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.bg-primary { background-color: #2A2774 !important; }

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}
.stat-card .num {
    font-size: 2rem;
    font-weight: 700;
    color: #2A2774;
}
.stat-card .label {
    font-size: .85rem;
    color: #6c757d;
}

/* Login pages */
.login-body {
    background: linear-gradient(135deg, #2A2774 0%, #4a3f9f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}
.login-card {
    padding: 2rem;
}
.login-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2A2774;
    letter-spacing: -.5px;
}

/* Chat bubbles */
.chat-bubble {
    max-width: 80%;
    padding: .75rem 1rem;
    border-radius: 12px;
    margin-bottom: .5rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.chat-in {
    background: #e9ecef;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-out {
    background: #2A2774;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-thread {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.chat-meta {
    font-size: .75rem;
    color: #6c757d;
}
