/* ============================================================
   ATÉ 2030 PRO — TEMA GLOBAL (TraderVue-like)
   Mantém verde #3ddc97 e vermelho #f87171
   ============================================================ */

/* -------------------------
   RESET + FONTE
-------------------------- */
* {
    margin: 0;
    ping: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* -------------------------
   PALETA BASE
   (altere aqui se quiser refinar depois)
-------------------------- */
:root {
    /* FUNDOS */
    --bg-main: #242424;
    --bg-card: #020617;
    --bg-soft: #000000;
    --bg-deep: #26272d;

    /* TEXTO */
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;

    /* IDENTIDADE */
    --rule: #fbbf24; /* amarelo regra */

    /* RESULTADOS */
    --pos: #3ddc97;
    --neg: #f87171;
    --neutral: #64748b;

    /* ESTRUTURA */
    --border: rgba(255,255,255,0.06);

    /* FONTES */
    --font-text: "Inter", system-ui, sans-serif;
    --font-numbers: "JetBrains Mono", monospace;
}




/* -------------------------
   BODY / FUNDO
-------------------------- */
body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-text);
}


/* =========================
   LAYOUT GERAL
========================= */
.app {
    display: flex;
    min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, var(--bg-soft), var(--bg-deep));
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: inset -1px 0 0 var(--border);
    position: relative;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}

.logo span { color: var(--pos); }

/* MENU */
.menu a {
    display: block;
    padding: 12px 16px;
    margin-bottom: 6px;
    color: #cfd3dc;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.menu a:hover { background: rgba(255,255,255,0.06); }
.menu a.active {
    background: rgba(255,255,255,0.08);
    color: var(--pos);
}

/* Botão fixo */
.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 16px;
}
.add-trade-btn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: var(--pos);
    color: #0b0f0e;
    font-weight: 600;
    cursor: pointer;
}

/* =========================
   ÁREA PRINCIPAL
========================= */
.content {
    flex: 1;
    padding: 32px 40px;
}

/* =========================
   TOPO
========================= */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.topbar h1 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.2px;
}
.topbar p {
    color: var(--text-soft);
    font-size: 14px;
    margin-top: 4px;
}

/* =========================
   TÍTULOS
========================= */
.section-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 16px;
}
.section-header {
  color: #f5b25c;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 14px;
}


/* =========================
   CARDS (BASE)
   -> Flat, escuros, estilo SaaS
========================= */
.card,
.chart-card,
.day-card{
  background: linear-gradient(180deg, #0f0f0f, #0b0b0b);
  border-radius:14px;
  padding:12px;
  text-align:center;
  border:1px solid #F5C77A;
  min-height:140px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}






/* =========================
   KPIs
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.card.kpi .label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-muted);
}

.card.kpi .value {
    display: block;
    font-family: var(--font-numbers);
    font-size: 24px;
    font-weight: 600;
    margin-top: 6px;
}


/* Cores de resultado */
.value.positive, .positive { color: var(--pos); }
.value.negative, .negative { color: var(--neg); }
.neutral { color: var(--neutral); }

/* =========================
   CURVA DE CAPITAL
   -> protagonista
========================= */
.chart-card {
    padding: 28px;
    margin-top: 8px;
}
#capitalChart {
    height: 220px !important; /* ajuste aqui (480px se quiser maior) */
    width: 100% !important;
}
canvas {
    width: 100%;
    height: 260px;
    background: transparent;
    border-radius: 12px;
}
.calendar-chart canvas{
  width:100% !important;
  height:100% !important;
}

/* =========================
   CALENDÁRIO / DIAS
========================= */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}
.day-card small {
    opacity: 0.7;
    font-size: 12px;
}
.day-card .pnl {
    font-size: 16px;
    font-weight: 500;
}
.day-card .trades {
    font-size: 12px;
    opacity: 0.7;
}

/* =========================
   ABAS
========================= */
.dashboard-section.hidden { display: none; }
.hidden {
  display: none !important;
}


/* =========================
   FILTROS / TABELA (Trades)
   -> mantém funcional, só harmonizado
========================= */
.filters input,
.filters select,
.filters button {
    background: #0f172a;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
}
.filters button {
    cursor: pointer;
    background: var(--pos);
    color: #000;
    font-weight: 600;
}

.trades-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.trades-table thead {
    background: rgba(255,255,255,0.05);
}
.trades-table th,
.trades-table td {
    padding: 8px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   MODAIS
========================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal.hidden { display: none; }
.modal-content {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    box-shadow:
        inset 0 0 0 1px var(--border),
        0 10px 30px rgba(0,0,0,0.7);
}

/* Botões */
.btn-primary { background: var(--pos); color: #000; border: none; padding: 6px 14px; border-radius: 6px; }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: #ccc; padding: 6px 14px; border-radius: 6px; }
.btn-danger { background: #e5533d; color: #fff; padding: 8px 14px; border-radius: 8px; border: none; }

/* ============================================================
   PATCH — MODAIS & MESES (Até 2030 Pro)
   Corrige:
   - Modal Novo Trade
   - Modal Excluir Trade
   - Botões de mês da aba Trades
   ============================================================ */



.pro-input:focus {
    border-color: #fbbf24 !important;       /* A borda fica amarela */
    outline: none !important;               /* REMOVE A LINHA VERDE/AZUL PADRÃO */
    box-shadow: 0 0 0 1px #fbbf24 !important; /* Cria o brilho amarelo externo */
    background: #000 !important;
}


/* =========================
   2) MODAL — EXCLUIR TRADE
========================= */

#deleteModal .modal-content {
    background: linear-gradient(180deg, #0f172a, #020617);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.06),
        0 40px 90px rgba(0,0,0,0.9);
}

#deleteModal h3 {
    color: #e5e7eb;
    font-size: 18px;
    margin-bottom: 6px;
}

#deleteModal p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 14px;
}

/* Inputs do delete */
#deleteModal input {
    background: #020617;
    border: 1px solid rgba(255,255,255,0.08);
    color: #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

/* Botões */
#deleteModal .btn-danger {
    background: #f87171;
    color: #020617;
    font-weight: 600;
    border-radius: 10px;
}

#deleteModal .btn-secondary {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
}



/* =========================
   3) BOTÕES DE MESES (Trades)
========================= */

.month-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 28px 0 16px 0;
    flex-wrap: wrap;
}

.month-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.15s ease;
}

.month-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #e5e7eb;
}

.month-btn.active {
    background: #fbbf24;
    color: #020617;
    border-color: #fbbf24;
    font-weight: 600;
}
.progress {
    height: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: 8px;
    transition: width 0.4s ease, background 0.3s ease;
}
.week-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.day-tile {
    background: #0f172a;
    border-radius: 14px;
    padding: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    text-align: center;
}

.day-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.day-pnl {
    font-size: 16px;
    font-weight: 600;
}

