/* ===========================
   MODALS
   =========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding-bottom: var(--safe-bottom);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-sm {
  max-height: 70vh;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 1;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Drag handle */
.modal::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--border-light);
  border-radius: 99px;
  margin: 12px auto 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition), transform var(--transition);
}

.modal-close:active {
  transform: scale(0.9);
  background: var(--border);
}

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

.modal-footer {
  padding: 12px 20px calc(var(--safe-bottom) + 12px);
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  position: sticky;
  bottom: 0;
}

/* ===========================
   TYPE SELECTOR (TX Modal)
   =========================== */
.tx-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 20px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 4px;
  gap: 4px;
}

.tx-type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.tx-type-btn[data-type="expense"].active {
  background: var(--expense-bg);
  color: var(--expense);
  border: 1px solid var(--expense-border);
}

.tx-type-btn[data-type="income"].active {
  background: var(--income-bg);
  color: var(--income);
  border: 1px solid var(--income-border);
}

/* ===========================
   FORM ELEMENTS
   =========================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  height: 48px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--transition), background var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(124,58,237,0.06);
}

.form-input::placeholder { color: var(--text-muted); }

/* Date input */
input[type="date"].form-input {
  color-scheme: dark;
  padding-right: 8px;
}

[data-theme="light"] input[type="date"].form-input {
  color-scheme: light;
}

.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-primary);
  resize: none;
  line-height: 1.5;
  transition: border-color var(--transition);
}

.form-textarea:focus { border-color: var(--accent); }
.form-textarea::placeholder { color: var(--text-muted); }

/* Amount Input */
.amount-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.amount-input-wrap:focus-within { border-color: var(--accent); }

.amount-currency {
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  height: 48px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}

