@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --green: #c7ff24;
  --dark: #111111;
  --dark2: #1c1c1c;
  --dark3: #2a2a2a;
  --gray: #f5f5f5;
  --gray2: #e8e8e8;
  --gray3: #9a9a9a;
  --white: #ffffff;
  --red: #e53935;
  --red-soft: #fff0f0;
  --text: #111111;
  --text2: #555555;
  --nav-h: 76px;
  --max-w: 430px;
  --t: all 0.26s cubic-bezier(0.4,0,0.2,1);
  --font: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { height: 100%; background: #c8c8c8; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* ═══ AUTH ════════════════════════════════════ */
#auth-screen {
  position: fixed; inset: 0;
  max-width: var(--max-w); margin: 0 auto;
  background: var(--dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 32px 28px;
  z-index: 1000;
  transition: opacity 0.4s ease;
}
#auth-screen.hidden { opacity: 0; pointer-events: none; }

.auth-logo { font-size: 48px; font-weight: 800; color: var(--green); letter-spacing: -2px; margin-bottom: 4px; }
.auth-tagline { color: var(--gray3); font-size: 13px; margin-bottom: 32px; }

.auth-tabs { display: flex; background: var(--dark2); border-radius: 12px; padding: 4px; margin-bottom: 18px; width: 100%; }
.auth-tab { flex: 1; padding: 9px; text-align: center; font-size: 13px; font-weight: 600; color: var(--gray3); border-radius: 9px; cursor: pointer; transition: var(--t); }
.auth-tab.active { background: var(--green); color: var(--dark); }

.auth-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.auth-input { background: var(--dark2); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; color: var(--white); font-family: var(--font); font-size: 14px; width: 100%; outline: none; transition: var(--t); }
.auth-input:focus { border-color: var(--green); }
.auth-input::placeholder { color: var(--gray3); }
.auth-btn { background: var(--green); color: var(--dark); border: none; border-radius: 12px; padding: 14px; font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 4px; transition: var(--t); }
.auth-btn:active { transform: scale(0.98); opacity: 0.9; }
.auth-msg { font-size: 12px; text-align: center; margin-top: 6px; min-height: 18px; }
.auth-msg.error { color: #ff6b6b; }
.auth-msg.success { color: var(--green); }

/* ═══ APP SHELL ═══════════════════════════════ */
#app {
  position: fixed; inset: 0;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none; background: var(--white);
}
#app.visible { opacity: 1; pointer-events: all; }

.pages { flex: 1; overflow: hidden; position: relative; }
.page {
  position: absolute; inset: 0; overflow-y: auto;
  padding-bottom: calc(var(--nav-h) + 16px);
  opacity: 0; transform: translateX(14px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.page.active { opacity: 1; transform: translateX(0); pointer-events: all; }
.page::-webkit-scrollbar { display: none; }

/* ═══ BOTTOM NAV — círculo verde deslizante ═══ */
#bottom-nav {
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--gray2);
  display: flex; align-items: center;
  padding: 4px 0 12px;
  position: relative; z-index: 100;
}

/* Círculo verde que desliza */
#nav-indicator {
  position: absolute;
  top: 6px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green);
  /* left é definido via JS */
  transition: left 0.36s cubic-bezier(0.34,1.56,0.64,1); /* spring bounce */
  pointer-events: none;
  z-index: 0;
}

.nav-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; padding: 4px 0;
  cursor: pointer; border: none; background: none;
  position: relative; z-index: 1;
}
.nav-icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-btn .nav-icon { font-size: 20px; color: var(--gray3); transition: color 0.2s ease; }
.nav-btn.active .nav-icon { color: var(--dark); }
.nav-btn .nav-label { font-size: 10px; font-weight: 500; color: var(--gray3); transition: var(--t); line-height: 1; }
.nav-btn.active .nav-label { color: var(--dark); font-weight: 700; }