.day-trades {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.day-pct {
    font-size: 11px;
    margin-top: 6px;
    color: #94a3b8;
}
.status-ok {
    color: var(--pos);
}

.status-warn {
    color: var(--rule);
}

.status-bad {
    color: var(--neg);
}
/* =========================
   INDICADOR DE CAMINHO
========================= */
.path-indicator {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 24px;
    background: var(--bg-card);
}

.path-indicator .title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.path-item .label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.path-item .value {
    font-family: var(--font-numbers);
    font-size: 22px;
    font-weight: 600;
}

.path-status {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
}
/* =========================
   INDICADOR DE CAMINHO — REFINO VISUAL
========================= */

/* container mais firme */
.path-indicator {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* título com identidade */
.path-indicator .title {
    color: var(--rule);
    font-weight: 600;
}

/* grid mais compacto e legível */
.path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* valores ganham peso */
.path-item .value {
    font-size: 26px;
}

/* STATUS = protagonista */
.path-item .value.status-ok,
.path-item .value.status-warn,
.path-item .value.status-bad {
    font-size: 22px;
    letter-spacing: 0.04em;
}

/* linha inferior mais discreta */
.path-status {
    font-size: 12px;
    color: var(--text-muted);
}

/* destaque sutil de regra */
.path-indicator {
    box-shadow: inset 3px 0 0 var(--rule);
}
/* ========== VISÃO GERAL — LAYOUT ========== */

.destino-banner {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: var(--bg-card);
}

.destino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.destino-texto {
  font-size: 14px;
  color: var(--text-main);
}

/* Grids de cards */
.progresso-grid,
.processo-grid,
.saude-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.ref {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* =========================
   VISÃO GERAL - BASE (CORRIGIDO)
========================= */

.visao-geral {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARTÃO BASE */
.card {
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  padding: 16px 18px;
}

/* =========================
   BLOCO B — INDICADOR DO CAMINHO
========================= */

.bloco-b {
  background: #0f0f0f;
  border: 2px solid #f5c77a;   /* sua borda amarela */
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Título do bloco */
.bloco-b .title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #b0b0b0;
  margin-bottom: 6px;
}

/* Linha dos indicadores */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Cada item dentro do caminho */
.path-item {
  text-align: center;
}

/* Label pequena */
.path-item .label {
  font-size: 12px;
  color: #b0b0b0;
  margin-bottom: 6px;
}

/* Número principal */
.path-item .value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

/* Mensagem inferior */
.path-status {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #9b9b9b;
}


/* ===== BLOCO C + D ===== */
.bloco-cd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* KPIs individuais */
.kpi .value {
  font-size: 24px;
  font-weight: 600;
}

/* texto de referência pequeno */
.kpi .ref {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9e9e9e;
}

/* ===== BLOCO E ===== */
.bloco-e {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-size: 14px;
}
/* =========================
   VISÃO GERAL - ETAPAS 1, 2 e 3
========================= */

//* ===== ETAPA 1 — LAYOUT GERAL DA VISÃO GERAL (CORRIGIDO) ===== */
#visao-geral {
  width: 100%;       /* Ocupa tudo, sem limitar a 1600px */
  margin: 0;         /* Sem centralização automática */
  padding: 0;        /* Sem gordura interna, usa o padding do .content */
  display: flex;     /* Mantém flex para organizar os filhos */
  flex-direction: column;
  gap: 24px;
}

/* separação visual entre grandes grupos */
.destino-banner,
.bloco-b,
.bloco-cd,
.bloco-e {
  margin-bottom: 12px;
}

/* ===== ETAPA 2 — BLOCO B (CORAÇÃO DA TELA) ===== */
.bloco-b {
  background: #0b0b0b; /* um pouco mais profundo que os outros cards */
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 20px 22px 16px;
}

/* título do bloco B mais firme */
.bloco-b .title {
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
  color: #cfcfcf;
}

/* grid dos 4 indicadores do caminho */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* números maiores no bloco B (hierarquia visual) */
.path-item .value {
  font-size: 30px;
  font-weight: 600;
}

/* ===== ETAPA 3 — KPIs (BLOCOS C, D e E) ===== */
.kpi {
  background: #0f0f0f; /* quase preto */
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  padding: 16px 18px;
}

.kpi .label {
  font-size: 12px;
  color: #b0b0b0;
  margin-bottom: 6px;
}

.kpi .value {
  font-size: 24px;
  font-weight: 600;
}
.cabecalho-topo {
  width: 100%;
  margin-bottom: 16px;
}

.cabecalho-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
/* Ajuste para casar com seu HTML atual */
.bloco-b .path-item {
  text-align: center;
}

.bloco-b .value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.card.kpi {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* =========================
   BORDAS AMARELAS - PADRÃO DASHBOARD
========================= */

/* Borda amarela padrão para todos os cards principais */
.card {
  border: 2px solid #F5C77A; /* amarelo dourado */
}

/* Destaque um pouco mais nos blocos maiores (B, C/D e E) 
.bloco-b,
.bloco-cd,
.bloco-e {
  border: 1px solid #F5C77A;
  border-radius: 8px;
  padding: 16px;
}

/* Linha sutil separando o cabeçalho do resto */
.header-destino {
  border-bottom: 1px solid #F5C77A;
}

/* Borda no card do gráfico (Curva de Capital) */
.chart-card {
  border: 1px solid #F5C77A;
}

/* =========================
   TOOLTIP (INTERROGAÇÃO)
========================= */

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  cursor: help;
}

.tooltip-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #F5C77A;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #F5C77A;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tooltip-text {
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0b0b;
  border: 1px solid #F5C77A;
  color: #eaeaea;
  padding: 10px 12px;
  font-size: 12px;
  width: 220px;
  border-radius: 6px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tooltip:hover .tooltip-text {
  opacity: 1;
}
/* Sidebar - item ativo */
.sidebar a.active,
.sidebar a:hover {
  background: rgba(245, 199, 122, 0.12);
  color: #F5C77A;
  border-left: 3px solid #F5C77A;
}
/* Botão Novo Trade */
.btn-novo-trade {
  background: linear-gradient(135deg, #F5C77A, #E6B85C);
  color: #111;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.btn-novo-trade:hover {
  background: #FFD88A;
  transform: translateY(-1px);
}
/* Logo sidebar */
.sidebar-logo {
  padding: 20px 16px;
  text-align: center;
}

.sidebar-logo img {
  max-width: 120px;
  opacity: 0.95;
}
/* ===== TODOS OS DIAS — LAYOUT COM PAINEL LATERAL ===== */

.daily-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* coluna principal */
.daily-main {
  display: flex;
  flex-direction: column;
}

/* painel da direita */
.daily-side {
  background: #0f0f0f;
  border: 1px solid #F5C77A;
  border-radius: 8px;
  padding: 16px;
  height: fit-content;
}

.side-title {
  font-size: 14px;
  color: #F5C77A;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* lista de trades */
.today-trades {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-item {
  background: #141414;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.trade-time {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.trade-asset {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.trade-pnl {
  font-size: 14px;
  font-weight: 600;
}
/* PADRÃO DE CONTEÚDO CENTRAL */
.dashboard-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* =========================
   FIX GLOBAL DE ALINHAMENTO DAS ABAS
========================= */

.dashboard-section {
  padding-top: 24px;
}

/* Cabeçalho da Visão Geral alinhado como as outras abas */
.cabecalho-topo {
  margin-bottom: 24px;
}

/* =========================
   PADRONIZAÇÃO DE BORDAS (sem conflito)
========================= */

/* Base de todos os cards */
.card,
.chart-card,
.day-card,
.destino-banner,
.daily-side {
  border: 1px solid #F5C77A !important;
}

/* Remove bordas antigas conflitantes */
.bloco-b,
.kpi {
  border-width: 1px !important;
}

/* =========================
   ALTURA CONSISTENTE DO HEADER
========================= */

.topbar {
  min-height: 72px;
}
.calendar-section{
  background: transparent;
  border-radius:18px;
  padding:22px;
  border:1px solid rgba(245,178,92,0.25);
}


.calendar-header {
  color: #e5e7eb;   /* branco suave padrão dark UI */
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}
.section-header {
  color: #e5e7eb;   /* branco suave padrão dark UI */
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 14px;
}


.calendar-header h3 {
  color:#f5b25c;
  font-weight:600;
}

.calendar-btn {
  background:#1f1f1f;
  border:1px solid #333;
  color:#ccc;
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  transition:.2s;
  text-decoration:none;
  font-size:13px;
}

.calendar-btn:hover {
  border-color:#f5b25c;
  color:#f5b25c;
}


.calendar-grid {
  display:grid;
  background: #141414;
  grid-template-columns: repeat(7, 1fr);
  gap:12px;
}

.day-card{
  background: radial-gradient(circle at top,#151a22,#0f131a);
  border-radius:16px;
  padding:14px;
  text-align:center;
  border:1px solid rgba(255,255,255,0.06);
  transition:.2s;
}

.day-card:hover{
  transform: translateY(-3px);
  border-color:#f5b25c;
}


.day-card.positive {
  border-color:#22c55e66;
}

.day-card.negative {
  border-color:#ef444466;
}

.day-card.zero {
  border-color:#374151;
}
.day-name{ color:#ffffff; }
.day-date{ color:#6b7280; }
.day-info{ color:#8b949e; }




.day-value {
  font-size:18px;
  font-weight:600;
  margin:6px 0;
}

.day-value.positive{ color:#3ddc97; }
.day-value.negative{ color:#f87171; }
.day-value.zero{ color:#e5e7eb; }



.calendar-section {
  margin-bottom: 32px;
}
.calendar-header-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}

.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:14px;
  margin-bottom:18px;
}

.day-card{
  background:#121826;
  border-radius:14px;
  padding:12px;
  text-align:center;
  border:1px solid #f5b25c55;
  min-height:145px;
}

.day-name{
  color:#9ca3af;
  font-size:13px;
}

.day-date{
  color:#6b7280;
  font-size:12px;
  margin-bottom:6px;
}

.day-value{
  font-size:18px;
  font-weight:600;
  margin:6px 0;
}

.day-info{
  font-size:12px;
  color:#9ca3af;
  line-height:1.4;
}

.calendar-chart{
  background: transparent;
  padding-top:10px;
  height:260px;
}


.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:14px;
  margin-bottom:14px;
}

.day-card{
  background: radial-gradient(circle at top,#151a22,#0f131a);
  border-radius:16px;
  padding:14px;
  text-align:center;
  border:1px solid rgba(245,199,122,0.35);
  min-height:145px;
  transition:.2s;
}

.day-card:hover{
  transform: translateY(-3px);
  border-color:#F5C77A;
}

.day-name{ color:#94a3b8; }
.day-date{ color:#6b7280; }

.day-value{
  font-size:18px;
  font-weight:600;
  margin:6px 0;
}

.day-value.positive{ color:#3ddc97; }
.day-value.negative{ color:#f87171; }
.day-value.zero{ color:#e5e7eb; }

.day-info{
  font-size:12px;
  color:#94a3b8;
}


.day-name{
  color:#374151;
  font-size:13px;
  font-weight:500;
}

.day-date{
  color:#6b7280;
  font-size:12px;
  margin-bottom:6px;
}

.day-value{
  font-size:18px;
  font-weight:600;
  margin:6px 0;
}

/* CORES DINÂMICAS */
.day-value.positive{ color:#16a34a; }
.day-value.negative{ color:#dc2626; }
.day-value.zero{ color:#374151; }

.day-info{
  font-size:12px;
  color:#6b7280;
  line-height:1.4;
}

.calendar-chart{
  background: transparent !important;
}

.calendar-chart canvas{
  background: transparent !important;
}
/* Espaçamento padrão entre blocos grandes */

.daily-side {
  margin-bottom: 32px;
}

.calendar-section {
  margin-top: 32px;
}

/* ESTILO DA ÁREA DE UPLOAD (DROPZONE) */
    .drop-zone {
        border: 2px dashed #3f3f46; /* Borda tracejada cinza */
        border-radius: 6px;
        padding: 24px;
        text-align: center;
        cursor: pointer;
        transition: 0.2s;
        background: #09090b;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    /* Quando passar o mouse ou arrastar arquivo por cima */
    .drop-zone:hover, .drop-zone.dragover {
        border-color: #fbbf24; /* Fica amarelo */
        background: #18181b;
    }
    .drop-zone p {
        margin: 8px 0 0 0;
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        color: #64748b;
    }
    /* O input real fica invisível por cima de tudo para capturar o clique */
    .drop-zone input[type="file"] {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        opacity: 0;
        cursor: pointer;
    }
    /* =========================
   STATUS CAMINHO 2030
========================= */

/* =========================
   STATUS CAMINHO 2030 (TEXTO LIMPO)
========================= */

/* Removemos o estilo de "badge/botão" anterior */
.badge-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Sem background, sem borda, sem padding */
}

/* Apenas Cores */
.status-meta {
    color: #3ddc97; /* Verde */
}

.status-profit {
    color: #60a5fa; /* Azul */
}

.status-neutral {
    color: #fbbf24; /* Amarelo */
    opacity: 0.8;   /* Levemente mais apagado */
}

.status-loss {
    color: #f87171; /* Vermelho */
}

.badge-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}