* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --primary: #8B4513;
    --primary-dark: #6F3410;

    --background: #f4f7ff;

    --white: #ffffff;

    --text: #1e293b;

    --muted: #64748b;

    --border: #e2e8f0;

}


html,
body {

    width: 100%;
    height: 100%;

}


body {

    font-family:
        "Poppins",
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    height: 100vh;

    overflow: hidden;

    transition:
        background 0.3s ease,
        color 0.3s ease;

}


/* ================================= */
/* APP */
/* ================================= */

.app {

    display: flex;

    width: 100%;

    height: 100vh;

}


/* ================================= */
/* SIDEBAR */
/* ================================= */

.sidebar {

    width: 280px;

    height: 100vh;

    background:
        #ffffff;

    border-right:
        1px solid var(--border);

    padding:
        25px 18px;

    display: flex;

    flex-direction: column;

    position: relative;

    z-index: 1000;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


/* CABEÇALHO */

.sidebar-header {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    padding:
        5px 5px 30px;

}


/* LOGO */

.sidebar-logo {

    width: 190px;

    height: auto;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 6px 10px
            rgba(91, 46, 12, 0.12)
        );

}


/* FECHAR MENU */

.close-menu {

    display: none;

    position: absolute;

    right: 0;

    top: 0;

    width: 34px;

    height: 34px;

    border: none;

    border-radius: 9px;

    background: transparent;

    color: var(--muted);

    font-size: 18px;

    cursor: pointer;

}


/* ================================= */
/* NOVA CONVERSA */
/* ================================= */

.new-chat {

    width: 100%;

    border: none;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #6F3410
        );

    color: white;

    padding: 14px;

    border-radius: 13px;

    font-family:
        "Poppins",
        sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;

    box-shadow:
        0 7px 18px
        rgba(139, 69, 19, 0.2);

}


.new-chat:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 22px
        rgba(139, 69, 19, 0.3);

}


/* ================================= */
/* HISTÓRICO */
/* ================================= */

.history-section {

    margin-top: 25px;

    display: flex;

    flex-direction: column;

    min-height: 0;

    flex: 1;

}


.history-title {

    color:
        var(--muted);

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 10px;

    padding: 0 5px;

}


.history-list {

    display: flex;

    flex-direction: column;

    gap: 6px;

    overflow-y: auto;

    padding-right: 3px;

}


/* ITEM */

.history-item {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        10px;

    border:
        1px solid transparent;

    border-radius:
        10px;

    background:
        transparent;

    color:
        var(--text);

    cursor:
        pointer;

    transition:
        0.2s;

    text-align:
        left;

}


.history-item:hover {

    background:
        #f8fafc;

    border-color:
        var(--border);

}


.history-item.active {

    background:
        #F5E9E0;

    border-color:
        #E4C8B1;

    color:
        #6F3410;

}


/* ÍCONE */

.history-icon {

    flex-shrink: 0;

    font-size: 14px;

}


/* NOME */

.history-name {

    flex: 1;

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 12px;

}


/* EXCLUIR */

.history-delete {

    flex-shrink: 0;

    width: 25px;

    height: 25px;

    border: none;

    border-radius: 7px;

    background:
        transparent;

    color:
        #94a3b8;

    cursor:
        pointer;

    opacity: 0;

    transition:
        0.2s;

}


.history-item:hover
.history-delete {

    opacity: 1;

}


.history-delete:hover {

    background:
        #fee2e2;

    color:
        #dc2626;

}


/* VAZIO */

.history-empty {

    color:
        #94a3b8;

    font-size:
        11px;

    text-align:
        center;

    padding:
        15px 5px;

}


/* ================================= */
/* CARDS */
/* ================================= */

.sidebar-info {

    margin-top: 20px;

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.info-card {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border-radius: 14px;

    background:
        #f8fafc;

    border:
        1px solid #eef2f7;

}


.info-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        white;

    border-radius: 11px;

    font-size: 18px;

}


.info-card strong {

    font-size: 13px;

    font-weight: 600;

}


.info-card p {

    margin-top: 3px;

    font-size: 11px;

    color:
        var(--muted);

}


