/* ============================================================
   AssisTech — Design System
   Clean, técnico, confiável
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-card:   #ffffff;
  --bg-alt:    #F6F8FA;
  --border:    rgba(15,23,42,0.10);
  --accent:    #2563EB;
  --accent-2:  #1D4ED8;
  --success:   #059669;
  --warning:   #D97706;
  --danger:    #DC2626;
  --text:      #0F172A;
  --text-muted:#64748B;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 2px 16px rgba(15,23,42,0.06);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition:0.2s ease;

  /* Hero escuro (header + hero) */
  --hero-bg:        #0A0E16;
  --hero-bg-alt:    #12172A;
  --hero-text:      #ffffff;
  --hero-text-muted:rgba(255,255,255,0.68);
  --hero-border:    rgba(255,255,255,0.10);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────── */
.container       { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 780px; }

/* ─── Header ─────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-size: 1.25rem; color: var(--text);
  text-decoration: none;
}
.logo strong { color: var(--accent); }
.header__nav { display: flex; align-items: center; gap: 0.75rem; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn--sm  { padding: 0.5rem 1rem; }
.btn--md  { padding: 0.65rem 1.25rem; }
.btn--lg  { padding: 0.8rem 1.6rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--accent); color: #fff; font-weight: 600;
}
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn--outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover { background: rgba(37,99,235,0.08); }

.btn--ghost {
  background: transparent; color: var(--text-muted);
}
.btn--ghost:hover { color: var(--text); background: var(--border); }

.btn--danger { background: var(--danger); color: #fff; }
.btn--success { background: var(--success); color: #fff; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,0.06) 0%, transparent 70%);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.badge {
  display: inline-block; padding: 0.3rem 0.9rem;
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px; font-size: 0.8rem; color: var(--accent);
  margin-bottom: 1.25rem; font-weight: 500;
}
.hero__text h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15; font-weight: 700; color: var(--text);
  margin-bottom: 1.25rem;
}
.hero__text h1 em { color: var(--accent); font-style: normal; }
.hero__text p { color: var(--text-muted); font-size: 1.05rem; max-width: 460px; margin-bottom: 2rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero carousel */
.hero__visual { display: flex; justify-content: center; }
.carousel {
  width: 320px; max-width: 100%;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow), 0 0 40px rgba(37,99,235,0.08);
  overflow: hidden;
}
.carousel__track {
  display: flex; transition: transform 0.5s ease;
}
.carousel__slide {
  flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.maint-illustration { width: 180px; height: 180px; }
.carousel__caption { text-align: center; font-size: 0.9rem; color: var(--text-muted); min-height: 2.7em; }
.carousel__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  border: none; cursor: pointer; padding: 0; transition: background var(--transition), transform var(--transition);
}
.carousel__dot.active { background: var(--accent); transform: scale(1.3); }

/* ─── Sections ───────────────────────────────────────────── */
.section      { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; margin-bottom: 0.6rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ─── Consulta box ───────────────────────────────────────── */
.consult-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.consult-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.consult-tab {
  background: none; border: none; padding: 0.6rem 1rem; cursor: pointer;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--transition);
}
.consult-tab:hover { color: var(--text); }
.consult-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.input-row { display: flex; gap: 0.75rem; }
.input-row .input { flex: 1; letter-spacing: 0.15em; font-family: monospace; text-transform: uppercase; }
#consult-panel-phone .input { letter-spacing: normal; font-family: var(--font-body); text-transform: none; }
#consulta-result { margin-top: 1.5rem; }