/* ═══ FAB MIC ═════════════════════════════════ */
.fab-mic {
  position: fixed; bottom: calc(var(--nav-h) + 16px); right: 16px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(199,255,36,0.5);
  z-index: 200; transition: var(--t);
}
.fab-mic:active { transform: scale(0.92); }
.fab-mic i { font-size: 22px; color: var(--dark); }
.fab-mic.recording { background: var(--red); box-shadow: 0 4px 20px rgba(229,57,53,0.4); animation: pulse-mic 1s infinite; }
.fab-mic.recording i { color: var(--white); }
@keyframes pulse-mic { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* ═══ HOME HEADER ══════════════════════════════
   Reto no TOPO, arredondado só em baixo
═══════════════════════════════════════════════ */
.home-header {
  background: var(--dark);
  /* border-radius APENAS nos cantos inferiores */
  border-radius: 0 0 28px 28px;
  padding: 52px 20px 22px;
  position: relative;
  overflow: hidden;
}
/* Círculos decorativos sutis */
.home-header::before {
  content: ''; position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.home-header::after {
  content: ''; position: absolute;
  bottom: 30px; left: 20px;
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.home-greeting { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 16px; font-weight: 500; }
.home-greeting span { color: rgba(255,255,255,0.85); font-weight: 600; }
.home-balance-label { font-size: 11px; color: rgba(255,255,255,0.38); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.home-balance { font-size: 36px; font-weight: 800; color: var(--white); letter-spacing: -1.5px; margin-bottom: 22px; line-height: 1; }

/* Ações dentro do header — row de botões */
.home-actions-row {
  display: flex; justify-content: space-around;
  background: rgba(255,255,255,0.07);
  border-radius: 18px; padding: 14px 6px;
}
.home-action-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; border: none; background: none; transition: var(--t);
}
.home-action-item:active { transform: scale(0.9); }
.action-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.action-circle.active-green { background: var(--green); }
.action-circle i { font-size: 18px; color: rgba(255,255,255,0.65); }
.action-circle.active-green i { color: var(--dark); }
.action-label { font-size: 10px; color: rgba(255,255,255,0.4); font-weight: 500; }
.action-label.green { color: var(--green); font-weight: 600; }

/* ═══ SALARY CARD ═════════════════════════════ */
.salary-card {
  background: var(--green); border-radius: 18px;
  padding: 14px 16px; margin: 14px 16px 0;
  box-shadow: 0 4px 20px rgba(199,255,36,0.28);
}
.salary-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.salary-info-label { font-size: 11px; font-weight: 700; color: rgba(17,17,17,0.5); text-transform: uppercase; letter-spacing: 0.6px; }
.salary-edit-btn { background: rgba(17,17,17,0.1); border: none; border-radius: 6px; padding: 3px 10px; font-size: 11px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: var(--font); }
.salary-amounts { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.salary-val { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.salary-pct { font-size: 12px; font-weight: 600; color: rgba(17,17,17,0.55); }
.salary-progress { height: 5px; background: rgba(17,17,17,0.15); border-radius: 3px; overflow: hidden; }
.salary-progress-fill { height: 100%; background: var(--dark); border-radius: 3px; transition: width 0.6s ease; }
.salary-sub { display: flex; justify-content: space-between; margin-top: 6px; }
.salary-sub span { font-size: 11px; color: rgba(17,17,17,0.5); }

/* ═══ SECTION + EXPENSE LIST ══════════════════ */
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; margin-bottom: 10px; }
.section-title { font-size: 15px; font-weight: 700; color: var(--text); }
.section-link { font-size: 12px; color: var(--gray3); cursor: pointer; font-weight: 500; }

.expense-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }

/* Pílula com extremidades bem arredondadas */
.expense-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray); border-radius: 50px;
  padding: 9px 16px 9px 9px; transition: var(--t);
}
.expense-item:active { transform: scale(0.98); background: var(--gray2); }
.exp-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.exp-icon i { font-size: 16px; color: var(--text2); }
.exp-icon.green { background: rgba(199,255,36,0.2); }
.exp-icon.green i { color: #6a8600; }
.exp-body { flex: 1; min-width: 0; }
.exp-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exp-meta { font-size: 11px; color: var(--gray3); margin-top: 1px; }
.exp-amount { font-size: 13px; font-weight: 700; color: var(--red); flex-shrink: 0; }
.exp-amount.income { color: #3baa5e; }

/* ═══ CHARTS PAGE ═════════════════════════════ */
.chart-page-header {
  background: var(--dark); border-radius: 0 0 28px 28px;
  padding: 52px 20px 22px;
}
.chart-page-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.8px; margin-bottom: 14px; }
.chart-period-tabs { display: flex; gap: 6px; }
.period-tab { padding: 6px 14px; border-radius: 20px; border: none; background: rgba(255,255,255,0.08); color: var(--gray3); font-family: var(--font); font-size: 12px; font-weight: 500; cursor: pointer; transition: var(--t); }
.period-tab.active { background: var(--green); color: var(--dark); font-weight: 700; }

.chart-wrap { padding: 20px 16px; }
.pie-container { display: flex; justify-content: center; margin-bottom: 18px; position: relative; }
.pie-container canvas { max-width: 200px; }
.pie-center-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; pointer-events: none; }
.pie-center-val { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.pie-center-sub { font-size: 10px; color: var(--gray3); font-weight: 500; }

.legend-grid { display: flex; flex-direction: column; gap: 8px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; }
.legend-left { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.legend-name { font-size: 13px; font-weight: 500; color: var(--text); }
.legend-sub { font-size: 11px; color: var(--gray3); }
.legend-pct { font-size: 13px; font-weight: 700; color: var(--text); }

.goals-section { padding: 0 16px 20px; }
.goal-card { background: var(--gray); border-radius: 14px; padding: 13px 15px; margin-bottom: 8px; }
.goal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.goal-name { font-size: 13px; font-weight: 600; color: var(--text); }
.goal-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.goal-badge.ok { background: rgba(199,255,36,0.25); color: #5a7a00; }
.goal-badge.warn { background: rgba(255,165,0,0.15); color: #b86e00; }
.goal-badge.over { background: var(--red-soft); color: var(--red); }
.goal-progress-bar { height: 5px; background: var(--gray2); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.goal-progress-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.goal-progress-fill.ok { background: var(--green); }
.goal-progress-fill.warn { background: #ffa500; }
.goal-progress-fill.over { background: var(--red); }
.goal-amounts { display: flex; justify-content: space-between; font-size: 11px; color: var(--gray3); }

/* ═══ ADD EXPENSE PAGE ════════════════════════ */
.add-page-header { background: var(--dark); border-radius: 0 0 28px 28px; padding: 52px 20px 22px; }
.add-page-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.8px; }

.add-form { padding: 18px 16px; }
.field-group { margin-bottom: 16px; }
.field-label { font-size: 11px; font-weight: 700; color: var(--gray3); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px; display: block; }
.field-input { width: 100%; background: var(--gray); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: var(--t); }
.field-input:focus { border-color: var(--green); background: var(--white); }
.field-input::placeholder { color: var(--gray3); }

.amount-wrap { position: relative; }
.amount-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; font-weight: 700; color: var(--text2); }
#input-amount { padding-left: 42px; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }

.type-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.type-tab { flex: 1; padding: 10px; text-align: center; background: var(--gray); border: 1.5px solid transparent; border-radius: 12px; font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--t); color: var(--text2); }
.type-tab.active-expense { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.type-tab.active-income { background: rgba(59,170,94,0.1); border-color: #3baa5e; color: #3baa5e; }

.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-bottom: 16px; }
.cat-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 3px; background: var(--gray); border: 1.5px solid transparent; border-radius: 12px; cursor: pointer; transition: var(--t); }
.cat-btn i { font-size: 19px; color: var(--text2); }
.cat-btn span { font-size: 9px; font-weight: 600; color: var(--text2); text-align: center; line-height: 1.2; }
.cat-btn.selected { background: var(--dark); border-color: var(--dark); }
.cat-btn.selected i { color: var(--green); }
.cat-btn.selected span { color: var(--white); }

.add-tools { display: flex; gap: 8px; margin-bottom: 16px; }
.tool-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; background: var(--gray); border: 1.5px solid transparent; border-radius: 12px; cursor: pointer; font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--text2); transition: var(--t); }
.tool-btn:hover { border-color: var(--green); }
.tool-btn i { font-size: 17px; }
.tool-btn.mic-tool { border-color: rgba(199,255,36,0.5); background: rgba(199,255,36,0.07); }

.save-expense-btn { width: 100%; background: var(--green); border: none; border-radius: 12px; padding: 15px; font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--dark); cursor: pointer; transition: var(--t); }
.save-expense-btn:active { transform: scale(0.98); }

/* ═══ SHOPPING LIST ═══════════════════════════ */
.list-page-header { background: var(--dark); border-radius: 0 0 28px 28px; padding: 52px 20px 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.list-page-title { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -0.8px; }
.list-new-btn { background: var(--green); border: none; border-radius: 10px; padding: 8px 13px; font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; align-items: center; gap: 4px; }

.list-wrap { padding: 14px 16px; }
.add-item-row { display: flex; gap: 8px; margin-bottom: 10px; }
.add-item-input { flex: 1; background: var(--gray); border: 1.5px solid transparent; border-radius: 50px; padding: 11px 18px; font-family: var(--font); font-size: 14px; color: var(--text); outline: none; transition: var(--t); }
.add-item-input:focus { border-color: var(--green); }
.add-item-input::placeholder { color: var(--gray3); }
.add-item-btn { width: 44px; height: 44px; background: var(--dark); border: none; border-radius: 50%; cursor: pointer; transition: var(--t); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.add-item-btn:hover { background: var(--green); }
.add-item-btn:hover i { color: var(--dark); }
.add-item-btn i { font-size: 17px; color: var(--white); transition: var(--t); }

/* Pílula na lista */
.shopping-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: var(--gray); border-radius: 50px; margin-bottom: 8px; transition: var(--t); }
.shopping-item:active { transform: scale(0.98); }
.check-wrap { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--gray2); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: var(--t); background: var(--white); }
.check-wrap.checked { background: var(--green); border-color: var(--green); }
.check-wrap i { font-size: 13px; color: transparent; }
.check-wrap.checked i { color: var(--dark); }
.item-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--text); }
.item-name.checked { text-decoration: line-through; color: var(--gray3); font-weight: 400; }
.item-del { background: none; border: none; cursor: pointer; padding: 4px; opacity: 0.28; transition: var(--t); }
.item-del:hover { opacity: 1; }
.item-del i { font-size: 15px; color: var(--red); }

.list-summary-card { background: var(--dark); border-radius: 16px; padding: 14px 18px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.list-summary-left span { display: block; font-size: 11px; color: var(--gray3); margin-bottom: 2px; }
.list-summary-count { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.convert-to-expense-btn { background: var(--green); border: none; border-radius: 10px; padding: 9px 13px; font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; align-items: center; gap: 4px; }

/* ═══ CALCULATOR ══════════════════════════════ */
.calc-page { background: var(--dark); }
.calc-display { padding: 52px 22px 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.calc-history { font-size: 15px; color: var(--gray3); text-align: right; min-height: 22px; margin-bottom: 3px; font-weight: 500; }
.calc-current { font-size: 52px; font-weight: 800; color: var(--white); text-align: right; letter-spacing: -2px; line-height: 1; word-break: break-all; }
.calc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 14px 14px 22px; }
.calc-btn { border: none; border-radius: 18px; height: 66px; font-family: var(--font); font-size: 20px; font-weight: 600; cursor: pointer; transition: var(--t); display: flex; align-items: center; justify-content: center; }
.calc-btn:active { transform: scale(0.91); }
.calc-btn.num { background: #222; color: var(--white); }
.calc-btn.op { background: #1a1a1a; color: var(--green); }
.calc-btn.clear { background: #2a2a2a; color: var(--white); }
.calc-btn.equals { background: var(--green); color: var(--dark); }
.calc-btn.zero { grid-column: span 2; }

/* ═══ MODALS ══════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; max-width: var(--max-w); margin: 0 auto; background: rgba(0,0,0,0.55); display: flex; align-items: flex-end; z-index: 500; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet { background: var(--white); border-radius: 24px 24px 0 0; padding: 22px 20px 36px; width: 100%; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); position: relative; }
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-handle { width: 34px; height: 4px; background: var(--gray2); border-radius: 2px; margin: 0 auto 18px; }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.4px; }
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--gray); border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-close i { font-size: 15px; color: var(--text2); }

.voice-indicator { display: flex; justify-content: center; gap: 4px; margin: 18px 0; }
.voice-bar { width: 4px; background: var(--green); border-radius: 2px; height: 22px; animation: voice-anim 0.8s ease-in-out infinite alternate; }
.voice-bar:nth-child(2){animation-delay:.15s}.voice-bar:nth-child(3){animation-delay:.3s}.voice-bar:nth-child(4){animation-delay:.45s}.voice-bar:nth-child(5){animation-delay:.6s}
@keyframes voice-anim{from{height:6px;opacity:.4}to{height:30px;opacity:1}}
.voice-transcript { text-align: center; font-size: 14px; color: var(--text2); min-height: 40px; font-style: italic; }
.voice-result { background: var(--gray); border-radius: 12px; padding: 13px; margin-top: 10px; display: none; }
.voice-result.show { display: block; }
.voice-result-label { font-size: 11px; color: var(--gray3); margin-bottom: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.voice-result-val { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.6; }

.ocr-upload-area { border: 2px dashed var(--gray2); border-radius: 18px; padding: 28px; text-align: center; cursor: pointer; transition: var(--t); }
.ocr-upload-area:hover { border-color: var(--green); }
.ocr-upload-area i { font-size: 36px; color: var(--gray3); display: block; margin-bottom: 8px; }
.ocr-upload-area span { font-size: 13px; color: var(--gray3); }
.ocr-preview { width: 100%; border-radius: 12px; display: none; max-height: 180px; object-fit: cover; }
.ocr-preview.show { display: block; margin-bottom: 10px; }
.ocr-status { text-align: center; font-size: 13px; color: var(--gray3); margin: 10px 0; min-height: 18px; }
.ocr-status.success { color: #3baa5e; font-weight: 600; }
.ocr-confirm-btn { width: 100%; background: var(--green); border: none; border-radius: 12px; padding: 13px; font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--dark); cursor: pointer; display: none; margin-top: 8px; }
.ocr-confirm-btn.show { display: block; }
.salary-modal-hint { font-size: 12px; color: var(--gray3); margin-bottom: 14px; line-height: 1.5; }

/* ═══ TOAST ═══════════════════════════════════ */
.toast { position: fixed; bottom: calc(var(--nav-h) + 72px); left: 50%; transform: translateX(-50%) translateY(16px); background: var(--dark); color: var(--white); padding: 11px 22px; border-radius: 30px; font-size: 13px; font-weight: 600; z-index: 600; opacity: 0; transition: all 0.3s ease; white-space: nowrap; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.green { background: var(--green); color: var(--dark); }

/* ═══ EMPTY + UTILS ═══════════════════════════ */
.empty-state { text-align: center; padding: 36px 20px; color: var(--gray3); }
.empty-state i { font-size: 44px; display: block; margin-bottom: 10px; opacity: 0.35; }
.empty-state p { font-size: 13px; line-height: 1.6; }
.hidden { display: none !important; }
.lang-en { display: none; }
body.lang-en .lang-pt { display: none; }
body.lang-en .lang-en { display: unset; }
