/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080b10;
  --bg2: #0e1117;
  --card: #111520;
  --card2: #161b27;
  --border: #1e2538;
  --green: #c5a059;
  --green2: #957335;
  --green-dim: rgba(197, 160, 89, .12);
  --yellow: #f59e0b;
  --yellow-dim: rgba(245,158,11,.12);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,.12);
  --blue: #3b82f6;
  --blue-dim: rgba(59,130,246,.12);
  --text: #e2e8f0;
  --text2: #94a3b8;
  --text3: #4b5563;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); height: 100vh; overflow: hidden; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select { font-family: inherit; outline: none; }
a { text-decoration: none; }
.hidden { display: none !important; }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ═══ LAYOUT ═══ */
#app { display: flex; height: 100vh; overflow: hidden; }

/* ═══ SIDEBAR ═══ */
.sidebar {
  width: 240px; min-width: 240px; background: var(--bg2);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  padding: 20px 0; transition: var(--transition);
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px 24px; border-bottom: 1px solid var(--border);
}
.logo-name { font-size: 15px; font-weight: 700; color: var(--text); display: block; }
.logo-sub { font-size: 10px; color: var(--text2); font-weight: 400; }
.sidebar-nav { padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-label { font-size: 10px; font-weight: 600; color: var(--text3); letter-spacing: 1.2px; padding: 0 8px; margin-bottom: 4px; display: block; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text2); font-size: 13.5px;
  font-weight: 500; transition: var(--transition); position: relative;
}
.nav-item:hover { background: var(--card); color: var(--text); }
.nav-item.active { background: var(--green-dim); color: var(--green); }
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; background: var(--green); border-radius: 0 3px 3px 0;
}
.nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-footer { padding: 16px 12px 0; border-top: 1px solid var(--border); }
.user-card { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-sm); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.user-details { flex: 1; }
.user-name { font-size: 12.5px; font-weight: 600; color: var(--text); display: block; }
.user-role { font-size: 11px; color: var(--text2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }

/* ═══ MAIN CONTENT ═══ */
.main-content { flex: 1; overflow-y: auto; padding: 28px 32px; background: var(--bg); }

/* ═══ VIEWS ═══ */
.view { display: none; animation: fadeSlide .3s ease; }
.view.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ PAGE HEADER ═══ */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.page-title { font-size: 22px; font-weight: 700; color: var(--text); }
.page-subtitle { font-size: 13px; color: var(--text2); margin-top: 3px; }
.header-right { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; background: var(--card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text2); transition: var(--transition); position: relative;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.notif-badge {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px;
  background: var(--red); border-radius: 50%; border: 2px solid var(--bg);
}
.header-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}

/* ═══ CARDS ═══ */
.cards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 28px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: var(--transition);
}
.card:hover { border-color: #2a3148; transform: translateY(-2px); box-shadow: var(--shadow); }
.card-highlight { border-color: rgba(197,160,89,.25); background: linear-gradient(135deg, #1a160d 0%, var(--card) 100%); }
.card-danger   { border-color: rgba(239,68,68,.25); background: linear-gradient(135deg, #1c0d0d 0%, var(--card) 100%); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-label { font-size: 11.5px; font-weight: 500; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; }
.card-value { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.card-value.red { color: var(--red); }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); }
.eye-btn { background: none; border: none; color: var(--text2); display: flex; transition: var(--transition); }
.eye-btn svg { width: 18px; height: 18px; }
.eye-btn:hover { color: var(--green); }
.card-icon-wrap {
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.card-icon-wrap svg { width: 16px; height: 16px; }
.card-icon-wrap.green  { background: var(--green-dim);  color: var(--green); }
.card-icon-wrap.yellow { background: var(--yellow-dim); color: var(--yellow); }
.card-icon-wrap.blue   { background: var(--blue-dim);   color: var(--blue); }
.card-icon-wrap.red    { background: var(--red-dim);    color: var(--red); }

/* badges */
.badge-green { background: var(--green-dim); color: var(--green); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.badge-yellow { background: var(--yellow-dim); color: var(--yellow); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.badge-blue { background: var(--blue-dim); color: var(--blue); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.badge-red { background: var(--red-dim); color: var(--red); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }

/* ═══ ACTIONS ═══ */
.section-title { font-size: 13px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.actions-row { display: flex; gap: 12px; margin-bottom: 28px; }
.action-btn {
  display: flex; align-items: center; gap: 8px; padding: 11px 20px;
  border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; transition: var(--transition);
}
.action-btn svg { width: 17px; height: 17px; }
.action-btn.primary { background: var(--green); color: #000; }
.action-btn.primary:hover { background: var(--green2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(197,160,89,.3); }
.action-btn.secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.action-btn.secondary:hover { border-color: var(--green); color: var(--green); }
.action-btn.small { padding: 8px 14px; font-size: 12.5px; }

/* ═══ CHARTS ═══ */
.charts-row { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.chart-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chart-title { font-size: 14px; font-weight: 600; color: var(--text); }
.chart-legend { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text2); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 3px; }
.dot.green { background: var(--green); }
.dot.red   { background: var(--red); }
.dot.yellow{ background: var(--yellow); }
.red-bar   { background: linear-gradient(90deg, #b91c1c, var(--red)); }
.chart-wrap { height: 180px; }

/* conversion */
.conversion-card { display: flex; flex-direction: column; }
.conversion-list { display: flex; flex-direction: column; gap: 20px; margin-top: 4px; }
.conv-item { display: flex; flex-direction: column; gap: 7px; }
.conv-info { display: flex; justify-content: space-between; }
.conv-label { font-size: 13px; font-weight: 500; color: var(--text); }
.conv-pct { font-size: 13px; font-weight: 700; color: var(--text2); }
.conv-bar-bg { height: 7px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.conv-bar { height: 100%; border-radius: 99px; transition: width .6s ease; }
.green-bar { background: linear-gradient(90deg, var(--green2), var(--green)); }
.blue-bar  { background: linear-gradient(90deg, #1d4ed8, var(--blue)); }
.yellow-bar{ background: linear-gradient(90deg, #b45309, var(--yellow)); }

/* ═══ TRANSFER VIEW ═══ */
.transfer-wrapper { max-width: 560px; }
.transfer-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.tabs { display: flex; background: var(--bg2); border-radius: 10px; padding: 4px; }
.tab { flex: 1; padding: 9px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text2); background: none; transition: var(--transition); }
.tab.active { background: var(--card2); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.amount-section { display: flex; flex-direction: column; gap: 10px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; }
.amount-input-wrap {
  display: flex; align-items: center; gap: 10px; background: var(--bg2);
  border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
  transition: var(--transition);
}
.amount-input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(197, 160, 89, .08); }
.currency-prefix { font-size: 22px; font-weight: 700; color: var(--green); }
.amount-input { flex: 1; background: none; border: none; font-size: 28px; font-weight: 700; color: var(--text); width: 100%; }
.amount-input::placeholder { color: var(--text3); }
.pills-row { display: flex; gap: 8px; }
.pill {
  padding: 6px 14px; border-radius: 99px; background: var(--green-dim);
  color: var(--green); font-size: 12.5px; font-weight: 600; border: 1px solid rgba(197,160,89,.2);
  transition: var(--transition);
}
.pill:hover { background: var(--green); color: #000; }
.amount-hint { font-size: 12px; color: var(--text2); line-height: 1.5; }
.form-section { display: flex; flex-direction: column; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-select, .field-input {
  background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; color: var(--text); transition: var(--transition);
}
.field-select:focus, .field-input:focus { border-color: var(--green); }
.field-select option { background: var(--card); }
.optional { font-weight: 400; color: var(--text3); }
.fee-preview { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.fee-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); }
.fee-row.fee-total { font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 8px; margin-top: 2px; }
.fee-red { color: var(--red); }
.btn-confirm {
  padding: 14px; border-radius: var(--radius-sm); background: var(--green); color: #000;
  font-size: 15px; font-weight: 700; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-confirm:hover:not(:disabled) { background: var(--green2); box-shadow: 0 6px 20px rgba(197,160,89,.3); }
.btn-confirm:disabled { opacity: .4; cursor: not-allowed; }
.feedback { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; }
.feedback.success { background: var(--green-dim); color: var(--green); border: 1px solid rgba(197,160,89,.2); }
.feedback.error { background: var(--red-dim); color: var(--red); border: 1px solid rgba(239,68,68,.2); }

/* ═══ EXTRACT VIEW ═══ */
.filters-bar { display: flex; gap: 10px; margin-bottom: 16px; align-items: center; }
.filter-select {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 13px; color: var(--text); cursor: pointer; transition: var(--transition);
}
.filter-select:focus { border-color: var(--green); }
.filter-select option { background: var(--card); }
.filter-search {
  flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 14px; font-size: 13px; color: var(--text); transition: var(--transition);
}
.filter-search:focus { border-color: var(--green); }
.filter-search::placeholder { color: var(--text3); }
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--card2); padding: 12px 14px; text-align: left;
  font-size: 11px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td { padding: 13px 14px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: var(--transition); }
.data-table tbody tr:hover { background: var(--card2); }
.table-loading { text-align: center; color: var(--text2); font-style: italic; padding: 32px !important; }
.type-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.type-entrada { background: var(--green-dim); color: var(--green); }
.type-saida   { background: var(--red-dim);   color: var(--red); }
.status-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.status-aprovado { background: var(--green-dim); color: var(--green); }
.status-pendente { background: var(--yellow-dim); color: var(--yellow); }
.status-recusado { background: var(--red-dim); color: var(--red); }
.method-icon { font-size: 11px; color: var(--text2); font-weight: 500; }
.e2e-code { font-size: 11px; color: var(--text3); font-family: monospace; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  animation: fadeIn .2s ease;
}
.modal-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; width: 100%; max-width: 380px; position: relative;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: var(--card2);
  border: 1px solid var(--border); border-radius: 8px; width: 30px; height: 30px;
  font-size: 18px; color: var(--text2); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); border-color: var(--red); }
.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { width: 52px; height: 52px; background: var(--green-dim); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--green); }
.modal-icon svg { width: 26px; height: 26px; }
.modal-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.modal-sub { font-size: 13px; color: var(--text2); }
.qr-container { display: flex; justify-content: center; margin-bottom: 20px; background: #fff; border-radius: 12px; padding: 12px; }
.modal-copy-row { display: flex; gap: 8px; margin-bottom: 16px; }
.copy-input { flex: 1; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 11px; color: var(--text2); font-family: monospace; }
.copy-btn { background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 12.5px; color: var(--text); font-weight: 600; transition: var(--transition); }
.copy-btn:hover { border-color: var(--green); color: var(--green); }
.btn-simulate { width: 100%; padding: 14px; border-radius: var(--radius-sm); background: var(--green); color: #000; font-size: 14.5px; font-weight: 700; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-simulate:hover { background: var(--green2); box-shadow: 0 6px 20px rgba(197,160,89,.35); }
.btn-simulate:disabled { opacity: .5; cursor: not-allowed; }
.modal-note { text-align: center; font-size: 12px; color: var(--text2); margin-top: 10px; }

/* ═══ SPINNER ═══ */
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000; border-radius: 50%; animation: spin .7s linear infinite;
}
.spinner-light { border-color: rgba(255,255,255,.2); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ TOAST ═══ */
#toast-container { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; }
.toast {
  background: var(--card2); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; font-size: 13.5px; font-weight: 500; color: var(--text);
  min-width: 280px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--blue); }

/* ═══ PROFILE PAGE ═══ */
.profile-layout { display: grid; grid-template-columns: 180px 1fr; gap: 20px; }
.profile-sidebar { display: flex; flex-direction: column; gap: 6px; }
.profile-tab {
  text-align: left; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--border); color: var(--text2);
  font-size: 13.5px; font-weight: 500; transition: var(--transition); cursor: pointer;
}
.profile-tab:hover { border-color: var(--green); color: var(--green); }
.profile-tab.active { background: var(--green-dim); color: var(--green); border-color: rgba(197,160,89,.3); }
.profile-content { display: flex; flex-direction: column; gap: 16px; }
.profile-banner {
  background: linear-gradient(135deg, #1a160d 0%, #111520 100%);
  border: 1px solid rgba(197,160,89,.2); border-radius: var(--radius);
  padding: 24px; display: flex; align-items: center; gap: 20px;
}
.banner-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; flex-shrink: 0;
  border: 3px solid rgba(197,160,89,.4);
}
.banner-name { font-size: 18px; font-weight: 700; color: var(--text); }
.banner-user { font-size: 13px; color: var(--text2); margin: 3px 0; }
.banner-status { font-size: 12.5px; color: var(--green); display: flex; align-items: center; gap: 6px; }
.status-dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); display: inline-block; }
.profile-panel { display: none; flex-direction: column; gap: 16px; }
.profile-panel.active { display: flex; }
.profile-section { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.profile-section-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.profile-field { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.profile-field:last-child, .profile-field:nth-last-child(-n+2):nth-child(odd) { border-bottom: none; }
.pf-label { font-size: 13px; color: var(--text2); }
.pf-val { font-size: 13px; font-weight: 600; color: var(--text); }
.pf-green { color: var(--green) !important; }
.limits-list { display: flex; flex-direction: column; }
.limit-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.limit-row:last-child { border-bottom: none; }
.limit-row span:first-child { color: var(--text2); }

/* ═══ ENTRY FORM ═══ */
.entry-form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }

/* ═══ ROW ACTIONS ═══ */
.row-actions { display: flex; gap: 6px; justify-content: center; }
.row-btn {
  width: 30px; height: 30px; border-radius: 7px; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card2); border: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.row-btn:hover { transform: scale(1.1); }
.edit-btn:hover   { border-color: var(--green); background: var(--green-dim); }
.delete-btn:hover { border-color: var(--red);   background: var(--red-dim); }

/* ═══ DANGER / CANCEL BUTTONS ═══ */
.btn-danger-action {
  flex: 1; padding: 13px; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-danger-action:hover:not(:disabled) { background: #dc2626; box-shadow: 0 6px 20px rgba(239,68,68,.35); }
.btn-danger-action:disabled { opacity: .5; cursor: not-allowed; }
.btn-cancel-action {
  flex: 1; padding: 13px; border-radius: var(--radius-sm);
  background: var(--card2); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 600; transition: var(--transition);
}
.btn-cancel-action:hover { border-color: var(--text2); }

/* ═══ LOADING SCREEN ═══ */
#loading-screen {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.ls-content {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: 360px; width: 100%; padding: 24px;
  animation: fadeUp .5s ease;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ls-logo { margin-bottom: 8px; }
.ls-badge {
  width: 72px; height: 72px; border-radius: 22px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: #000;
  box-shadow: 0 12px 40px rgba(197,160,89,.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ box-shadow: 0 12px 40px rgba(197,160,89,.4); } 50%{ box-shadow: 0 12px 60px rgba(197,160,89,.6); } }
.ls-title { font-size: 22px; font-weight: 800; color: var(--text); text-align: center; }
.ls-sub   { font-size: 13.5px; color: var(--text2); text-align: center; }
.ls-bar-bg {
  width: 100%; height: 6px; background: var(--border); border-radius: 99px; overflow: hidden;
  margin-top: 8px;
}
.ls-bar {
  height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--green2), var(--green));
  transition: width .05s linear;
  box-shadow: 0 0 12px rgba(197,160,89,.5);
}
.ls-pct { font-size: 12px; color: var(--text3); font-variant-numeric: tabular-nums; }
/* ═══ REPORTS VIEW SPECIFICS ═══ */
#view-reports .data-table td { padding: 15px 14px; }
#view-reports .card { background: linear-gradient(145deg, var(--card), var(--card2)); border: 1px solid rgba(255,255,255,0.05); }
#view-reports .section-title { margin-top: 24px; }
#view-reports .chart-card { border: 1px solid rgba(197, 160, 89, 0.15); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .charts-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { width: 70px; min-width: 70px; }
  .logo-name, .logo-sub, .nav-item span, .user-details, .nav-label { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .main-content { padding: 20px; }
}

/* ═══ AI INSIGHTS ═══ */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.insight-card {
  background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; transition: var(--transition);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); }
.insight-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.insight-icon { font-size: 18px; }
.insight-title { font-size: 13px; font-weight: 700; color: var(--text); }
.insight-desc { font-size: 12px; color: var(--text2); line-height: 1.5; }

@media (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr; }
}
/ *   B L O Q U E I O   D E   S E G U R A N C A   * /   # v i e w - t r a n s f e r ,   # b t n - s a q u e ,   # n a v - t r a n s f e r   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }
