/* Tema Escuro (padrão) */
:root,
[data-theme="dark"] {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-input: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #475569;
  --font-mono: "JetBrains Mono", "Fira Code", "Consolas", "Monaco", monospace;
}

/* Tema Claro */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-input: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #cbd5e1;
}

/* Respeitar preferência do sistema */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-input: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #cbd5e1;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* Auth Page */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

input,
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-input);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
}

.auth-toggle {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
}

.error-msg {
  color: var(--danger);
  text-align: center;
  margin-top: 16px;
  min-height: 20px;
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

header h1 {
  font-size: 1.5rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

input[type="month"] {
  width: auto;
  padding: 8px 12px;
}

.btn-logout {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
}

.btn-logout:hover {
  background: var(--bg-input);
}

.btn-settings {
  font-size: 1.25rem;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.btn-settings:hover {
  background: var(--bg-input);
}

.btn-theme {
  font-size: 1.25rem;
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-theme:hover {
  transform: scale(1.1);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  header h1 {
    font-size: 1.25rem;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    gap: 12px;
  }

  main {
    grid-template-columns: 1fr !important;
    padding: 12px;
    gap: 16px;
  }

  .table-section {
    border-radius: 8px;
  }

  .table-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .table-filters {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .table-filters input,
  .table-filters select {
    width: 100%;
  }

  .table-actions {
    width: 100%;
    justify-content: space-between;
  }

  .table-wrapper {
    max-height: 350px;
  }

  table th,
  table td {
    padding: 8px 6px;
    font-size: 0.85rem;
  }

  .budget-grid,
  .budget-cards {
    grid-template-columns: 1fr;
  }

  .charts-section {
    grid-template-columns: 1fr !important;
  }

  .chart-container {
    min-height: 250px;
  }

  .modal {
    margin: 10px;
    padding: 20px;
    max-width: calc(100% - 20px);
  }

  .settings-main {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .settings-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .summary-cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 12px;
  }

  .card-value {
    font-size: 1.25rem;
  }

  .card-label {
    font-size: 0.75rem;
  }

  .header-controls {
    flex-wrap: wrap;
    gap: 6px;
  }

  input[type="month"] {
    width: 100%;
    font-size: 14px;
  }

  .btn-logout,
  .btn-settings,
  .btn-theme {
    padding: 6px 8px;
    font-size: 0.9rem;
  }

  .table-actions button {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* Tabela scrollável horizontal */
  .table-wrapper {
    overflow-x: auto;
  }

  table {
    min-width: 500px;
  }

  /* Budget cards menores */
  .budget-card {
    padding: 12px;
  }

  .budget-card h4 {
    font-size: 0.9rem;
  }

  /* Auth page mobile */
  .auth-card {
    padding: 24px;
    margin: 16px;
  }

  .auth-header h1 {
    font-size: 1.5rem;
  }
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 24px;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card.income {
  border-left-color: var(--success);
}
.card.expense {
  border-left-color: var(--danger);
}
.card.balance {
  border-left-color: var(--primary);
}

.card.initial {
  border-left-color: var(--warning);
}

.card.initial input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--warning);
  text-align: right;
}

.card.initial input:focus {
  outline: none;
  border-color: var(--warning);
}

.card-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.card.income .card-value {
  color: var(--success);
}
.card.expense .card-value {
  color: var(--danger);
}

/* Main Content */
main {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 24px;
  padding: 0 24px 24px;
  flex: 1;
}

@media (max-width: 1024px) {
  main {
    grid-template-columns: 1fr;
  }
}

/* Table Section */
.table-section {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.table-header h2 {
  font-size: 1.125rem;
}

.btn-add {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.btn-add:hover {
  background: var(--primary-dark);
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-filters {
  display: flex;
  gap: 12px;
  margin-right: auto;
}

.table-filters input {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
  min-width: 180px;
}

.table-filters select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text);
}

.btn-export {
  padding: 8px 16px;
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.btn-export:hover {
  background: var(--border);
}

.table-wrapper {
  overflow-x: auto;
  max-height: 500px;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-input);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  position: sticky;
  top: 0;
}

td {
  font-size: 0.9375rem;
}

td[contenteditable="true"] {
  cursor: text;
  transition: background 0.2s;
}

td[contenteditable="true"]:focus {
  background: var(--bg-input);
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

td.saving {
  background: rgba(245, 158, 11, 0.2);
}

td.saved {
  background: rgba(34, 197, 94, 0.2);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.category-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.btn-delete {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Charts Section */
.charts-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chart-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
}

.chart-card h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 450px;
  margin: 20px;
}

.modal h2 {
  margin-bottom: 24px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-buttons button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cancel {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-submit {
  background: var(--primary);
  border: none;
  color: white;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state p {
  margin-top: 8px;
}

/* Budget Section */
.budget-section {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.section-header h2 {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.budget-card {
  background: var(--bg-input);
  border-radius: 10px;
  padding: 16px;
}

.budget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.budget-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.budget-name {
  font-weight: 600;
}

.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.budget-row label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.budget-row input {
  width: 100px;
  padding: 6px 10px;
  text-align: right;
  font-size: 0.9rem;
}

.budget-spent {
  font-weight: 500;
}

.budget-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.budget-progress {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.budget-progress.ok {
  background: var(--success);
}

.budget-progress.warning {
  background: var(--warning);
}

.budget-progress.over {
  background: var(--danger);
}

.budget-remaining {
  font-size: 0.8125rem;
  color: var(--success);
  text-align: right;
}

.budget-remaining.negative {
  color: var(--danger);
}

.budget-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

/* Budget Alert Styles */
.budget-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-alert.danger {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.budget-alert.warning {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.budget-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.budget-card.over {
  border: 2px solid var(--danger);
}

.budget-card.warning {
  border: 2px solid var(--warning);
}

.budget-alert-icon {
  margin-left: auto;
  font-size: 1.25rem;
}

/* Settings Page */
.settings-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.settings-page header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.btn-back:hover {
  background: var(--bg-input);
}

.settings-main {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.settings-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
}

.settings-card h2 {
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.settings-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

.feedback-msg {
  margin-top: 16px;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
}

.feedback-msg.success {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

.feedback-msg.error {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.categories-list {
  margin-bottom: 16px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-input);
  border-radius: 6px;
  margin-bottom: 8px;
}

.category-item .category-name {
  flex: 1;
}

.category-item .category-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-delete-small {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.add-category {
  display: flex;
  gap: 8px;
  align-items: center;
}

.add-category input[type="text"] {
  flex: 1;
}

.add-category input[type="color"] {
  width: 40px;
  height: 38px;
  padding: 2px;
  cursor: pointer;
}

.btn-add-small {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Paginação */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  margin-top: 8px;
}

.pagination-controls button {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.pagination-controls button:hover:not(:disabled) {
  background: var(--primary-dark);
}

.pagination-controls button:disabled {
  background: var(--border);
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-controls span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Botão Importar */
.btn-import {
  padding: 8px 16px;
  background: var(--success);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.btn-import:hover {
  opacity: 0.9;
}

/* ========================================= */
/* UI/UX IMPROVEMENTS (Phase 5) */
/* ========================================= */

/* Loading Overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#loadingOverlay.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Privacy Mode */
.privacy-active .privacy-blur {
  filter: blur(6px);
  user-select: none;
  transition: filter 0.3s ease;
}

/* Privacy Toggle Button */
.btn-privacy {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}

.btn-privacy:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Button Loading State */
button.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

button.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ========================================= */
/* CREDIT CARDS (Phase 6) */
/* ========================================= */

.cards-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-card {
  background: var(--bg-main);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.mini-card:hover {
  transform: translateY(-2px);
}

.mini-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mini-card-title {
  font-weight: 600;
  font-size: 1rem;
}

.mini-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.mini-value {
  font-weight: 600;
  color: var(--text-main);
}

.progress-bar-sm {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill-sm {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.progress-fill-sm.danger {
  background: var(--danger);
}

.btn-add-card-sm {
  border: 2px dashed var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 130px;
  font-weight: 600;
}

.btn-add-card-sm:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.empty-cards {
  grid-column: 1 / -1;
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
}

.empty-cards:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================= */
/* SAVINGS GOALS (Phase 6) */
/* ========================================= */

.goals-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.goal-card {
  background: var(--bg-main);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.goal-card:hover {
  transform: translateY(-2px);
}

.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.goal-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.goal-actions {
  display: flex;
  gap: 4px;
}

.goal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.goal-value {
  font-weight: 600;
  color: var(--text-main);
}

.goal-value.success-text {
  color: var(--success);
}

.goal-deadline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.progress-bar-goal {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-fill-goal {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-add-goal {
  border: 2px dashed var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 160px;
  font-weight: 600;
}

.btn-add-goal:hover {
  border-color: var(--success);
  color: var(--success);
  background: rgba(34, 197, 94, 0.05);
}

.empty-goals {
  grid-column: 1 / -1;
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
}

.empty-goals:hover {
  border-color: var(--success);
  color: var(--success);
}
