/* ==========================================================================
   FINANCIAL CASH BOOK - PREMIUM EXECUTIVE STYLESHEET
   Athalink Integrated Financial Cash Book & Category Manager
   ========================================================================== */

.financial-cash-book {
  padding: 24px;
  margin: 0 0 28px;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% -10%, rgba(14, 165, 233, 0.1) 0%, transparent 60%), #0c1828;
  color: #e2e8f0;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------------- HERO HEADER ---------------- */
.cash-book-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 32px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  background: radial-gradient(ellipse at 90% 0%, rgba(14, 165, 233, 0.22) 0%, transparent 45%),
              radial-gradient(ellipse at 10% 100%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, #09121d 0%, #0e2238 50%, #112c46 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-sizing: border-box;
}

.cash-book-heading {
  max-width: 620px;
}

.cash-book-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.financial-cash-book h2 {
  margin: 12px 0 6px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.7px;
  color: #ffffff;
}

.cash-book-heading p {
  margin: 0;
  line-height: 1.5;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ---------------- TOOLBAR BUTTONS ---------------- */
.cash-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 680px;
  justify-content: flex-end;
}

.cash-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: rgba(15, 30, 48, 0.65);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.cash-tool-btn:hover {
  background: rgba(30, 60, 95, 0.9);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.2);
}

.cash-tool-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ---------------- FILTER BAR ---------------- */
.cash-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.cash-filter-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.cash-filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.cash-filter-bar select,
.cash-filter-bar input[type="date"],
.cash-filter-bar input[type="month"] {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: #0f2338;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cash-filter-bar select:focus,
.cash-filter-bar input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.cash-filter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cash-btn-primary {
  min-height: 42px;
  padding: 8px 20px;
  border-radius: 10px;
  border: 1px solid #0284c7;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.cash-btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
}

.cash-btn-secondary {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.7);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cash-btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: #94a3b8;
}

.cash-btn-pdf {
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(159, 18, 57, 0.3));
  color: #fecdd3;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cash-btn-pdf:hover {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.35), rgba(159, 18, 57, 0.45));
  border-color: #f43f5e;
  transform: translateY(-1px);
}

/* ---------------- STATUS BANNER ---------------- */
.cash-status-banner {
  margin: 12px 0 20px;
}

.cash-status-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.88rem;
}

.cash-scope-info {
  color: #cbd5e1;
}

.cash-status-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-open {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 800;
  font-size: 0.78rem;
}

.badge-closed {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  font-weight: 800;
  font-size: 0.78rem;
}

.badge-warning {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.78rem;
}

.badge-undated {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.78rem;
}

.cash-status-error {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-weight: 700;
}