/* ================================= */
/* CRIADOR */
/* ================================= */

.creator {

    margin-top: 15px;

    padding:
        18px 10px 5px;

    border-top:
        1px solid var(--border);

}


.creator span {

    display: block;

    color:
        var(--muted);

    font-size: 11px;

    margin-bottom: 5px;

}


.creator strong {

    font-size: 13px;

    font-weight: 600;

    color:
        #334155;

}


/* ================================= */
/* CHAT AREA */
/* ================================= */

.chat-area {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    background:
        radial-gradient(
            circle at top right,
            rgba(139, 69, 19, 0.08),
            transparent 35%
        ),
        var(--background);

}


/* ================================= */
/* TOPBAR */
/* ================================= */

.topbar {

    height: 70px;

    padding:
        0 30px;

    background:
        rgba(255, 255, 255, 0.85);

    backdrop-filter:
        blur(10px);

    border-bottom:
        1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: flex-end;

    position: relative;

}


.topbar-actions {

    display: flex;

    align-items: center;

    gap: 18px;

}


/* MENU MOBILE */

.menu-button {

    display: none;

    width: 38px;

    height: 38px;

    border:
        1px solid var(--border);

    border-radius: 11px;

    background:
        white;

    color:
        var(--text);

    cursor:
        pointer;

    font-size: 20px;

    align-items: center;

    justify-content: center;

}


/* TEMA */

.theme-button {

    width: 38px;

    height: 38px;

    border:
        1px solid var(--border);

    border-radius: 11px;

    background:
        white;

    cursor:
        pointer;

    font-size: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.theme-button:hover {

    transform:
        translateY(-2px);

    background:
        #F5E9E0;

}


/* STATUS */

.status {

    display: flex;

    align-items: center;

    gap: 8px;

    color:
        var(--muted);

    font-size: 12px;

}


.status-dot {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background:
        #22c55e;

    box-shadow:
        0 0 0 5px
        rgba(34, 197, 94, 0.12);

}


/* MOBILE BRAND */

.mobile-brand {

    display: none;

}


.mobile-logo {

    width: 120px;

    height: 42px;

    object-fit: contain;

}


/* OVERLAY */

.menu-overlay {

    display: none;

}


/* ================================= */
/* CHAT */
/* ================================= */

.chat-content {

    flex: 1;

    overflow-y: auto;

    padding:
        50px 25px;

}


/* ================================= */
/* WELCOME */
/* ================================= */

.welcome {

    width: 100%;

    max-width: 900px;

    margin: auto;

    text-align: center;

}


.welcome-icon {

    width: 150px;

    height: 150px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

}


.welcome-icon img {

    width: 150px;

    height: 150px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 18px
            rgba(91, 46, 12, 0.20)
        );

}


.welcome h2 {

    font-family:
        "Poppins",
        sans-serif;

    font-size: 32px;

    font-weight: 600;

    margin-bottom: 10px;

}


.welcome > p {

    color:
        var(--muted);

    font-size: 16px;

}


.welcome-description {

    display: block;

    margin-top: 7px;

    color:
        #94a3b8;

    font-size: 13px;

}


/* ================================= */
/* SUGESTÕES */
/* ================================= */

.suggestions {

    width: 100%;

    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    text-align: left;

}


.suggestion {

    border:
        1px solid var(--border);

    background:
        white;

    padding:
        18px;

    border-radius:
        17px;

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    cursor:
        pointer;

    transition:
        0.25s;

    color:
        var(--text);

    font-family:
        "Poppins",
        sans-serif;

}


.suggestion:hover {

    transform:
        translateY(-3px);

    border-color:
        #D2B19A;

    box-shadow:
        0 12px 25px
        rgba(15, 23, 42, 0.08);

}


.suggestion > span {

    width:
        45px;

    height:
        45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        #F5E9E0;

    border-radius:
        13px;

    font-size:
        22px;

}


.suggestion strong {

    display:
        block;

    font-size:
        14px;

}


.suggestion small {

    display:
        block;

    margin-top:
        5px;

    color:
        var(--muted);

    font-size:
        11px;

}


