/**
 * 🎨 NeuronEdge Labs™ Premium Obsidian Glassmorphism Stylesheet (styles.css)
 * Complete dark mode system with glowing emerald & cyan highlights.
 * Fully optimized with subtle animations, custom scrollbars, and premium visual components.
 */

:root {
  --bg-dark: #090b0e;
  --bg-darker: #050608;
  --panel-bg: rgba(16, 20, 28, 0.65);
  --panel-bg-solid: #10141c;
  --panel-bg-hover: rgba(22, 28, 38, 0.85);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-glow: rgba(16, 185, 129, 0.25);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.4);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.4);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.4);
  
  --font-sans: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);
}

/* 1. Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle background glowing spots */
.glowing-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  animation: floatOrbs 20s infinite alternate ease-in-out;
}

.orb-emerald {
  width: 450px;
  height: 450px;
  background: var(--emerald);
  top: -100px;
  right: -50px;
}

.orb-cyan {
  width: 500px;
  height: 500px;
  background: var(--cyan);
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes floatOrbs {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.1); }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald);
}

/* 2. Brand Header Component */
.app-header {
  background-color: rgba(5, 6, 8, 0.85);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
}

.header-container {
  max-width: 1650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.title-meta h1 {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.accent-text {
  color: var(--emerald);
  text-shadow: 0 0 15px var(--emerald-glow);
}

.company-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.system-meta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
}

/* 3. Main Dashboard Layout */
.dashboard-grid {
  flex: 1;
  max-width: 1650px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 28% 40% 32%;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 100%;
  }
}

/* 4. Glassmorphism Panel Styling */
.glass-panel {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.panel-icon {
  font-size: 1.15rem;
}

.panel-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Helper Flex Utility Classes */
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-1 { flex: 1; }
.font-mono { font-family: var(--font-mono); }
.text-emerald { color: var(--emerald); }
.text-cyan { color: var(--cyan); }
.text-rose { color: var(--rose); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--text-muted); }

/* 5. Input Controls & Buttons */
.control-actions {
  display: flex;
  gap: 10px;
}

.btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--emerald);
  color: var(--bg-darker);
}

.btn-primary:hover {
  background-color: #34d399;
  transform: translateY(-1px);
}

.btn-cyan {
  background-color: var(--cyan);
  color: var(--bg-darker);
}

.btn-cyan:hover {
  background-color: #22d3ee;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-muted {
  background-color: rgba(244, 63, 94, 0.08);
  color: var(--rose);
  border-color: rgba(244, 63, 94, 0.2);
}

.btn-muted:hover {
  background-color: rgba(244, 63, 94, 0.18);
}

