/* ─── AUTH.CSS — District Cartels ─────────────────────────────────────────── */

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

:root {
  --black:   #080808;
  --white:   #f5f5f0;
  --silver:  #c0c0c0;
  --dim:     rgba(255,255,255,0.45);
  --border:  rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.03);
  --fd: 'Cormorant Garamond', serif;
  --fb: 'Tajawal', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--fb);
  font-weight: 300;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ─── AUTH PAGES LAYOUT ─────────────────────────────────────────────────── */

/* Animated background lines */
.auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.auth-bg-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.04) 70%, transparent);
}

.auth-bg-line:nth-child(1) { left: 25%; }
.auth-bg-line:nth-child(2) { left: 50%; }
.auth-bg-line:nth-child(3) { left: 75%; }

/* Centered wrap */
.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  gap: 40px;
}

/* Logo */
.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  letter-spacing: 0.25em;
}

.auth-logo .al-d {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.auth-logo .al-c {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 300;
  font-style: italic;
  color: rgba(192,192,192,0.38);
  letter-spacing: 0.38em;
}

/* Card */
.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 48px 40px;
  backdrop-filter: blur(20px);
}

@media (max-width: 520px) {
  .auth-card { padding: 36px 24px; }
}

/* Card header */
.auth-card-header {
  margin-bottom: 36px;
}

.auth-title {
  font-family: var(--fd);
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}

.auth-title em {
  font-style: italic;
  color: var(--silver);
}

.auth-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.6;
}

/* ─── FORM ──────────────────────────────────────────────────────────────── */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: rgba(255,255,255,0.25);
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.2);
}

/* Input with button (password toggle) */
.input-wrap {
  position: relative;
}

.input-wrap input {
  width: 100%;
  padding-right: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 300;
  padding: 14px 48px 14px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.input-wrap input:focus {
  border-color: rgba(255,255,255,0.25);
}

.input-wrap input::placeholder {
  color: rgba(255,255,255,0.2);
}

.pwd-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  transition: color 0.2s;
}

.pwd-toggle:hover { color: var(--white); }

.pwd-toggle svg {
  width: 18px;
  height: 18px;
}

/* ─── PASSWORD STRENGTH ──────────────────────────────────────────────────── */

.pwd-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.strength-bar {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.strength-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  min-width: 60px;
  text-align: right;
  transition: color 0.3s;
}

/* Password rules list */
.pwd-rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.rule-item {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.rule-item::before {
  content: '○';
  font-size: 10px;
  transition: color 0.2s;
}

.rule-item.rule-ok {
  color: #00cc44;
}

.rule-item.rule-ok::before {
  content: '●';
  color: #00cc44;
}

.rule-item.rule-fail {
  color: rgba(255, 68, 68, 0.7);
}

.rule-item.rule-fail::before {
  content: '●';
  color: #ff4444;
}

/* ─── CHECKBOX ──────────────────────────────────────────────────────────── */

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--white);
  border-color: var(--white);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── SUBMIT BUTTON ─────────────────────────────────────────────────────── */

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 2px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}

.auth-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.auth-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* ─── MESSAGES ──────────────────────────────────────────────────────────── */

.auth-error {
  font-size: 13px;
  font-weight: 400;
  color: #ff5555;
  min-height: 0;
  line-height: 1.5;
}

.auth-error:empty { display: none; }

.auth-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(0, 204, 68, 0.06);
  border: 1px solid rgba(0, 204, 68, 0.2);
  border-radius: 2px;
  margin-top: 8px;
}

.auth-success svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: #00cc44;
  margin-top: 2px;
}

.auth-success strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.auth-success p {
  font-size: 13px;
  color: var(--dim);
}

/* ─── FOOTER LINKS ──────────────────────────────────────────────────────── */

.auth-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-footer a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.auth-footer a:hover {
  border-color: var(--white);
}

/* ─── DASHBOARD ─────────────────────────────────────────────────────────── */

body.dashboard-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--black);
}

/* Dashboard Nav */
.dash-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(20px);
}

@media (max-width: 600px) {
  .dash-nav { padding: 16px 20px; }
}

.dash-nav .auth-logo {
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.dash-nav .al-d { font-size: 11px; letter-spacing: 0.32em; }
.dash-nav .al-c { font-size: 10px; font-style: italic; font-family: var(--fd); font-weight: 300; letter-spacing: 0.28em; color: rgba(192,192,192,0.38); }

.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dash-user-name {
  font-size: 13px;
  color: var(--dim);
  font-weight: 300;
}

.admin-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--silver);
  padding: 3px 10px;
  border-radius: 20px;
}

.dash-signout {
  background: none;
  border: 1px solid var(--border);
  color: var(--dim);
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.dash-signout:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

/* Dashboard Main */
.dash-main {
  flex: 1;
  padding: 60px 40px;
}

@media (max-width: 600px) {
  .dash-main { padding: 40px 20px; }
}

.dash-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Dashboard Header */
.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.dash-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.dash-title {
  font-family: var(--fd);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
}

.dash-title em {
  font-style: italic;
  color: var(--silver);
}

.dash-plan-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--card-bg);
  min-width: 160px;
}

.dash-plan-badge span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.dash-plan-badge strong {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
}

/* Dashboard Grid */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.dash-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s;
}

.dash-card:hover {
  border-color: rgba(255,255,255,0.14);
}

.dash-card-main {
  border-color: rgba(192,192,192,0.15);
}

.dash-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--silver);
  opacity: 0.6;
}

