/* Budget App Styles */
:root {
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --surface2: #F0F1F3;
  --border: #E0E3E8;
  --text: #1A1D21;
  --text-muted: #6B7280;
  --accent: #2563EB;
  --green: #059669;
  --red: #DC2626;
  --amber: #D97706;
  --radius: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --overlay-bg: rgba(0,0,0,0.3);
}

[data-theme="dark"] {
  --bg: #0F1419;
  --surface: #1A2332;
  --surface2: #243040;
  --border: #2E3E4E;
  --text: #E8E6E1;
  --text-muted: #9CA3AF;
  --accent: #4F9CF7;
  --green: #34D399;
  --red: #F87171;
  --amber: #FBBF24;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --overlay-bg: rgba(0,0,0,0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: -webkit-fill-available; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  -webkit-appearance: none;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--surface); color: var(--text); }
.theme-toggle:active { background: var(--surface2); }

/* Login */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  padding: 20px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: 2em; margin-bottom: 4px; }
.subtitle { color: var(--text-muted); margin-bottom: 24px; }
.login-card input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.login-card input:focus { border-color: var(--accent); }
.login-card button {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  -webkit-appearance: none;
}
.login-card button:hover { opacity: 0.9; }
.login-card button:active { opacity: 0.7; }
.login-card button:disabled { opacity: 0.5; cursor: not-allowed; }
.error { color: var(--red); margin-top: 8px; font-size: 14px; }

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
  min-height: 52px;
}
header h1 { font-size: 1.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; gap: 6px; flex-shrink: 0; }

.icon-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  -webkit-appearance: none;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
.icon-btn:active { background: var(--surface2); }
.icon-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.icon-btn-sm {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.icon-btn-sm:active { background: var(--surface2); }

/* Desktop: show on hover */
@media (hover: hover) {
  .icon-btn-sm { opacity: 0; transition: opacity 0.15s; }
  .item-row:hover .icon-btn-sm { opacity: 1; }
  .item-row:hover .sort-btn { opacity: 1 !important; }
}

/* Touch: always visible */
@media (hover: none) {
  .icon-btn-sm { opacity: 0.7; }
}

/* Save/Cancel always visible */
.save-new-btn, .cancel-new-btn,
.save-edit-btn, .cancel-edit-btn {
  opacity: 1 !important;
  font-size: 18px !important;
}
.save-new-btn, .save-edit-btn { color: var(--green) !important; }
.cancel-new-btn, .cancel-edit-btn { color: var(--red) !important; }

/* Select bar */
.select-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 52px;
  z-index: 9;
  flex-wrap: wrap;
}
#select-count { flex: 1; font-size: 14px; color: var(--text-muted); min-width: 80px; }
.select-action {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface2);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-appearance: none;
}
.select-action:hover { background: var(--border); }
.select-action:active { background: var(--text-muted); }
.select-action:disabled { opacity: 0.4; cursor: not-allowed; }
.select-action.danger { color: var(--red); border-color: var(--red); }
.select-action.danger:hover:not(:disabled) { background: rgba(248,113,113,0.15); }

/* Month List */
.month-list { padding: 16px; }
.year-group { margin-bottom: 20px; }
.year-group h2 { font-size: 1em; color: var(--text-muted); margin-bottom: 10px; }
.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
}

.month-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  box-shadow: var(--shadow);
}
.month-card:hover { border-color: var(--accent); }
.month-card:active { transform: scale(0.98); }
.month-card.selected { border-color: var(--accent); background: var(--surface2); }
.month-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  pointer-events: none;
}
.month-label { font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.month-stats { display: flex; gap: 10px; font-size: 12px; margin-bottom: 4px; }
.month-stats .income { color: var(--green); }
.month-stats .expense { color: var(--red); }
.month-stats .saving { color: var(--amber); }
.month-paid-info { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.month-balance { font-weight: 700; font-size: 1.05em; }
.month-balance.positive { color: var(--green); }
.month-balance.negative { color: var(--red); }

/* Empty states */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 16px;
}
.empty-items {
  text-align: center;
  padding: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}
.loading { text-align: center; padding: 40px; color: var(--text-muted); }

/* FAB */
.fab {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79,156,247,0.3);
  z-index: 20;
  transition: transform 0.15s;
  -webkit-appearance: none;
}
.fab:active { transform: scale(0.9); }

