/* TassoTI – Foglio di stile principale */
/* ══════════════════════════════════════════════════════════ */

:root {
  --primary:       #1e3a8a;
  --primary-light: #2563eb;
  --primary-dark:  #1e2d6b;
  --accent:        #0ea5e9;
  --success:       #16a34a;
  --warning:       #d97706;
  --danger:        #dc2626;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --bg:            #f8fafc;
  --bg-card:       #ffffff;
  --border:        #e2e8f0;
  --border-focus:  #2563eb;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 30px rgba(0,0,0,.12);
  --transition:    .18s ease;
  --font:          'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
}

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Typography ──────────────────────────────────────────── */
h1 { font-size: 2rem;    font-weight: 800; line-height: 1.2; }
h2 { font-size: 1.5rem;  font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.2rem;  font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { margin-bottom: .75rem; }
small { font-size: .8125rem; color: var(--text-muted); }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  background: var(--primary);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.navbar-brand svg { width: 32px; height: 32px; }
.navbar-brand span.sub {
  font-size: .7rem;
  font-weight: 400;
  opacity: .75;
  display: block;
  line-height: 1;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.navbar-nav a {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .8rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}
.navbar-lang {
  display: flex;
  gap: .25rem;
}
.navbar-lang a {
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .45rem;
  border-radius: 4px;
  transition: all var(--transition);
}
.navbar-lang a:hover,
.navbar-lang a.active {
  background: rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: .25rem;
}

/* ── Hero (home) ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: #fff;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 1.5rem;
  font-size: .85rem;
  opacity: .7;
}

/* ── Steps (home) ────────────────────────────────────────── */
.steps-section {
  padding: 3.5rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step-card {
  text-align: center;
  padding: 1.5rem;
}
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}
.step-card h3 { margin-bottom: .5rem; color: var(--primary); }
.step-card p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ── Wizard ──────────────────────────────────────────────── */
.wizard-page {
  padding: 2.5rem 1.25rem 4rem;
}
.progress-bar-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: .75rem;
}
.progress-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.progress-fill {
  position: absolute;
  top: 18px;
  left: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 1;
  transition: width .4s ease;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  z-index: 2;
  min-width: 60px;
}
.step-dot .dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
}
.step-dot.active .dot   { border-color: var(--primary-light); background: var(--primary-light); color: #fff; }
.step-dot.done .dot     { border-color: var(--success); background: var(--success); color: #fff; }
.step-dot .label {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}
.step-dot.active .label { color: var(--primary-light); font-weight: 700; }
.step-dot.done .label   { color: var(--success); }
.progress-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── Card ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: .75rem;
}
.card-title svg { color: var(--primary-light); }

/* ── Form ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.form-label .optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: .8rem;
  margin-left: .35rem;
}
.form-control {
  display: block;
  width: 100%;
  padding: .6rem .9rem;
  font-size: .9375rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-valid   { border-color: var(--success); }
.form-hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .3rem;
  line-height: 1.4;
}
.form-error {
  font-size: .8rem;
  color: var(--danger);
  margin-top: .3rem;
  font-weight: 500;
}
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Radio / Toggle scelta metodo reddito */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin-top: .5rem;
}
.radio-card {
  position: relative;
}
.radio-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  background: var(--bg);
}
.radio-card label svg { color: var(--text-light); transition: color var(--transition); }
.radio-card input:checked + label {
  border-color: var(--primary-light);
  background: #eff6ff;
  color: var(--primary);
}
.radio-card input:checked + label svg { color: var(--primary-light); }

/* ── Mensilità grid ──────────────────────────────────────── */
.monthly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .75rem;
}
.monthly-item label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: .25rem;
}
.monthly-total {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
}