/* Resultado da busca por telefone (lista) */
.phone-results { display: grid; gap: 0.75rem; }
.phone-result-item {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.phone-result-item__device { font-weight: 500; margin-top: 0.4rem; }
.phone-result-item__date { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ─── OS Card (resultado da consulta) ───────────────────── */
.os-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.os-card__header {
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 0.75rem;
}
.os-card__token { font-family: monospace; font-size: 1.1rem; font-weight: 600; color: var(--accent); }
.os-card__updated { font-size: 0.8rem; color: var(--text-muted); }
.os-card__body { padding: 1.5rem; display: grid; gap: 1.5rem; }
.os-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.os-info-item label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 0.25rem; }
.os-info-item span  { font-weight: 500; }

/* Comentário pós-entrega */
.comment-block {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.comment-block--done { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.2); }
.comment-block .textarea { margin: 0.75rem 0; }
.stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 0.1em; }
.stars-input { font-size: 1.6rem; color: #CBD5E1; cursor: pointer; letter-spacing: 0.1em; }
.stars-input span { transition: color var(--transition); }
.stars-input span.is-active { color: #F59E0B; }

/* Timeline */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content:''; position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 1.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content:''; position: absolute; left: -1.5rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
}
.timeline-item.active::before { border-color: var(--accent); background: var(--accent); }
.timeline-item .t-status { font-weight: 600; font-size: 0.9rem; }
.timeline-item .t-note   { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.2rem; }
.timeline-item .t-date   { color: var(--text-muted); font-size: 0.8rem; }

/* ─── Status badges ──────────────────────────────────────── */
.badge-status {
  display: inline-block; padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
}
.status-aguardando_orcamento  { background: rgba(245,158,11,0.15); color: #F59E0B; }
.status-orcamento_aprovado    { background: rgba(16,185,129,0.15);  color: #10B981; }
.status-orcamento_reprovado   { background: rgba(239,68,68,0.15);   color: #EF4444; }
.status-em_reparo             { background: rgba(37,99,235,0.12);   color: #2563EB; }
.status-aguardando_peca       { background: rgba(139,92,246,0.15);  color: #8B5CF6; }
.status-pronto                { background: rgba(16,185,129,0.15);  color: #10B981; }
.status-entregue              { background: rgba(16,185,129,0.12);  color: #047857; }
.status-cancelado             { background: rgba(239,68,68,0.1);    color: #B91C1C; }

/* ─── Diferenciais ───────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--shadow);
}
.feature-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(37,99,235,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ─── Depoimentos ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.testimonial-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.testimonial-card p { color: var(--text); font-size: 0.92rem; font-style: italic; }
.testimonial-card__author { color: var(--text-muted); font-size: 0.82rem; font-weight: 500; }

/* ─── Como funciona (steps) ──────────────────────────────── */
.steps-list { display: grid; gap: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-item__num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(37,99,235,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.step-item h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.step-item p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Upload de arquivos (OS) ────────────────────────────── */
.input--file { padding: 0.55rem 0.75rem; cursor: pointer; }
.file-list { margin-top: 0.5rem; display: grid; gap: 0.25rem; }
.file-list li {
  font-size: 0.8rem; color: var(--text-muted); background: var(--bg-alt);
  border-radius: var(--radius-sm); padding: 0.35rem 0.6rem;
}
.form { display: grid; gap: 1.5rem; }
.form__fieldset {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: grid; gap: 1rem;
}
.form__fieldset legend {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--accent); padding: 0 0.5rem;
}
.form__row        { display: grid; gap: 1rem; }
.form__row--2     { grid-template-columns: 1fr 1fr; }
.form__row--3     { grid-template-columns: 1fr 1fr 1fr; }
.form__group      { display: flex; flex-direction: column; gap: 0.4rem; }
.form__group label { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.optional { color: var(--text-muted); font-size: 0.8rem; font-weight: 400; }

.input {
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem; font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.input.invalid { border-color: var(--danger); }
.input--lg { font-size: 1.05rem; padding: 0.85rem 1rem; }
.textarea  { resize: vertical; min-height: 110px; }
select.input { appearance: none; cursor: pointer; }
.input-hint { font-size: 0.78rem; color: var(--text-muted); text-align: right; }

/* LGPD block */
.lgpd-block {
  background: rgba(37,99,235,0.04); border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
}
.checkbox-label { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent);
  margin-top: 2px; cursor: pointer;
}
.checkbox-label span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Alerts ─────────────────────────────────────────────── */
.alert {
  display: flex; gap: 1rem; padding: 1.25rem;
  border-radius: var(--radius); margin-bottom: 1.5rem;
  align-items: flex-start;
}
.alert--success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.3); color: #047857; }
.alert--error   { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.3);   color: #B91C1C; }
.alert--error ul { margin-top: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.alert--error li { margin-bottom: 0.25rem; }
.alert svg { flex-shrink: 0; margin-top: 2px; }
.token-display {
  display: inline-block; background: rgba(37,99,235,0.1); color: var(--accent);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-sm);
  font-family: monospace; font-size: 1.2rem; letter-spacing: 0.15em;
  border: 1px solid rgba(37,99,235,0.2); margin: 0.5rem 0;
}

/* ─── Spinner ────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); padding: 3rem 0 1.5rem;
  background: var(--bg-alt);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem;
}
.footer__col p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.75rem; }
.footer__col .logo { margin-bottom: 0.25rem; }
.footer__col h4 {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.9rem;
}
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col ul li { color: var(--text-muted); font-size: 0.85rem; }
.footer__col ul a { color: var(--text-muted); }
.footer__col ul a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 1.25rem;
  font-size: 0.82rem; color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__inner         { grid-template-columns: 1fr; }
  .hero__visual        { order: -1; margin-bottom: 1rem; }
  .form__row--2,
  .form__row--3        { grid-template-columns: 1fr; }
  .input-row           { flex-direction: column; }
  .header__nav .btn--ghost { display: none; }
  .os-card__header     { flex-direction: column; align-items: flex-start; }
  .footer__grid        { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid        { grid-template-columns: 1fr; }
}

/* ─── Admin overrides ────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--bg-alt); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 1.5rem 1rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .logo { margin-bottom: 2rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.9rem; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.9rem; transition: all var(--transition);
  text-decoration: none;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(37,99,235,0.08); color: var(--text);
}
.sidebar-nav a.active { color: var(--accent); }
.main-content { flex: 1; padding: 2rem; overflow-x: auto; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; }
.page-header p { color: var(--text-muted); margin-top: 0.25rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; box-shadow: var(--shadow);
}
.stat-card__label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-card__value { font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.stat-card__value.accent  { color: var(--accent); }
.stat-card__value.success { color: var(--success); }
.stat-card__value.warning { color: var(--warning); }

/* logo da index */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo__img {
    height: 52px; /* logo maior e mais visível no header */
    width: auto;
    display: block;
}
/* Table */
.table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  background: rgba(15,23,42,0.03); padding: 0.75rem 1rem;
  text-align: left; font-weight: 600; font-size: 0.78rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td {
  padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(15,23,42,0.02); }
.priority-urgente { color: var(--danger); font-weight: 600; }
.out-of-stock { color: var(--text-muted); font-style: italic; font-size: 0.82rem; }

/* Filters */
.filters { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: flex-end; }
.filters .input { max-width: 200px; }
.filters .input--search { max-width: 280px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 1rem;
}
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(15,23,42,0.18);
}
.modal__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal__header h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.modal__body { padding: 1.5rem; display: grid; gap: 1rem; }
.modal__footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; justify-content: flex-end; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination .btn { min-width: 40px; justify-content: center; }
.pagination .btn.current { background: var(--accent); color: #fff; pointer-events: none; }

@media (max-width: 900px) {
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: sticky; top: 0; z-index: 50; flex-direction: row; flex-wrap: wrap; padding: .6rem .75rem; }
  .sidebar .logo { display: none; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem; width: 100%; justify-content: space-between; }
  .sidebar-nav a { flex: 1; justify-content: center; padding: .5rem .4rem; font-size: .78rem; white-space: nowrap; }
  .sidebar-nav a svg { flex-shrink: 0; }
  .main-content { padding: 1rem; }
}

@media (max-width: 760px) {
  /* Tabelas viram "cards" empilhados — evita rolagem horizontal e colunas espremidas */
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr {
    margin-bottom: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: .25rem 0; background: var(--bg-card);
  }
  .data-table tr:last-child { margin-bottom: 0; }
  .data-table td {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    text-align: right; padding: .6rem 1rem; border-bottom: 1px dashed var(--border);
  }
  .data-table td:last-child { border-bottom: none; }
  .data-table td::before {
    content: attr(data-label); font-weight: 600; text-transform: uppercase;
    letter-spacing: .04em; font-size: .72rem; color: var(--text-muted); text-align: left;
  }
  .table-wrap { overflow: visible; box-shadow: none; border: none; background: transparent; }

  .filters { flex-direction: column; align-items: stretch; }
  .filters .form__group { width: 100%; }
  .filters .input, .filters .input--search { max-width: none; width: 100%; }
  .filters button[type="submit"] { width: 100%; }

  .page-header { flex-direction: column; align-items: stretch !important; }
  .page-header form { width: 100%; }
  .page-header button { width: 100%; }

  .modal__body { padding: 1rem; }
  .modal__footer { flex-wrap: wrap; }
  .modal__footer .btn { flex: 1; }
}
