/* DASHBOARD */
.dash-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.dash-stats { display: flex; gap: 28px; }
.dash-stats div { display: flex; flex-direction: column; }
.dash-stats strong { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 600; color: var(--ink); line-height: 1; }
.dash-stats span { font-size: 12px; color: var(--muted); margin-top: 4px; }

.dash-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.dash-tab {
  padding: 11px 18px; background: transparent; border: none;
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.dash-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

.dash-nivel-section { margin-bottom: 40px; }
.dash-nivel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.dash-nivel-head h3 { font-size: 22px; }

.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prueba-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  display: flex; flex-direction: column;
}
.prueba-card.is-premium { border-color: var(--amber); background: linear-gradient(180deg, #FFFBEB, var(--surface) 60%); }
.prueba-icono { font-size: 26px; line-height: 1; }
.prueba-actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }

/* USER CHIP */
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; transition: all 0.15s;
}
.user-chip:hover { background: var(--bg-2); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}

/* DATA TABLE (compartida con admin) */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.data-table tbody tr:hover { background: var(--bg-2); }
.data-table tr:last-child td { border-bottom: none; }

@media (max-width: 880px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