/* ================================= */
/* MENSAGENS */
/* ================================= */

.message {

    max-width:
        900px;

    margin:
        0 auto 22px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        12px;

    animation:
        messageAppear 0.3s ease;

}


.message.user {

    justify-content:
        flex-end;

}


.message-avatar {

    width:
        38px;

    height:
        38px;

    flex-shrink:
        0;

    border-radius:
        12px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    font-size:
        17px;

}


.ai-avatar {

    background:
        #EAD7C7;

    padding:
        5px;

    overflow:
        hidden;

}


.ai-avatar img {

    width:
        100%;

    height:
        100%;

    object-fit:
        contain;

    border-radius:
        8px;

}


.user-avatar {

    background:
        linear-gradient(
            135deg,
            #8B4513,
            #6F3410
        );

    color:
        white;

}


.message-content {

    max-width:
        75%;

}


.message-name {

    color:
        var(--muted);

    font-size:
        11px;

    margin-bottom:
        6px;

}


.message-text {

    padding:
        15px 18px;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius:
        17px;

    font-family:
        "Quicksand",
        sans-serif;

    font-size:
        15px;

    font-weight:
        500;

    line-height:
        1.7;

    white-space:
        pre-wrap;

    color:
        #1e293b;

    box-shadow:
        0 4px 15px
        rgba(15, 23, 42, 0.03);

}


.message.user
.message-content {

    order:
        -1;

}


.message.user
.message-text {

    background:
        linear-gradient(
            135deg,
            #8B4513,
            #5C2E0C
        );

    color:
        white;

    border:
        none;

    border-bottom-right-radius:
        5px;

}


.message.ai
.message-text {

    border-bottom-left-radius:
        5px;

}


.message-text strong {

    font-weight:
        700;

}


.message-text em {

    font-style:
        italic;

}


.message-text h1,
.message-text h2,
.message-text h3 {

    font-family:
        "Poppins",
        sans-serif;

    margin-top:
        14px;

    margin-bottom:
        8px;

    color:
        #6F3410;

}


.message-text h1 {

    font-size:
        21px;

}


.message-text h2 {

    font-size:
        18px;

}


.message-text h3 {

    font-size:
        16px;

}


.message-text ul,
.message-text ol {

    margin:
        8px 0;

    padding-left:
        22px;

}


.message-text li {

    margin:
        4px 0;

}


.message-text code {

    background:
        #F5E9E0;

    color:
        #6F3410;

    padding:
        2px 6px;

    border-radius:
        5px;

    font-family:
        Consolas,
        monospace;

    font-size:
        13px;

}



/* ================================= */
/* TABELAS MARKDOWN */
/* ================================= */

.markdown-table-wrapper {

    width: 100%;

    max-width: 100%;

    margin:
        14px 0;

    overflow-x: auto;

    overflow-y: hidden;

    -webkit-overflow-scrolling:
        touch;

    border:
        1px solid #E4C8B1;

    border-radius:
        13px;

    background:
        #ffffff;

    box-shadow:
        0 4px 14px
        rgba(91, 46, 12, 0.07);

}


.markdown-table {

    width: 100%;

    min-width: 560px;

    border-collapse:
        separate;

    border-spacing:
        0;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size:
        13px;

    line-height:
        1.55;

}


.markdown-table th {

    padding:
        12px 14px;

    background:
        #F5E9E0;

    color:
        #6F3410;

    font-weight:
        700;

    text-align:
        left;

    border-bottom:
        1px solid #E4C8B1;

    white-space:
        nowrap;

}


.markdown-table td {

    padding:
        11px 14px;

    color:
        #334155;

    background:
        #ffffff;

    border-bottom:
        1px solid #eee3da;

    vertical-align:
        top;

}


.markdown-table tbody tr:last-child td {

    border-bottom:
        none;

}


.markdown-table tbody tr:nth-child(even) td {

    background:
        #FCF8F5;

}


.markdown-table tbody tr:hover td {

    background:
        #F8EFE9;

}


.markdown-table th:first-child {

    border-top-left-radius:
        12px;

}