/* Detail */
.detail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
  min-height: 52px;
}
.detail-header h2 { font-size: 1.15em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.editable-title {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.editable-title:hover { background: var(--surface2); }
.title-edit-input {
  font-size: 1.15em;
  font-weight: 700;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 4px 8px;
  width: 100%;
  outline: none;
  font-family: inherit;
}
.delete-month { color: var(--red); border-color: var(--red); }
.delete-month:hover { background: rgba(248,113,113,0.1); }

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px 16px;
}
.summary-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.summary-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.summary-value { font-size: 1.2em; font-weight: 700; margin-top: 4px; }
.summary-sub { display: flex; gap: 8px; margin-top: 6px; font-size: 11px; flex-wrap: wrap; }
.paid-tag { color: var(--green); }
.unpaid-tag { color: var(--amber); }
.available-tag { color: var(--accent); font-weight: 600; }
.mode-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.7rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
}
.mode-toggle:hover { border-color: var(--accent); color: var(--accent); }
.mode-toggle.active { border-color: var(--green); color: var(--green); }

.income-card .summary-value { color: var(--green); }
.expense-card .summary-value { color: var(--red); }
.savings-card .summary-value { color: var(--amber); }
.balance-card.positive .summary-value { color: var(--green); }
.balance-card.negative .summary-value { color: var(--red); }

/* Progress bar */
.progress-bar {
  margin: 0 16px 14px;
  height: 28px;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7C3AED);
  border-radius: 14px;
  transition: width 0.5s ease;
}
.progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Notes */
.notes-section {
  margin: 0 16px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.notes-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.notes-text { font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.notes-placeholder { color: var(--text-muted); font-style: italic; cursor: pointer; }
.notes-edit textarea {
  width: 100%;
  min-height: 60px;
  padding: 10px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  -webkit-appearance: none;
}
.notes-actions { display: flex; gap: 8px; margin-top: 8px; justify-content: flex-end; }
.primary-sm { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; font-weight: 600; }

/* Sections */
.section {
  margin: 0 16px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.section-header h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.section-header-right { display: flex; align-items: center; gap: 12px; }
.section-paid-info { font-size: 12px; color: var(--text-muted); }
.section-total { font-weight: 700; font-size: 14px; }

/* Paid summary bar */
.paid-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.paid-bar-label { color: var(--green); white-space: nowrap; font-weight: 600; }
.paid-bar-label.remaining { color: var(--amber); }
.paid-bar {
  flex: 1;
  height: 6px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
}
.paid-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Paid item styling */
.item-paid {
  background: rgba(52, 211, 153, 0.04);
}
.item-paid .item-name {
  text-decoration: line-through;
  color: var(--text-muted);
}
.item-paid .item-amount {
  color: var(--text-muted);
}

/* Paid toggle always visible */
.paid-toggle {
  opacity: 0.8 !important;
  font-size: 16px !important;
  padding: 4px !important;
  min-width: 28px !important;
}

/* Item rows */
.item-row {
  display: grid;
  grid-template-columns: auto auto 1fr 100px 90px auto auto;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  gap: 6px;
  min-height: 48px;
}
.item-row:last-child { border-bottom: none; }

.sort-btns {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}
.sort-btn {
  font-size: 9px !important;
  padding: 2px 4px !important;
  min-width: 24px !important;
  min-height: 20px !important;
  line-height: 1;
  color: var(--text-muted) !important;
}
.sort-btn:disabled { opacity: 0.15 !important; cursor: default; }
.sort-btn:not(:disabled):active { color: var(--accent) !important; background: var(--surface2); }

.item-name { flex: 1; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.item-date {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 95px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.item-amount { font-weight: 600; font-size: 14px; min-width: 90px; text-align: right; white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.item-amount.zero { color: var(--text-muted); }

.add-item-btn {
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  -webkit-appearance: none;
}
.add-item-btn:active { background: var(--surface2); }

/* Input rows */
.new-item-row {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  background: rgba(79, 156, 247, 0.05);
}
.new-item-row input, .input-name-edit, .input-amount-edit {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.new-item-row input:focus, .input-name-edit:focus, .input-amount-edit:focus {
  border-color: var(--accent);
}
.input-name, .input-name-edit { flex: 1; min-width: 0; }
.input-date, .input-date-edit {
  width: 130px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
}
.input-amount, .input-amount-edit { width: 90px; text-align: right; }
input:disabled { opacity: 0.5; }
.input-error { border-color: var(--red) !important; animation: shake 0.3s; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Overlay / Dialog */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
  animation: fadeIn 0.15s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 24px 20px calc(24px + var(--safe-bottom));
  width: 100%;
  max-width: 480px;
  animation: slideUpDialog 0.25s ease;
}
@keyframes slideUpDialog { from { transform: translateY(100%); } to { transform: translateY(0); } }

.dialog h3 { margin-bottom: 16px; font-size: 18px; }
.dialog label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.dialog input[type="number"], .dialog select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
}
.dialog input[type="number"]:focus, .dialog select:focus { border-color: var(--accent); }
.dialog input[type="checkbox"] { margin-right: 6px; vertical-align: middle; accent-color: var(--accent); width: 18px; height: 18px; }
.dialog-actions { display: flex; gap: 8px; margin-top: 20px; }
.dialog-actions button {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-appearance: none;
}
.dialog-actions button:active { background: var(--border); }
.dialog-actions button:disabled { opacity: 0.5; cursor: not-allowed; }
.dialog-actions .primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }

/* Tour */
#tour-overlay { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
#tour-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  pointer-events: all;
}
#tour-spotlight {
  position: fixed;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.65);
  background: transparent;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10000;
}
#tour-tooltip {
  position: fixed;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  max-width: calc(100vw - 32px);
  pointer-events: all;
  z-index: 10001;
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#tour-tooltip.center { transform: translate(-50%, -50%); }
#tour-step-count {
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
#tour-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
#tour-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
#tour-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#tour-skip {
  background: none; border: none; color: var(--text-muted);
  font-size: 13px; cursor: pointer; padding: 8px 0;
}
#tour-next {
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; padding: 10px 18px; font-size: 14px;
  font-weight: 600; cursor: pointer;
}
#tour-dots { display: flex; gap: 6px; }
.tour-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: all 0.2s;
}
.tour-dot.active { background: var(--accent); transform: scale(1.3); }

