:root {
    --bg-color: #1a1a24;
    --card-bg: #252533;
    --primary: #7264EA;
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --danger: #ff4d4d;
}

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

ul {
    list-style: none;
}

body {
    display: flex;
    font-family: 'Inter', sans-serif;
    /* 16px -> 11px */
    font-size: 12.8px;
    color: white;
    background-color: black;
    /* Same as base: keep the body the size of the visible viewport
       so .site-content (flex: 1) fills under the header. */
    min-height: 100vh;
    min-height: 100dvh;
}

/* --- Utilitários --- */
.green { color: #34d399; }
.orange { color: #F5A623; }
.gray { color: #c5c4c4; }
.display-none { display: none !important; }

/* --- Header / Sidebar --- */

.svg-logo {
    /* 48px -> 32px */
    width: 38.4px;
    height: 38.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(166, 144, 16);
    background-color: rgb(22, 19, 32);
    /* 1rem -> 0.67rem */
    padding: 0.804rem;
    position: relative;
    border-radius: 7.2px;
    border: 1px solid rgba(134, 98, 255, 0.2);
    box-shadow: 0 0 1px rgba(238, 255, 5, 0.4), inset 0 0 2px rgba(238, 255, 5, 0.2);
}

.svg-logo svg {
    position: absolute;
    /* 24px -> 16px */
    width: 19.2px;
    height: 19.2px;
}

.text-logo {
    /* 25px -> 17px */
    font-size: 20.4px;
    font-weight: 700;
}

/* Botão Hamburger (Mobile) */

/* Translações ajustadas (4.5px -> 3px) */

/* --- Sidebar colapsável (mini-sidebar) ---
   Só os ajustes de escala deste breakpoint; o comportamento vem de styles.css.
   Aqui o header tem padding 1rem (não 1.6rem), então a faixa fecha um pouco
   mais e o calc do .logo acompanha. */

/* --- Navegação --- */

/* --- Perfil --- */

/* --- Conteúdo Principal --- */
.site-content {
    width: 100%;
    background-color: #161320;
    /* Same rationale as base styles.css: grow to fill remaining
       space so the page background extends to the bottom of the
       viewport even when the active section is empty. */
    flex: 1;
}

.content-header {
    padding: 1.42rem 2rem;
    background-color: rgb(31 29 43 / 0.5);
    border-bottom: 2px solid rgb(255 255 255 / 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sistema {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 0.6rem -> 0.4rem */
    gap: 0.48rem;
    color: #34d399;
    border-radius: 80.4px;
    /* 10px 15px -> 7px 10px */
    padding: 8.4px 12px;
    border: 1px solid rgb(52 211 153 / 0.3);
    background-color: rgb(52 211 153 / 0.1);
}

.sistema svg {
    /* 12px -> 8px */
    width: 9.6px;
    height: 9.6px;
    fill: #34d399;
}

/* --- Container e Títulos Internos --- */
.container-1700 {
    margin: 0 auto;
    width: 100%;
    /* 1700px -> 1140px */
    max-width: 1360px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /* 40px -> 27px */
    gap: 32px;
}

.sub-header {
    /* 2rem -> 1.34rem */
    padding: 0 0 1.6rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgb(255 255 255 / 0.1);
}

.sub-header-text {
    display: flex;
    flex-direction: column;
    /* 0.5rem -> 0.35rem */
    gap: 0.42rem;
}

.sub-header-text h2 { font-size: 38.4px; }
.sub-header-text p { font-size: 16px; }

#close-btn {
    /* 32px -> 21.5px */
    width: 25.8px;
    height: 25.8px;
    color: #c5c4c4;
    transition: color 0.1s ease;
    cursor: pointer;
}

#close-btn:hover {
    color: white;
}

/* ============================
   1500–1200px: aba Comparar (date range pickers)
   Largura ainda confortável, mas o par de inputs de data + separador
   precisa de uma folga um pouco menor que em telas full HD para não deixar
   o card "PERIODO A/B" desproporcionalmente largo. */
.prazosDiv {
    gap: 24px;
}

.selecionar-prazo {
    max-width: 340px;
}