.btn-large {
  padding: 14px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-mini {
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: 6px;
}

.btn-glow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-glow.btn-primary:hover {
  box-shadow: 0 0 15px var(--emerald-glow);
}

.btn-glow.btn-cyan:hover {
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Textarea styling */
.textarea-wrapper {
  background: rgba(5, 6, 8, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition-fast);
}

.textarea-wrapper:focus-within {
  border-color: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

#pasteboard {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 14px;
  resize: none;
  height: 280px;
  line-height: 1.5;
}

.textarea-footer {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Forms */
.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

#parse-mode {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  padding: 10px;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

#parse-mode:focus {
  border-color: var(--emerald);
}

/* 6. Tabs Header Component */
.tabs-header {
  display: flex;
  background-color: rgba(5, 6, 8, 0.7);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 10px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--emerald);
  background-color: rgba(255, 255, 255, 0.04);
}

.badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.badge-rose { background: rgba(244, 63, 94, 0.15); color: var(--rose); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

.tab-content {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-scroll-area {
  overflow-y: auto;
  flex: 1;
  max-height: 720px;
}

.tab-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-section-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 7. Ledger Cards & Grids */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ledger-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.ledger-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: scale(1.005);
}

.ledger-card.selected {
  border-color: var(--emerald-glow);
  background: rgba(16, 185, 129, 0.04);
}

/* Glass glowing strips on cards */
.ledger-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.ledger-card.bureau-experian::before { background-color: var(--emerald); }
.ledger-card.bureau-equifax::before { background-color: var(--cyan); }
.ledger-card.bureau-transunion::before { background-color: var(--rose); }
.ledger-card.bureau-fuzzy::before { background-color: var(--amber); }

/* Custom Checkbox Widget */
.card-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.checkbox-custom {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.checkbox-custom:checked {
  background-color: var(--emerald);
  border-color: var(--emerald);
}

.checkbox-custom:checked::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--bg-darker);
  font-size: 0.65rem;
}

.card-details-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.card-title-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bureau-tag {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.bureau-tag.tag-experian { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.bureau-tag.tag-equifax { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.bureau-tag.tag-transunion { background: rgba(244, 63, 94, 0.15); color: var(--rose); }
.bureau-tag.tag-fuzzy { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

.card-balance {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rose);
}

.card-balance.zero {
  color: var(--text-muted);
}

.card-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.info-value {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.reason-bubble {
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed var(--border-color);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.reason-bubble i {
  color: var(--cyan);
  margin-right: 4px;
}

.raw-source-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  border-left: 2px solid var(--border-color);
}

/* Personal Details Mini Card Layout */
.profile-field-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.status-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-badge.inconsistent { background: rgba(244, 63, 94, 0.15); color: var(--rose); }
.status-badge.accurate { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }

/* Empty state design */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  border: 1.5px dashed var(--border-color);
  border-radius: 12px;
}

.empty-icon {
  font-size: 2.2rem;
  color: var(--text-muted);
}

.empty-state p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 280px;
}

/* 8. Dispute Letters Builder Area */
.consumer-profile-card {
  background: rgba(5, 6, 8, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
}

.profile-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-inputs input {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  outline: none;
  transition: var(--transition-fast);
}

.profile-inputs input:focus {
  border-color: var(--cyan);
}

.profile-inputs input:nth-child(2) {
  grid-column: span 2;
}

.letter-viewer-container {
  background: rgba(5, 6, 8, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
}

.letter-selector-bar {
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-color);
  padding: 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.letter-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.letter-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.letter-tab-btn.active {
  background-color: var(--cyan);
  color: var(--bg-darker);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.letter-body-wrapper {
  padding: 0;
  background: transparent;
  display: flex;
}

#letter-body {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  padding: 16px;
  color: #c1c7d0;
  font-size: 0.72rem;
  line-height: 1.5;
  height: 300px;
}

.letter-actions {
  display: flex;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
  gap: 8px;
}

/* 9. Database Visual Terminal Workspace */
.db-workspace {
  margin-top: 10px;
}

.terminal-panel {
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  background: #0d0f12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background-color: #f43f5e; }
.terminal-dot.yellow { background-color: #fbbf24; }
.terminal-dot.green { background-color: #10b981; }

.terminal-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 6px;
}

.terminal-body {
  padding: 14px;
  height: 220px;
  overflow-y: auto;
  font-size: 0.72rem;
  color: #34d399;
  line-height: 1.6;
}

.terminal-line {
  margin-bottom: 6px;
  word-break: break-all;
}

.terminal-line.timestamp {
  color: var(--text-muted);
}

.terminal-line.success {
  color: #34d399;
}

.terminal-line.info {
  color: #60a5fa;
}

.terminal-line.warn {
  color: #fbbf24;
}

/* 10. Landing Branded Footer */
.app-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 24px;
  margin-top: auto;
}

.footer-container {
  max-width: 1650px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.regulatory-footer {
  font-size: 0.68rem !important;
  color: var(--text-muted) !important;
  margin-top: 6px;
  line-height: 1.4;
  max-width: 900px;
}

.regulatory-footer a {
  color: var(--emerald);
  text-decoration: none;
}

.regulatory-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald);
}

/* 11. Payment History Grid */
.payment-history-grid-container {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
}

.history-grid-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.payment-history-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}

@media (max-width: 640px) {
  .payment-history-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.month-cell {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.month-cell:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.month-lbl {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.month-val {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 4px;
  margin-top: 2px;
  text-align: center;
  display: inline-block;
  min-width: 24px;
}

/* Status specific coloring for month-val */
.month-val.ok {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.month-val.late30 {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.month-val.late60 {
  color: #f97316; /* orange */
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.month-val.late90 {
  color: var(--rose);
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.month-val.co {
  color: #9ca3af;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(156, 163, 175, 0.2);
}

/* Clicked/Toggled Dispute Month Glow */
.month-cell.disputed {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

.month-cell.disputed .month-lbl {
  color: var(--cyan);
}