.markdown-table th:last-child {

    border-top-right-radius:
        12px;

}


.markdown-table code {

    white-space:
        nowrap;

}


body.dark-mode .markdown-table-wrapper {

    border-color:
        #5C3A25;

    background:
        #211d1a;

    box-shadow:
        0 4px 16px
        rgba(0, 0, 0, 0.18);

}


body.dark-mode .markdown-table th {

    background:
        #30231b;

    color:
        #E2B896;

    border-color:
        #5C3A25;

}


body.dark-mode .markdown-table td {

    background:
        #211d1a;

    color:
        #e7e5e4;

    border-color:
        #3b322c;

}


body.dark-mode .markdown-table tbody tr:nth-child(even) td {

    background:
        #251f1b;

}


body.dark-mode .markdown-table tbody tr:hover td {

    background:
        #30231b;

}


@media (max-width: 700px) {

    .markdown-table-wrapper {

        margin:
            12px 0;

        border-radius:
            11px;

    }


    .markdown-table {

        min-width:
            520px;

        font-size:
            12px;

    }


    .markdown-table th,
    .markdown-table td {

        padding:
            9px 11px;

    }

}


/* ================================= */
/* DIGITANDO */
/* ================================= */

.typing {

    display:
        flex;

    gap:
        5px;

    align-items:
        center;

    padding:
        5px 0;

}


.typing span {

    width:
        7px;

    height:
        7px;

    background:
        #64748b;

    border-radius:
        50%;

    animation:
        typing 1.2s infinite;

}


.typing span:nth-child(2) {

    animation-delay:
        0.15s;

}


.typing span:nth-child(3) {

    animation-delay:
        0.3s;

}


@keyframes typing {

    0%,
    60%,
    100% {

        transform:
            translateY(0);

        opacity:
            0.4;

    }

    30% {

        transform:
            translateY(-5px);

        opacity:
            1;

    }

}


/* ================================= */
/* INPUT */
/* ================================= */

.input-area {

    padding:
        15px 25px 22px;

    background:
        linear-gradient(
            transparent,
            var(--background) 25%
        );

}


.input-container {

    max-width:
        900px;

    margin:
        auto;

    background:
        white;

    border:
        1px solid var(--border);

    border-radius:
        18px;

    padding:
        8px;

    display:
        flex;

    align-items:
        flex-end;

    box-shadow:
        0 10px 35px
        rgba(15, 23, 42, 0.08);

}


.input-container:focus-within {

    border-color:
        #C08A63;

}


textarea {

    flex:
        1;

    resize:
        none;

    border:
        none;

    outline:
        none;

    background:
        transparent;

    padding:
        12px 13px;

    font-family:
        "Inter",
        sans-serif;

    font-size:
        14px;

    color:
        var(--text);

    max-height:
        120px;

}


textarea::placeholder {

    color:
        #94a3b8;

}


.mic-button {

    width:
        44px;

    height:
        44px;

    border:
        none;

    border-radius:
        13px;

    background:
        transparent;

    color:
        #64748b;

    font-size:
        20px;

    cursor:
        pointer;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;

    margin-right:
        4px;

}


.mic-button:hover {

    background:
        rgba(192, 138, 99, 0.12);

    color:
        #8B4513;

    transform:
        scale(1.05);

}


.mic-button.listening {

    background:
        linear-gradient(
            135deg,
            #c45c26,
            #8B4513
        );

    color:
        white;

    animation:
        mic-pulse 1.4s ease-in-out infinite;

}


.mic-button.listening:hover {

    background:
        linear-gradient(
            135deg,
            #d46a30,
            #9a5020
        );

    color:
        white;

}


@keyframes mic-pulse {

    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(196, 92, 38, 0.45);
        transform:
            scale(1);
    }

    50% {
        box-shadow:
            0 0 0 10px rgba(196, 92, 38, 0);
        transform:
            scale(1.06);
    }

}


.send-button {

    width:
        44px;

    height:
        44px;

    border:
        none;

    border-radius:
        13px;

    background:
        linear-gradient(
            135deg,
            #8B4513,
            #5C2E0C
        );

    color:
        white;

    font-size:
        18px;

    cursor:
        pointer;

    flex-shrink:
        0;

}


.send-button:hover {

    transform:
        translateY(-2px)
        scale(1.03);

}


.send-button:disabled {

    opacity:
        0.5;

    cursor:
        not-allowed;

}


/* ================================= */
/* COPIAR */
/* ================================= */

.copy-button {

    margin-top:
        9px;

    padding:
        6px 11px;

    border:
        1px solid var(--border);

    border-radius:
        8px;

    background:
        white;

    color:
        #64748b;

    font-size:
        11px;

    cursor:
        pointer;

}


.copy-button:hover {

    background:
        #F5E9E0;

    color:
        #6F3410;

}


.copy-button.copied {

    background:
        #f0fdf4;

    color:
        #16a34a;

}



/* ================================= */
/* AÇÕES DAS MENSAGENS */
/* ================================= */

.message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.message-actions button {
    margin-top: 0;
}

.regenerate-button,
.stop-button,
.study-mode-button {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
    padding: 6px 11px;
    transition: 0.2s ease;
}

.regenerate-button:hover,
.stop-button:hover,
.study-mode-button:hover {
    background: #F5E9E0;
    color: #6F3410;
    transform: translateY(-1px);
}

.regenerate-button:disabled,
.stop-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.study-mode-button {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.study-mode-button.active {
    background: #F5E9E0;
    border-color: #C08A63;
    color: #6F3410;
}

.ai-callout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid #E4C8B1;
    border-radius: 12px;
    background: #FCF8F5;
}

.ai-callout-icon {
    font-size: 17px;
    line-height: 1.4;
}

.ai-callout strong {
    color: #6F3410;
}

body.dark-mode .regenerate-button,
body.dark-mode .stop-button,
body.dark-mode .study-mode-button {
    background: #211d1a;
    border-color: #4b392d;
    color: #c9a88f;
}

body.dark-mode .regenerate-button:hover,
body.dark-mode .stop-button:hover,
body.dark-mode .study-mode-button:hover,
body.dark-mode .study-mode-button.active {
    background: #30231b;
    border-color: #8f6748;
    color: #e2b896;
}

body.dark-mode .ai-callout {
    background: #211d1a;
    border-color: #5c3a25;
}

body.dark-mode .ai-callout strong {
    color: #e2b896;
}

/* ================================= */
/* DISCLAIMER */
/* ================================= */

.disclaimer {

    max-width:
        900px;

    margin:
        9px auto 0;

    text-align:
        center;

    font-size:
        10px;

    color:
        #94a3b8;

}


/* ================================= */
/* ANIMAÇÕES */
/* ================================= */

@keyframes messageAppear {

    from {

        opacity:
            0;

        transform:
            translateY(8px);

    }

    to {

        opacity:
            1;

        transform:
            translateY(0);

    }

}


/* ================================= */
/* DARK MODE */
/* ================================= */

body.dark-mode {

    --background:
        #12100f;

    --white:
        #1b1816;

    --text:
        #f5f5f5;

    --muted:
        #a8a29e;

    --border:
        #302a26;

}


body.dark-mode .sidebar {

    background:
        #1b1816;

    border-color:
        var(--border);

}


body.dark-mode .info-card {

    background:
        #211d1a;

    border-color:
        #302a26;

}


body.dark-mode .info-icon {

    background:
        #2a2420;

}


body.dark-mode .creator {

    border-color:
        var(--border);

}


body.dark-mode .creator strong {

    color:
        #d6d3d1;

}


body.dark-mode .chat-area {

    background:
        radial-gradient(
            circle at top right,
            rgba(139, 69, 19, 0.18),
            transparent 35%
        ),
        var(--background);

}


body.dark-mode .topbar {

    background:
        rgba(27, 24, 22, 0.88);

    border-color:
        var(--border);

}


body.dark-mode .theme-button,
body.dark-mode .menu-button {

    background:
        #211d1a;

    border-color:
        #3b322c;

    color:
        white;

}


