:root {
    --company-primary: #0d6efd;
    --company-dark: #174a7e;
    --page-bg: #f6f8fa;
}


body {
    background: var(--page-bg);
    color: #212529;
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* HEADER */

.company-header {
    background: white;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 0;
}


.company-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}


.header-title {
    margin-left: 14px;
    color: var(--company-dark);
}


.header-title small {
    color: #6c757d;
}


/* MAIN */

.chat-container {
    max-width: 900px;
    margin: 30px auto;
}


/* WELCOME */

.welcome-panel {
    background: white;
    border: 1px solid #e3e6e8;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
}


.example-title {
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}


.example-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.example-question {
    text-align: left;
}


/* CHAT */

.chat-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.message {
    display: flex;
}


.message.user {
    justify-content: flex-end;
}


.message.assistant {
    justify-content: flex-start;
}


.message-content {
    max-width: 80%;
    padding: 13px 17px;
    border-radius: 12px;
    line-height: 1.55;
}


.message.user .message-content {
    background: var(--company-primary);
    color: white;
    border-bottom-right-radius: 4px;
}


.message.assistant .message-content {
    background: white;
    border: 1px solid #e1e5e8;
    border-bottom-left-radius: 4px;
}


/* SOURCE */

.source-box {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
    font-size: 0.85rem;
    color: #6c757d;
}


/* LOADING */

.loading-message {
    margin: 15px 5px;
    color: #6c757d;
    font-size: 0.9rem;
}


/* INPUT */

.chat-input-area {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 12px;
    margin-top: 20px;
}


.chat-input-area textarea {
    resize: none;
    border: none;
    box-shadow: none !important;
}


.input-hint {
    font-size: 0.75rem;
    color: #8a8f94;
    margin-top: 6px;
    padding-left: 4px;
}


/* FOOTER */

.footer {
    text-align: center;
    color: #8a8f94;
    font-size: 0.75rem;
    padding: 20px;
}


/* MOBILE */

@media (max-width: 576px) {

    .chat-container {
        margin: 15px auto;
    }

    .welcome-panel {
        padding: 20px;
    }

    .message-content {
        max-width: 90%;
    }

    .company-logo {
        height: 40px;
    }
}