.dash-card h2 {
  font-family: var(--fd);
  font-size: 24px;
  font-weight: 300;
  color: var(--white);
}

.dash-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.6;
  flex: 1;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  align-self: flex-start;
}

.dash-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.dash-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  color: var(--white);
  text-decoration: none;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 2px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  align-self: flex-start;
}

.dash-btn-ghost:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.25);
}

.dash-btn-ghost:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Offer card */
.dash-card-offer {
  background: rgba(192,192,192,0.03);
  border-color: rgba(192,192,192,0.12);
}

.dash-offer-name {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  color: var(--silver);
}

.dash-offer-price {
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
}

.dash-offer-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.6;
}

/* ─── ADMIN STATS ────────────────────────────────────────────────────────── */

.admin-stats {
  display: flex;
  gap: 24px;
}

.admin-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--card-bg);
}

.admin-stat strong {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

.admin-stat span {
  font-size: 11px;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ─── ADMIN TOOLBAR ──────────────────────────────────────────────────────── */

.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search,
.admin-filter {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.admin-search {
  flex: 1;
  min-width: 200px;
}

.admin-filter {
  min-width: 180px;
  cursor: pointer;
}

.admin-search:focus,
.admin-filter:focus {
  border-color: rgba(255,255,255,0.25);
}

.admin-search::placeholder {
  color: rgba(255,255,255,0.2);
}

.admin-filter option {
  background: #111;
  color: var(--white);
}

/* ─── ADMIN TABLE ────────────────────────────────────────────────────────── */

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table thead {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.admin-table th {
  padding: 14px 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.admin-table tbody tr:last-child {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.admin-table td {
  padding: 14px 16px;
  color: var(--white);
  font-weight: 300;
  vertical-align: middle;
}

.td-name {
  font-weight: 400;
  white-space: nowrap;
}

.td-email {
  color: var(--dim);
  font-size: 13px;
}

.table-loading {
  text-align: center;
  color: var(--dim);
  padding: 40px !important;
  font-size: 14px;
}

/* Plan chips */
.plan-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
}

.plan-chip.plan-autonome {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}

.plan-chip.plan-accompagne {
  background: rgba(136,204,0,0.08);
  border-color: rgba(136,204,0,0.25);
  color: #88cc00;
}

.plan-chip.plan-cle-en-main {
  background: rgba(192,192,192,0.1);
  border-color: rgba(192,192,192,0.3);
  color: var(--silver);
}

/* Status chips */
.status-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.status-chip.status-ok {
  background: rgba(0,204,68,0.1);
  border: 1px solid rgba(0,204,68,0.25);
  color: #00cc44;
}

.status-chip.status-pending {
  background: rgba(255,136,0,0.08);
  border: 1px solid rgba(255,136,0,0.2);
  color: #ff8800;
}

/* Plan select in admin table */
.plan-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 300;
  padding: 7px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.plan-select:focus {
  border-color: rgba(255,255,255,0.25);
}

.plan-select:disabled {
  opacity: 0.4;
  cursor: wait;
}

.plan-select option {
  background: #111;
  color: var(--white);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .admin-stats {
    flex-direction: row;
    width: 100%;
  }

  .admin-stat {
    flex: 1;
    align-items: center;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-stats {
    gap: 12px;
  }

  .admin-stat strong {
    font-size: 28px;
  }
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────────────── */

/* ─── SUIVI DE PROJET ───────────────────────────────────────────────────── */

.dash-progress-wrap {
  margin-bottom: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 36px;
}

.dash-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-progress-pct {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
}

.dash-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.dash-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  z-index: 0;
}

.dash-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  transition: all 0.3s;
}

.step-done .step-dot {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
  font-weight: 700;
}

.step-active .step-dot {
  border-color: var(--silver);
  color: var(--silver);
}

.step-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.step-info strong {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.step-done .step-info strong,
.step-active .step-info strong {
  color: var(--white);
}

.step-info span {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

@media (max-width: 600px) {
  .dash-steps { flex-direction: column; gap: 16px; }
  .dash-steps::before { display: none; }
  .dash-step { flex-direction: row; align-items: flex-start; }
  .step-info { align-items: flex-start; text-align: left; }
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* ─── SELECTION ─────────────────────────────────────────────────────────── */

::selection { background: rgba(192,192,192,0.2); color: var(--white); }

/* ─── MOBILE ─────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .auth-wrap { padding: 28px 16px 48px; }
  .auth-card { padding: 28px 20px; }
  .auth-title { font-size: 38px; }
  .auth-btn { padding: 15px 20px; }

  /* Dashboard mobile */
  .dash-nav { padding: 14px 20px; }
  .dash-user-name { display: none; }
  .dash-main { padding: 28px 16px; }
  .dash-title { font-size: 44px; }
  .dash-header { margin-bottom: 28px; gap: 16px; }
  .dash-plan-badge { padding: 14px 16px; min-width: auto; }
  .dash-plan-badge strong { font-size: 18px; }
  .dash-grid { grid-template-columns: 1fr; gap: 14px; }
  .dash-card { padding: 24px 20px; }

  /* Admin mobile */
  .admin-stats { flex-direction: column; gap: 10px; }
  .admin-stat { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 16px; }
  .admin-stat strong { font-size: 22px; }
  .admin-toolbar { flex-direction: column; }
  .admin-search, .admin-filter { width: 100%; }
  .admin-table th:nth-child(4),
  .admin-table td:nth-child(4),
  .admin-table th:nth-child(5),
  .admin-table td:nth-child(5) { display: none; }
}

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
