/* ========================================================
   Control de Gastos Personal - Mobile-First PWA
   Tema: Novo Black & Emerald (Minimalismo Técnico)
   Autor: Nova
   ======================================================== */

:root {
  --bg-primary: #07080a;
  --bg-card: #0d0f15;
  --bg-card-hover: #12151f;
  --bg-card-highlight: #0f121a;
  --bg-input: #06070a;
  --bg-pill: rgba(255, 255, 255, 0.04);

  --border-main: #1a202c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-dark: #059669;
  --accent-cyan: #38bdf8;
  --accent-yellow: #fbbf24;
  --accent-orange: #fb923c;
  --accent-red: #f43f5e;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  /* Fondo negro mate sólido con sutil resplandor perimetral superior */
  background-image: radial-gradient(circle at 50% -10%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 44px;
  gap: 16px;
}

/* ========================================================
   1. Encabezado & Marca
   ======================================================== */
.app-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  color: #10b981;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.icon-btn {
  background: var(--bg-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.12);
}

/* ========================================================
   2. Barra de Tasas del Día (Black & Emerald)
   ======================================================== */
.rates-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

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

.rates-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.refresh-rates-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.refresh-rates-btn:active {
  opacity: 0.7;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rate-card {
  background: #08090d;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  position: relative;
  transition: all 0.2s;
}

.rate-card[data-rate="bcv_usd"] {
  border-color: var(--border-emerald);
}

.rate-card:active {
  transform: scale(0.97);
}

.rate-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.rate-card[data-rate="bcv_usd"] .rate-val {
  color: var(--accent-emerald);
}

.rate-val {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.rate-edit-btn {
  position: absolute;
  top: 3px;
  right: 4px;
  background: transparent;
  border: none;
  font-size: 9px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.rate-edit-btn:hover, .rate-edit-btn:active {
  opacity: 1;
}

/* ========================================================
   3. Panel de Presupuesto & Semáforo (Black & Emerald)
   ======================================================== */
.budget-card {
  background: var(--bg-card-highlight);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Línea sutil de acento superior */
.budget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  pointer-events: none;
}

.budget-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.budget-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.budget-available-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}

.currency-sym {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-emerald);
}

.budget-available-amount {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
}

.budget-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  margin-left: 6px;
}

.budget-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.budget-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  position: relative;
  z-index: 2;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-lbl {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.metric-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

/* Barra de Progreso Semáforo */
.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #06070a;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #059669, #10b981);
  border-radius: var(--radius-full);
  transition: width 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Animación de alerta roja cuando se acerca o toca el límite */
@keyframes pulseRedAlert {
  0%, 100% {
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 22px rgba(244, 63, 94, 1);
  }
}

.progress-fill.alert-red {
  background: linear-gradient(90deg, #f43f5e, #ef4444) !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.95);
  animation: pulseRedAlert 1.6s infinite ease-in-out;
}

.progress-fill.warning-orange {
  background: linear-gradient(90deg, #f59e0b, #f97316) !important;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.8);
}

.limit-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
  border-radius: var(--radius-full);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 700;
}

.marker-label {
  color: #f43f5e;
  font-weight: 800;
}

.alert-box {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
}

.alert-box.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.alert-box.yellow {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.alert-box.orange {
  background: rgba(249, 115, 22, 0.18);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.alert-box.red {
  background: rgba(244, 63, 94, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.45);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

/* ========================================================
   3.1. Tarjeta de Alcancía de Ahorro & Ritmo Diario (Black & Emerald)
   ======================================================== */
.savings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.savings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.savings-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.savings-icon {
  font-size: 24px;
  background: rgba(16, 185, 129, 0.1);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-emerald);
}

.savings-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.savings-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.savings-val {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.savings-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.savings-target {
  text-align: right;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.target-lbl {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.target-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Radar de Ritmo Diario */
.daily-pace-box {
  background: #08090d;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.pace-icon {
  font-size: 20px;
}

.pace-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pace-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.pace-limit {
  font-size: 13px;
  color: var(--text-main);
  text-align: right;
}

.pace-limit strong {
  color: var(--accent-emerald);
  font-size: 15px;
  font-weight: 800;
}

/* ========================================================
   4. Formulario de Registro (Black & Emerald)
   ======================================================== */
.form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

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

.form-header h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.input-mode-toggle {
  background: #08090d;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 3px;
  display: flex;
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn.active {
  background: var(--accent-emerald);
  color: #04100b;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

/* Input grande de monto */
.amount-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.amount-field-wrap label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.amount-input-box {
  background: var(--bg-input);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 8px 16px;
  transition: all 0.2s;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.amount-input-box:focus-within {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.input-prefix {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-emerald);
  margin-right: 8px;
}

.amount-input-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  width: 100%;
  font-family: inherit;
}

.amount-input-box input::placeholder {
  color: var(--text-dim);
}

/* Selector de Tasas Táctil Píldora */
.section-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.rate-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tasa-pill {
  background: #08090d;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tasa-pill .tasa-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
}

.tasa-pill .tasa-num {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 600;
}

.tasa-pill.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.tasa-pill.active .tasa-name {
  color: var(--accent-emerald);
}

/* Tarjeta de Conversión Instantánea */
.conversion-preview {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conv-label, .conv-impact-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.conv-value {
  font-size: 19px;
  font-weight: 900;
  color: var(--accent-emerald);
}

.conv-impact-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  text-align: right;
}

/* Categorías Píldora */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cat-chip {
  background: #08090d;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 9px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.cat-chip:active {
  transform: scale(0.95);
}

.cat-chip.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent-emerald);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* Campo de Nota */
.input-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.input-group input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Botón de Enviar */
.submit-btn {
  background: #10b981;
  color: #04100b;
  border: none;
  border-radius: var(--radius-full);
  padding: 15px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, opacity 0.15s, background 0.2s;
}

.submit-btn:hover {
  background: #34d399;
}

.submit-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

.submit-btn:active {
  transform: scale(0.97);
  opacity: 0.92;
}

/* ========================================================
   5. Historial de Gastos (Glassmorphism)
   ======================================================== */
.history-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.history-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.history-header h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.history-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-dim);
}

.action-link-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.action-link-btn:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.1);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #08090d;
  border: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

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

.item-cat {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.item-meta {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.item-amounts {
  display: flex;
  flex-direction: column;
}

.item-usd {
  font-size: 15px;
  font-weight: 900;
  color: #f87171;
}

.item-bs {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.item-delete-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.item-delete-btn:hover {
  color: var(--accent-red);
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-main);
  border-radius: var(--radius-lg);
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 34px;
  margin-bottom: 4px;
}

/* ========================================================
   6. Modales (Black & Emerald)
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-card {
  background: #0d0f15;
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 22px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.modal-desc {
  font-size: 12px;
  color: var(--text-muted);
}

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

.settings-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.settings-group input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s;
}

.settings-group input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.helper-text {
  font-size: 11px;
  color: var(--text-dim);
}

.settings-actions-group {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-primary, .btn-secondary, .btn-outline {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #10b981;
  color: #04100b;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: #34d399;
}

.btn-secondary {
  background: var(--bg-pill);
  color: var(--text-muted);
  border: 1px solid var(--border-main);
}

.btn-outline {
  background: var(--bg-pill);
  color: var(--accent-emerald);
  border: 1px solid var(--border-emerald);
}

.file-input-label {
  display: flex;
  align-items: center;
  justify-content: center;
}