/* ── Upload area ─────────────────────────────────────────── */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg);
}
.upload-area:hover,
.upload-area.dragover {
  border-color: var(--primary-light);
  background: #eff6ff;
}
.upload-area input[type="file"] { display: none; }
.upload-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
  display: block;
}
.upload-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.upload-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
}
.upload-item .file-name { flex: 1; font-weight: 500; }
.upload-item .file-month select {
  font-size: .8rem;
  padding: .2rem .5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.upload-item .remove-file {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1.1rem;
  padding: .1rem .3rem;
  border-radius: 4px;
}

/* ── Datori di lavoro ────────────────────────────────────── */
.employers-list { display: flex; flex-direction: column; gap: .75rem; }
.employer-row {
  display: grid;
  grid-template-columns: 1fr 180px 36px;
  gap: .75rem;
  align-items: end;
  padding: .75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.btn-remove-employer {
  background: none;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: var(--radius);
  cursor: pointer;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-remove-employer:hover { background: var(--danger); color: #fff; }

/* ── Wizard navigation buttons ───────────────────────────── */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.wizard-nav-right { display: flex; gap: .75rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 2px 6px rgba(37,99,235,.35);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg);
  border-color: var(--text-muted);
  text-decoration: none;
  color: var(--text);
}
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-success:hover:not(:disabled) { background: #15803d; }
.btn-danger  { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled)  { background: #b91c1c; }
.btn-lg   { padding: .85rem 2rem; font-size: 1rem; }
.btn-sm   { padding: .35rem .9rem; font-size: .8rem; }
.btn-icon { padding: .5rem; width: 38px; height: 38px; }
.btn-outline-primary {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary-light);
}
.btn-outline-primary:hover { background: #eff6ff; text-decoration: none; }

/* ── Riepilogo / Summary ─────────────────────────────────── */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.summary-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.summary-block-title {
  background: var(--primary);
  color: #fff;
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row .val { font-weight: 600; font-family: var(--font-mono); }
.summary-row.total {
  background: #eff6ff;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.summary-row.total .val { font-size: 1.05rem; }

/* Box totale grande */
.tax-total-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.tax-total-box .label {
  font-size: .875rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tax-total-box .amount {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: -.02em;
  margin: .25rem 0;
}
.tax-total-box .sub {
  font-size: .8rem;
  opacity: .65;
}

/* Email / registrazione box (fine wizard) */
.email-box {
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: #eff6ff;
  margin-top: 2rem;
}
.email-box h3 { color: var(--primary); margin-bottom: .5rem; }
.email-box p  { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.register-offer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg-card);
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.register-offer .icon {
  font-size: 2rem;
  flex-shrink: 0;
}

/* ── Storico ─────────────────────────────────────────────── */
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.history-table th {
  text-align: left;
  padding: .75rem 1rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.history-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.history-table tr:hover td { background: #f8fafc; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-draft     { background: #fef9c3; color: #a16207; }
.badge-complete  { background: #dcfce7; color: #15803d; }
.badge-submitted { background: #dbeafe; color: #1d4ed8; }
.history-actions { display: flex; gap: .5rem; }

/* ── Auth page ───────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1.5rem;
}
.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  text-align: center;
  margin-bottom: 1.75rem;
}
.auth-logo h1 { font-size: 1.75rem; color: var(--primary); }
.auth-logo p  { color: var(--text-muted); font-size: .875rem; margin: 0; }
.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--text-muted);
}

/* ── Disclaimer banner ───────────────────────────────────── */
.disclaimer-bar {
  background: #fef9c3;
  border-bottom: 1px solid #fde68a;
  padding: .6rem 1.25rem;
  font-size: .8rem;
  color: #92400e;
  text-align: center;
}

/* ── Alert ───────────────────────────────────────────────── */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef9c3; color: #92400e; border: 1px solid #fde68a; }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.spinner-dark {
  border: 3px solid rgba(0,0,0,.1);
  border-top-color: var(--primary);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Loading overlay ─────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.loading-overlay .spinner { border-top-color: var(--primary); border-color: rgba(37,99,235,.2); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.65);
  padding: 2rem 1.25rem;
  margin-top: auto;
  font-size: .85rem;
  text-align: center;
}
footer a { color: rgba(255,255,255,.8); }
footer a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-toggle { display: block; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 1rem;
    flex-direction: column;
    gap: .25rem;
  }
  .navbar-menu.open { display: flex; }
  .navbar-nav { flex-direction: column; width: 100%; }
  .navbar-nav a { width: 100%; }
  .navbar { position: relative; }

  h1 { font-size: 1.6rem; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .form-row-2,
  .form-row-3 { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; }
  .progress-steps .label { display: none; }
  .employer-row { grid-template-columns: 1fr 36px; }
  .employer-row .employer-gross { grid-column: 1; }
  .history-table { font-size: .8rem; }
  .history-table th:nth-child(4),
  .history-table td:nth-child(4) { display: none; }
  .auth-card { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .progress-steps::before,
  .progress-fill { display: none; }
  .monthly-grid { grid-template-columns: 1fr 1fr; }
  .radio-group   { grid-template-columns: 1fr; }
}