body.dark-mode .suggestion {

    background:
        #1b1816;

    border-color:
        var(--border);

    color:
        #f5f5f5;

}


body.dark-mode .suggestion > span {

    background:
        #30231b;

}


body.dark-mode .message-text {

    background:
        #211d1a;

    border-color:
        var(--border);

    color:
        #f5f5f5;

}


body.dark-mode .message-text h1,
body.dark-mode .message-text h2,
body.dark-mode .message-text h3 {

    color:
        #D2A17D;

}


body.dark-mode .message-text code {

    background:
        #30231b;

    color:
        #E2B896;

}


body.dark-mode .input-container {

    background:
        #1b1816;

    border-color:
        var(--border);

}


body.dark-mode textarea {

    color:
        white;

}


body.dark-mode .mic-button {

    color:
        #a8a29e;

}


body.dark-mode .mic-button:hover {

    background:
        rgba(192, 138, 99, 0.18);

    color:
        #E2B896;

}


body.dark-mode .mic-button.listening {

    background:
        linear-gradient(
            135deg,
            #c45c26,
            #8B4513
        );

    color:
        white;

}


body.dark-mode .copy-button {

    background:
        #211d1a;

    border-color:
        #3b322c;

    color:
        #a8a29e;

}


/* HISTÓRICO DARK */

body.dark-mode .history-item {

    color:
        #e7e5e4;

}


body.dark-mode .history-item:hover {

    background:
        #211d1a;

    border-color:
        #302a26;

}


body.dark-mode .history-item.active {

    background:
        #30231b;

    border-color:
        #5c3a25;

    color:
        #E2B896;

}


/* ================================= */
/* MOBILE */
/* ================================= */

@media (max-width: 700px) {

    body {

        overflow:
            hidden;

    }


    /* SIDEBAR */

    .sidebar {

        position:
            fixed;

        left:
            0;

        top:
            0;

        width:
            290px;

        height:
            100vh;

        transform:
            translateX(-100%);

        box-shadow:
            10px 0 35px
            rgba(0, 0, 0, 0.15);

        z-index:
            1000;

    }


    .sidebar.mobile-open {

        transform:
            translateX(0);

    }


    .close-menu {

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

    }


    /* OVERLAY */

    .menu-overlay {

        position:
            fixed;

        inset:
            0;

        background:
            rgba(0, 0, 0, 0.45);

        z-index:
            900;

        opacity:
            0;

        pointer-events:
            none;

        display:
            block;

        transition:
            opacity 0.3s ease;

    }


    .menu-overlay.active {

        opacity:
            1;

        pointer-events:
            auto;

    }


    /* TOPBAR */

    .topbar {

        height:
            60px;

        padding:
            0 16px;

        justify-content:
            space-between;

    }


    .menu-button {

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

    }


    .mobile-brand {

        display:
            flex;

        align-items:
            center;

        position:
            absolute;

        left:
            50%;

        transform:
            translateX(-50%);

    }


    .mobile-logo {

        width:
            110px;

        height:
            40px;

    }


    .topbar-actions {

        margin-left:
            auto;

        gap:
            8px;

    }


    .theme-button {

        width:
            34px;

        height:
            34px;

        font-size:
            15px;

    }


    .status {

        display:
            none;

    }


    /* CHAT */

    .chat-content {

        padding:
            35px 14px;

    }


    .welcome-icon {

        width:
            100px;

        height:
            100px;

    }


    .welcome-icon img {

        width:
            100px;

        height:
            100px;

    }


    .welcome h2 {

        font-size:
            23px;

    }


    .welcome > p {

        font-size:
            14px;

    }


    .suggestions {

        grid-template-columns:
            1fr;

        margin-top:
            25px;

    }


    .message-content {

        max-width:
            82%;

    }


    .message-text {

        font-size:
            14px;

        line-height:
            1.65;

    }


    /* INPUT */

    .input-area {

        padding:
            10px 12px 15px;

    }


    .disclaimer {

        font-size:
            9px;

    }


    /* HISTÓRICO */

    .history-delete {

        opacity:
            1;

    }

}