.amount-input {
  flex: 1;
  height: 48px;
  background: none;
  padding: 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.amount-input::placeholder { color: var(--text-muted); font-weight: 400; font-size: 15px; }

/* ===========================
   CATEGORY GRID (Modal)
   =========================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.cat-btn:active { transform: scale(0.92); }

.cat-btn .cat-emoji {
  font-size: 20px;
  line-height: 1;
}

.cat-btn.selected {
  border-width: 2px;
  background: rgba(124,58,237,0.1);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ===========================
   EMOJI GRID (Category Editor)
   =========================== */
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.emoji-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.emoji-btn:active { transform: scale(0.88); }
.emoji-btn.selected { border-color: var(--accent); background: rgba(124,58,237,0.15); }

/* Color Grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.color-btn:active { transform: scale(0.85); }
.color-btn.selected { border-color: white; transform: scale(1.1); }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  flex: 1;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-primary:active {
  transform: scale(0.97);
  background: var(--accent-dark);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  flex: 0.6;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}

.btn-secondary:active {
  transform: scale(0.97);
  background: var(--bg-card-hover);
}

.btn-danger {
  flex: 1;
  height: 48px;
  border-radius: var(--radius);
  background: var(--expense-bg);
  border: 1px solid var(--expense-border);
  color: var(--expense);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.btn-danger:active {
  transform: scale(0.97);
  background: rgba(239,68,68,0.2);
}

/* ===========================
   CONFIRM MODAL
   =========================== */
.confirm-message {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===========================
   TOAST NOTIFICATIONS
   =========================== */
.toast-container {
  position: fixed;
  top: calc(var(--safe-top) + 70px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  animation: toastIn 0.35s cubic-bezier(0.34,1.2,0.64,1);
  pointer-events: all;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.toast.hiding {
  animation: toastOut 0.3s ease forwards;
}

.toast-icon { font-size: 16px; flex-shrink: 0; }

.toast-success { border-left: 3px solid var(--income); }
.toast-error { border-left: 3px solid var(--expense); }
.toast-info { border-left: 3px solid var(--blue); }
.toast-warning { border-left: 3px solid var(--orange); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(-8px) scale(0.95); }
}

/* ===========================
   CONTEXT MENU (long press / action)
   =========================== */
.context-menu {
  position: fixed;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  min-width: 180px;
  overflow: hidden;
  animation: fadeIn 0.15s ease;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  width: 100%;
  text-align: left;
}

.context-item:last-child { border-bottom: none; }
.context-item:active { background: var(--bg-card-hover); }
.context-item.danger { color: var(--expense); }

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 99px;
}

/* ===========================
   OFFLINE BANNER
   =========================== */
.offline-banner {
  position: fixed;
  top: calc(var(--safe-top) + var(--header-height));
  left: 0;
  right: 0;
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 6px;
  font-size: 12px;
  font-weight: 600;
  z-index: 50;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.offline-banner.visible { transform: translateY(0); }

/* ===========================
   INSTALL BANNER (PWA)
   =========================== */
.install-banner {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 8px);
  left: 16px;
  right: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(37,99,235,0.95));
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  animation: slideUp 0.4s cubic-bezier(0.34,1.2,0.64,1);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.install-banner.hiding {
  transform: translateY(200%);
}

.install-banner-icon { font-size: 28px; flex-shrink: 0; }

.install-banner-info { flex: 1; }

.install-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.install-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.install-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

.install-btn {
  padding: 8px 14px;
  background: white;
  color: var(--accent-dark);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

.install-dismiss {
  padding: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

/* ===========================
   LOADING SPINNER
   =========================== */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===========================
   TX DETAIL SHEET
   =========================== */
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
  font-size: 13px;
  color: var(--text-muted);
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  max-width: 60%;
}

.detail-amount-big {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  padding: 20px 0;
}

/* =====================
   PAYMENT METHOD GRID
   ===================== */
.payment-method-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.payment-btn .pm-emoji {
  font-size: 15px;
}

.payment-btn.selected {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent);
}

/* Form select */
.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-select option {
  background: var(--surface-2);
  color: var(--text-primary);
}

/* =====================
   RECURRING TOGGLE
   ===================== */
.recurring-row {
  display: flex;
  align-items: center;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-track {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-label input:checked + .toggle-track {
  background: var(--accent);
}

.toggle-label input:checked + .toggle-track::after {
  transform: translateX(18px);
}

.toggle-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* =====================
   SALARY CONFIG CARD
   ===================== */
.salary-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.salary-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.salary-input-row {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.salary-input-row:focus-within {
  border-color: var(--accent);
}

.salary-input {
  flex: 1;
  height: 48px;
  background: transparent;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  padding-left: 8px;
}

.salary-input:focus { outline: none; }

.salary-days-row {
  display: flex;
  flex-direction: column;
}

/* =====================
   SALARY OVERVIEW CARD
   ===================== */
.salary-overview-card {
  margin-bottom: 16px;
  padding: 16px;
}

.salary-ov-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.salary-ov-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.salary-ov-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.salary-ov-value {
  font-size: 14px;
  font-weight: 600;
}

.salary-ov-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.salary-ov-total .salary-ov-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.salary-ov-total .salary-ov-value {
  font-size: 18px;
  font-weight: 700;
}

.salary-ov-bar-wrap {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  margin-top: 12px;
  overflow: hidden;
}

.salary-ov-bar {
  height: 100%;
  border-radius: 99px;
  background: var(--income);
  transition: width 0.6s ease, background 0.3s;
}

.salary-ov-pct {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
}

/* =====================
   DASHBOARD SALARY BAR
   ===================== */
.salary-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.salary-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  overflow: hidden;
}

.salary-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--income);
  transition: width 0.6s ease, background 0.3s;
}

.salary-bar-pct {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-align: right;
}

/* =====================
   MONTH PICKER
   ===================== */
.month-nav-label-btn {
  cursor: pointer;
  text-decoration: underline dotted var(--text-muted);
  underline-offset: 3px;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.month-nav-label-btn:active {
  background: var(--surface-2);
}

.mp-year-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.mp-year-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.mp-months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mp-month-btn {
  padding: 14px 8px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mp-month-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 700;
}

.mp-month-btn:active {
  transform: scale(0.95);
  background: var(--accent);
  color: white;
}

/* =====================
   ACTION SHEET (replaces context menu for tx)
   ===================== */
.action-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  padding: 12px 16px 40px;
  z-index: 1000;
  animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.action-sheet-title {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  font-weight: 500;
}

.action-sheet-btn {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 12px;
  margin-bottom: 4px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.action-sheet-btn:active { background: var(--surface-2); }
.action-sheet-btn.danger { color: var(--expense); }
.action-sheet-btn.cancel {
  color: var(--text-secondary);
  margin-top: 8px;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding-top: 16px;
}

/* =====================
   BILLS PAGE
   ===================== */
.bills-summary-bar {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
  gap: 8px;
}

.bsb-item { flex: 1; text-align: center; }
.bsb-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.bsb-val { font-size: 14px; font-weight: 700; }
.bsb-sep { width: 1px; background: var(--border); }

.bill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.bill-item.overdue { border-color: #f59e0b44; background: rgba(245,158,11,0.05); }
.bill-item.paid { opacity: 0.5; }

.bill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.bill-info { flex: 1; min-width: 0; }
.bill-desc { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.bill-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.bill-right { text-align: right; flex-shrink: 0; }
.bill-amount { font-size: 16px; font-weight: 700; color: var(--expense); }
.bill-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  margin-top: 4px;
  display: inline-block;
}
.bill-status.pending { background: rgba(239,68,68,0.15); color: var(--expense); }
.bill-status.paid    { background: rgba(16,185,129,0.15); color: var(--income); }
.bill-status.overdue { background: rgba(245,158,11,0.15); color: #f59e0b; }

.bills-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 4px 8px;
}

/* Salary entry block */
.salary-entry-block { border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.salary-entry-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
