/* === Neo Bank Futurista (blanco & cian) — FRONTEND UI v1.2 tabs === */
.neo-bank-app {
  --bg: #ffffff;
  --card: #f7fbff;
  --cyan: #00c2ff;
  --cyan-strong: #00a8e8;
  --ink: #0a2233;
  --muted: #688395;
  --ring: rgba(0, 194, 255, 0.45);
  --shadow: 0 10px 30px rgba(0,0,0,0.08), 0 6px 18px rgba(0,194,255,0.15);
  color: var(--ink);
}

.neo-card {
  background: linear-gradient(180deg, var(--card), #fff);
  border: 1px solid rgba(0,194,255,0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 960px;
  margin: 16px auto;
}

.neo-card h2 { font-size: 28px; margin: 0 0 6px 0; }
.neo-card .muted { color: var(--muted); margin: 0 0 16px 0; }

.neo-card label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.neo-card input,
.neo-card select,
.neo-card button,
.neo-card textarea {
  font-family: inherit;
  font-size: 16px;
}

.neo-card input, .neo-card select, .neo-card textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: box-shadow .2s, border-color .2s;
  background: #fff;
}

.neo-card input:focus, .neo-card select:focus, .neo-card textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--ring);
}

.neo-btn {
  margin-top: 14px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-strong));
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.neo-btn.outline {
  background: transparent;
  color: var(--cyan-strong);
  border: 2px solid var(--cyan-strong);
}

.neo-feedback { margin-top: 10px; min-height: 22px; font-weight: 600; }
.hidden { display: none; }

.neo-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}

.neo-balance {
  margin: 14px 0 18px 0;
  border: 1px dashed rgba(0,194,255,0.4);
  border-radius: 16px;
  padding: 16px;
  background: rgba(0,194,255,0.06);
}

.neo-balance .label { color: var(--muted); font-weight: 600; }
.neo-balance .amount { font-size: 36px; font-weight: 800; color: var(--ink); }

/* Tabs */
.neo-tabs { margin-top: 8px; }
.neo-tablist {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0,194,255,0.25);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.neo-tablist button {
  background: #fff;
  border: 1px solid rgba(0,194,255,0.35);
  border-bottom: 2px solid transparent;
  border-radius: 12px 12px 0 0;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #0a2233;
}
.neo-tablist button[aria-selected="true"] {
  border-color: var(--cyan-strong);
  border-bottom-color: transparent;
  color: #022033;
  box-shadow: 0 4px 10px rgba(0,194,255,0.12);
}
.neo-tabpanel { display: none; }
.neo-tabpanel.active { display: block; }

/* Enviar dinero */
.neo-transfer h3 { margin-top: 0; }
.neo-transfer .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.neo-transfer .field label { margin-top: 0; }
.neo-transfer .mode {
  display: flex; gap: 10px; align-items: center;
  margin: 6px 0 4px 0;
}
.neo-transfer .summary {
  margin-top: 10px; padding: 12px; border-radius: 12px;
  background: rgba(0,194,255,0.06);
  border: 1px dashed rgba(0,194,255,0.35);
  font-weight: 600;
}

/* Perfil */
.neo-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 800px) {
  .neo-profile-grid { grid-template-columns: 1fr; }
}
.neo-card-mini {
  background: #fff;
  border: 1px solid rgba(0,194,255,0.25);
  border-radius: 14px;
  padding: 12px;
}
.neo-card-mini h4 { margin: 0 0 8px 0; }
.neo-deflist {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
}
.neo-deflist dt { color: var(--muted); }
.neo-deflist dd { margin: 0; font-weight: 700; }

/* Historial */
.neo-history .toolbar {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
  margin-bottom: 10px;
}
.neo-table {
  width: 100%;
  border-collapse: collapse;
}
.neo-table th, .neo-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.neo-table th { text-align: left; font-size: 14px; color: var(--muted); }
.neo-table .amount-pos { font-weight: 800; }
.neo-table .amount-neg { font-weight: 800; }
.neo-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,194,255,0.12);
  border: 1px solid rgba(0,194,255,0.4);
  font-size: 12px;
  font-weight: 700;
}