/* ---------------- 4 KPI CARDS GRID ---------------- */
.cash-totals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.cash-kpi-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cash-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.cash-kpi-card.is-previous {
  background: linear-gradient(145deg, #0e1e30, #13273e);
  border-top: 3px solid #64748b;
}

.cash-kpi-card.is-income {
  background: linear-gradient(145deg, #09211c, #0e332a);
  border-top: 3px solid #10b981;
}

.cash-kpi-card.is-expense {
  background: linear-gradient(145deg, #261118, #361521);
  border-top: 3px solid #f43f5e;
}

.cash-kpi-card.is-balance {
  background: linear-gradient(145deg, #0a243a, #0f3554);
  border-top: 3px solid #38bdf8;
}

.cash-kpi-icon {
  font-size: 26px;
  line-height: 1;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.cash-kpi-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cash-kpi-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
}

.cash-kpi-value {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  margin: 4px 0 2px;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

.cash-kpi-value.is-income {
  color: #34d399;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
}

.cash-kpi-value.is-expense {
  color: #fb7185;
  text-shadow: 0 0 20px rgba(251, 113, 133, 0.25);
}

.cash-kpi-value.is-balance {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.cash-kpi-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.cash-kpi-sub.is-income {
  color: #059669;
}

.cash-kpi-sub.is-expense {
  color: #e11d48;
}

.cash-kpi-sub.is-balance {
  color: #0284c7;
}

/* ---------------- ACTIONS BAR ---------------- */
.cash-actions-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 8px;
}

.cash-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cash-action-btn.btn-open {
  background: linear-gradient(135deg, #059669, #047857);
  border: 1px solid #10b981;
  color: #ffffff;
}

.cash-action-btn.btn-open:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.cash-action-btn.btn-close {
  background: linear-gradient(135deg, #b45309, #92400e);
  border: 1px solid #f59e0b;
  color: #ffffff;
}

.cash-action-btn.btn-close:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.cash-action-btn.btn-reopen {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e2e8f0;
}

.cash-action-btn.btn-reopen:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.cash-helper-note {
  margin: 6px 0 20px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.cash-role-notice {
  margin: 0;
  padding: 12px 18px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* ---------------- OPERATIONAL SESSION BANNER ---------------- */
.cash-session-banner {
  padding: 18px 22px;
  margin: 16px 0 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.08)), #0b1c2d;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cash-session-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cash-session-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.cash-session-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-item small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.stat-item strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.stat-item span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.text-emerald {
  color: #34d399 !important;
}

.text-rose {
  color: #fb7185 !important;
}

.text-cyan {
  color: #38bdf8 !important;
}

/* ---------------- CATEGORIES SECTION WITH TABS ---------------- */
.cash-categories-section {
  margin: 28px 0;
  padding: 22px;
  border-radius: 18px;
  background: rgba(13, 27, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cash-categories-header {
  margin-bottom: 20px;
}

.cash-cat-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cash-cat-nav-wrapper h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.cash-tab-nav {
  display: flex;
  gap: 8px;
  background: rgba(10, 20, 32, 0.7);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.cash-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cash-tab-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.cash-tab-pill.active {
  background: #173450;
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tab-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #10b981; box-shadow: 0 0 8px #10b981; }
.dot-red { background: #f43f5e; box-shadow: 0 0 8px #f43f5e; }
.dot-blue { background: #38bdf8; box-shadow: 0 0 8px #38bdf8; }

.cash-categories-list {
  display: grid;
  gap: 12px;
}

.cash-cat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: #102135;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.15s ease, border-color 0.15s ease;
  gap: 20px;
}

.cash-cat-card:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.3);
}

.cash-cat-card.is-income {
  border-left: 4px solid #10b981;
}

.cash-cat-card.is-expense {
  border-left: 4px solid #f43f5e;
}

.cash-cat-card.is-consolidated {
  border-left: 4px solid #38bdf8;
}

.cash-cat-main {
  flex: 1;
  min-width: 0;
}

.cash-cat-main strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.cash-cat-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cash-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
}

.cash-cat-share {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.cash-cat-bar {
  width: 100%;
  max-width: 320px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.cash-cat-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.cash-cat-fill.is-income { background: #10b981; }
.cash-cat-fill.is-expense { background: #f43f5e; }

.cash-cat-value {
  text-align: right;
  flex-shrink: 0;
}

.cash-cat-value small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cash-cat-value strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.cash-cat-value.is-income strong { color: #34d399; }
.cash-cat-value.is-expense strong { color: #fb7185; }

.cash-cat-dual {
  display: flex;
  gap: 24px;
  text-align: right;
  flex-shrink: 0;
}

.cash-dual-item small {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cash-dual-item b {
  font-size: 1.1rem;
  font-weight: 800;
}

.cash-dual-item.is-income b { color: #34d399; }
.cash-dual-item.is-expense b { color: #fb7185; }

.cash-empty-box {
  padding: 32px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ---------------- DRE GERENCIAL ---------------- */
.cash-dre-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0f2134, #12283e);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cash-dre-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}

.cash-dre-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.cash-dre-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cash-dre-badge.is-positive {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10b981;
  color: #34d399;
}

.cash-dre-badge.is-negative {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid #f43f5e;
  color: #fb7185;
}

.cash-dre-grid {
  display: grid;
  gap: 12px;
}

.dre-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.dre-row strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.dre-row.is-revenue strong { color: #34d399; }
.dre-row.is-expense strong { color: #fb7185; }

.dre-row.is-result {
  border-top: 2px solid rgba(56, 189, 248, 0.3);
  border-bottom: 0;
  padding-top: 14px;
  margin-top: 6px;
  font-weight: 700;
}

.dre-row.is-result.positive strong { color: #34d399; font-size: 1.35rem; }
.dre-row.is-result.negative strong { color: #fb7185; font-size: 1.35rem; }

.cash-dre-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ---------------- RESPONSIVE BREAKPOINTS ---------------- */
@media (max-width: 1024px) {
  .cash-totals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .financial-cash-book {
    padding: 16px;
    border-radius: 16px;
  }
  .cash-book-hero {
    padding: 20px;
    gap: 18px;
  }
  .cash-tools {
    justify-content: flex-start;
    max-width: 100%;
  }
  .cash-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .cash-filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  .cash-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cash-totals-grid {
    grid-template-columns: 1fr;
  }
  .cash-cat-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .cash-cat-value, .cash-cat-dual {
    text-align: left;
    width: 100%;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .cash-cat-nav-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Interatividade e Drilldown no Caixa Financeiro */
.cash-kpi-card.is-clickable {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cash-kpi-card.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: #38bdf8;
}
.cash-cat-card.is-clickable {
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.cash-cat-card.is-clickable:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: #38bdf8;
}
.badge-undated.is-interactive:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}