/* Scrollbar (desktop) */
@media (hover: hover) {
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
}

/* ===== MOBILE (up to 480px) ===== */
@media (max-width: 480px) {
  .month-grid { grid-template-columns: 1fr; gap: 8px; }
  .month-list { padding: 12px; }
  .month-card { padding: 12px; }
  .month-label { font-size: 14px; }
  
  .summary-cards { gap: 8px; padding: 12px; }
  .summary-card { padding: 10px; }
  .summary-label { font-size: 10px; }
  .summary-value { font-size: 1.1em; }
  
  .section { margin: 0 12px 12px; }
  .progress-bar { margin: 0 12px 12px; }
  .notes-section { margin: 0 12px 12px; }
  
  .item-row { padding: 8px; gap: 4px; }
  .item-name { font-size: 13px; }
  .item-amount { font-size: 13px; min-width: 65px; }
  
  .new-item-row { padding: 8px; }
  .new-item-row input, .input-name-edit, .input-amount-edit { padding: 10px 8px; }
  .input-amount, .input-amount-edit { width: 80px; }
  
  .fab { width: 52px; height: 52px; font-size: 26px; bottom: calc(16px + var(--safe-bottom)); right: 16px; }
  
  /* Dialog as bottom sheet on mobile */
  .dialog { border-radius: 16px 16px 0 0; }
  
  #tour-tooltip { width: calc(100vw - 32px); }
}

/* ===== TABLET (481px - 768px) ===== */
@media (min-width: 481px) and (max-width: 768px) {
  .month-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .month-list { padding: 16px; }
  
  .summary-cards { padding: 14px 16px; gap: 10px; }
  .summary-value { font-size: 1.15em; }
  
  .section { margin: 0 16px 14px; }
  
  /* Dialog centered on tablet */
  .overlay { align-items: center; padding: 20px; }
  .dialog { border-radius: var(--radius); max-width: 400px; }
}

/* ===== DESKTOP (769px+) ===== */
@media (min-width: 769px) {
  .month-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
  .month-list { padding: 20px; max-width: 1200px; margin: 0 auto; }
  
  .month-detail { max-width: 800px; margin: 0 auto; }
  
  .summary-cards { padding: 16px 20px; gap: 12px; }
  .summary-value { font-size: 1.3em; }
  
  .section { margin: 0 20px 20px; }
  .progress-bar { margin: 0 20px 16px; }
  .notes-section { margin: 0 20px 16px; }
  
  /* Dialog centered on desktop */
  .overlay { align-items: center; padding: 20px; }
  .dialog { border-radius: var(--radius); max-width: 400px; }
  
  .month-card:hover { transform: translateY(-2px); }
}
