:root {
  --bg: #f3f5fa;
  --card-bg: #ffffff;
  --text: #23262b;
  --muted: #6b7280;
  --muted-light: #9aa2b1;
  --border: #e6e9f0;

  --brand-blue: #2585f8;
  --brand-blue-dark: #1666d1;
  --brand-teal: #02deb2;
  --brand-cyan: #00bcdc;

  --primary: var(--brand-blue);
  --primary-dark: var(--brand-blue-dark);
  --danger: #e0384a;
  --danger-dark: #bc2536;
  --ok: #0f9d70;
  --warn: #b8720a;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.07), 0 1px 3px rgba(16, 24, 40, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------- */
/* Topbar                                                                  */
/* ---------------------------------------------------------------------- */

.topbar {
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue) 55%, var(--brand-cyan));
}
.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; }

.topbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.topbar nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }
.user-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  padding-left: 4px;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

/* ---------------------------------------------------------------------- */
/* Layout                                                                   */
/* ---------------------------------------------------------------------- */

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 1.12rem; font-weight: 700; margin: 0 0 16px; }

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.muted { color: var(--muted); }
.hint { color: var(--muted-light); font-size: 0.84rem; margin-top: 5px; }

/* ---------------------------------------------------------------------- */
/* Cards                                                                    */
/* ---------------------------------------------------------------------- */

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.card-narrow { max-width: 440px; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                    */
/* ---------------------------------------------------------------------- */

form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 6px;
}
form label:first-of-type { margin-top: 0; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; }
input[type="file"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
}
.field-hint { font-size: 0.78rem; color: var(--muted); margin: 5px 0 0; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.15);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 6px;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-weight: 400 !important;
  margin: 0 !important;
}
.checkbox-label input { width: auto; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                   */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(22, 102, 209, 0.3); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { background: #b7c6dc; cursor: not-allowed; box-shadow: none; }
.btn-secondary { background: #eef1f7; color: var(--text); }
.btn-secondary:hover { background: #e2e7f0; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-dark); }
.btn-small { padding: 7px 14px; font-size: 0.8rem; margin-top: 0; }
.btn-tiny { padding: 4px 9px; font-size: 0.72rem; margin-top: 0; border-radius: 7px; }
.btn-link {
  background: none;
  color: var(--muted);
  padding: 4px 4px;
  font-size: 0.72rem;
  margin-top: 0;
  text-decoration: underline;
}
.btn-link:hover { color: var(--danger); }

.attendance-cell { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.attendance-actions { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.muted-danger { color: #971b2a; font-weight: 600; }
.test-email-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.test-email-form input[type="email"] { max-width: 340px; }
.email-diag { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.email-diag-title { font-size: 0.85rem; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.email-diag ul { margin: 0 0 8px; padding-left: 18px; }
.email-diag li { font-size: 0.85rem; color: var(--muted); margin-bottom: 3px; }
.email-diag code { background: #eef1f7; padding: 1px 5px; border-radius: 5px; font-size: 0.82rem; }
.diag-ok { color: var(--ok); font-weight: 700; }
.diag-bad { color: var(--danger); font-weight: 700; }

.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0;
}
.link-btn:hover { color: var(--primary); }

.inline-form { display: inline; }

/* ---------------------------------------------------------------------- */
/* Tables                                                                     */
/* ---------------------------------------------------------------------- */

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table tbody tr:hover { background: #fafbfd; }
.text-right { text-align: right; }

/* ---------------------------------------------------------------------- */
/* Badges / alerts / flash                                                    */
/* ---------------------------------------------------------------------- */

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-ok { background: #d9f7ec; color: var(--ok); }
.badge-warn { background: #fbead0; color: var(--warn); }
.badge-muted { background: #eceef2; color: #4b5563; }
.badge-danger { background: #fce8ea; color: #971b2a; }

.alert {
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 16px;
}
.alert-error { background: #fce8ea; color: #971b2a; }
.alert-ok { background: #d9f7ec; color: var(--ok); }
.alert-warn { background: #fbead0; color: var(--warn); }

.flash-list { margin-bottom: 20px; }
.flash {
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.flash-success { background: #d9f7ec; color: var(--ok); }
.flash-error { background: #fce8ea; color: #971b2a; }

/* ---------------------------------------------------------------------- */
/* Horários (slots)                                                            */
/* ---------------------------------------------------------------------- */

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin: 14px 0 6px;
}
.slot-btn {
  width: 100%;
  padding: 13px 6px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text);
  transition: all 0.12s ease;
}
.slot-available { background: #eef5ff; color: var(--primary-dark); border-color: #bcdaff; }
.slot-available:hover { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.12); }
.slot-taken { background: #f3f4f6; color: #b0b6c0; cursor: not-allowed; border-color: var(--border); }
.slot-selected {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.22);
}

.waitlist-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---------------------------------------------------------------------- */
/* Indicadores (KPIs + gráficos)                                              */
/* ---------------------------------------------------------------------- */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.kpi-value { font-size: 2.1rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.kpi-unit { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.kpi-sub { font-size: 0.75rem; color: var(--muted-light); }
.kpi-card.kpi-danger .kpi-value { color: var(--danger); }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 200px;
  padding-top: 20px;
}
.bar-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}
.bar-value { font-size: 0.72rem; font-weight: 700; color: var(--primary-dark); height: 14px; }
.bar {
  width: 100%;
  max-width: 42px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 6px 6px 0 0;
  min-height: 3px;
  transition: opacity 0.15s ease;
}
.bar-col:hover .bar { opacity: 0.82; }
.bar-label { font-size: 0.66rem; color: var(--muted-light); font-weight: 600; white-space: nowrap; }

.rank-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.rank-row { display: flex; align-items: center; gap: 12px; }
.rank-name { flex: 0 0 34%; font-size: 0.88rem; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar-track { flex: 1 1 auto; background: #eef1f7; border-radius: 999px; height: 14px; overflow: hidden; }
.rank-bar { height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal)); border-radius: 999px; }
.rank-count { flex: 0 0 auto; font-weight: 700; color: var(--text); font-size: 0.9rem; min-width: 24px; text-align: right; }

/* ---------------------------------------------------------------------- */
/* Calendario mensal                                                          */
/* ---------------------------------------------------------------------- */

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-header h2 { margin: 0; text-transform: capitalize; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: #eef1f7;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.calendar-nav a:hover { background: var(--primary); color: #fff; }
.calendar-nav a.disabled { opacity: 0.35; pointer-events: none; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-light);
  padding-bottom: 4px;
  letter-spacing: 0.03em;
}
.calendar-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: #fafbfd;
  border: 1.5px solid transparent;
}
.calendar-day-num { line-height: 1; }
.calendar-day-count { font-size: 0.58rem; font-weight: 600; opacity: 0.7; line-height: 1; }
.calendar-day.out-month { color: var(--muted-light); background: transparent; font-weight: 400; }
.calendar-day.is-past { color: var(--muted-light); background: transparent; }
.calendar-day.is-blocked { background: #f3f4f6; color: #b0b6c0; text-decoration: line-through; }
.calendar-day.is-full { background: #fdecea; color: #c23b46; }
.calendar-day.is-available {
  background: #eef5ff;
  color: var(--primary-dark);
  cursor: pointer;
}
.calendar-day.is-available:hover { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.12); }
.calendar-day.is-selected {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary-dark);
}
.calendar-day.is-selected .calendar-day-count { color: #fff; opacity: 0.85; }
.calendar-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px; height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.7;
}

/* No painel master (admin), todo dia do mês é clicável, inclusive
   passado/bloqueado/lotado — o admin precisa ver e gerenciar qualquer dia. */
a.calendar-day.is-past,
a.calendar-day.is-blocked,
a.calendar-day.is-full {
  cursor: pointer;
}
a.calendar-day.is-past:hover,
a.calendar-day.is-blocked:hover,
a.calendar-day.is-full:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.12);
}

.quick-date-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.quick-date-form label { display: inline; font-size: 0.85rem; color: var(--muted); font-weight: 600; margin: 0; }
.quick-date-form input[type="date"] { width: auto; }
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------------------------------------------------------------------- */
/* Diversos                                                                     */
/* ---------------------------------------------------------------------- */

.export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  align-items: flex-end;
}
.search-form input { margin: 0; }
.search-form button { margin: 0; }

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.filter-form > div { min-width: 160px; }
.filter-form label { margin: 0 0 6px; }
.filter-form button { margin: 0; }

code {
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 1rem;
}

.footer {
  text-align: center;
  color: var(--muted-light);
  font-size: 0.8rem;
  padding: 24px;
}

/* ---------------------------------------------------------------------- */
/* Tela de login (card dividido com painel de onda)                          */
/* ---------------------------------------------------------------------- */

body.login-page {
  background: #c7e7ff;
  min-height: 100vh;
}
.container.login-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 100vh;
  padding: 40px 20px;
}

.login-page-container .flash-list {
  width: clamp(300px, 90vw, 740px);
  margin-bottom: 0;
}
.login-page-container .flash { text-align: center; }

.login-wave-wrap { width: 100%; display: flex; justify-content: center; }

.login-wave-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18);
  padding: 8px;
  width: clamp(300px, 90vw, 740px);
}

.login-wave-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 190px;
  background: radial-gradient(ellipse at center, #eaf5fd 0%, #cfe7fa 45%, var(--brand-blue) 100%);
}
.login-wave-hero .ocean {
  height: 6%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #1c6199;
}
.login-wave-hero .wave {
  background: url("wave.svg") repeat-x;
  position: absolute;
  top: -160px;
  width: 6400px;
  height: 200px;
  animation: login-wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}
.login-wave-hero .wave:nth-of-type(2) {
  top: -140px;
  opacity: 0.75;
  animation:
    login-wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite,
    login-swell 7s ease -1.25s infinite;
}
@keyframes login-wave {
  0% { margin-left: 0; }
  100% { margin-left: -1600px; }
}
@keyframes login-swell {
  0%, 100% { transform: translate3d(0, -18px, 0); }
  50% { transform: translate3d(0, 6px, 0); }
}

.login-wave-form {
  flex: 1 1 50%;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-wave-logo { height: 32px; width: auto; margin: 0 auto 6px; display: block; }
.login-wave-form h3 {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.login-wave-form input {
  height: 52px;
  border-radius: 14px;
  background: #f1f3f7;
  border: 0;
  padding: 0 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  width: 100%;
}
.login-wave-form input::placeholder { color: #9aa2b1; }
.login-wave-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.18);
}

.login-wave-form button[type="submit"] {
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: #23262b;
  color: #f9f9f9;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.15s ease;
}
.login-wave-form button[type="submit"]:hover { opacity: 0.88; }

.login-wave-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 0;
}
.login-wave-links a { color: var(--muted); text-decoration: none; }
.login-wave-links a:hover { color: var(--primary); text-decoration: underline; }
.login-wave-form button.login-linkbtn {
  height: auto;
  background: none;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-decoration: underline;
}
.login-wave-form button.login-linkbtn:hover { opacity: 1; text-decoration: underline; }
.verify-hint { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 0 0 6px; line-height: 1.4; }

.login-wave-card-wide { width: clamp(300px, 92vw, 820px); }

@media (min-width: 640px) {
  .login-wave-card { flex-direction: row; padding: 8px 0 8px 8px; }
  .login-wave-hero { flex: 1 1 45%; min-height: unset; }
  .login-wave-form { flex: 1 1 55%; padding: 34px; justify-content: center; }
}

/* =========================================================
   SELETOR DE TIPO DE CONTA - REGISTER
   ========================================================= */

.login-wave-form .field-label {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

/* Área dos dois cartões */
.login-wave-form .account-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin: 0;
}

/* Cada opção */
.login-wave-form .account-card {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* Radio escondido */
.login-wave-form .account-card input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* Cartão visual */
.login-wave-form .account-card-body {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 11px 12px;
  box-sizing: border-box;

  border: 2px solid #e5e7eb;
  border-radius: 12px;

  background: #f9fafb;

  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

/* Hover */
.login-wave-form .account-card:hover .account-card-body {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
}

/* Card selecionado */
.login-wave-form
.account-card
input[type="radio"]:checked
+ .account-card-body {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37, 133, 248, 0.15);
}

/* Ícone */
.login-wave-form .account-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  min-width: 36px;
  height: 36px;

  font-size: 22px;
  line-height: 1;
}

/* Área do texto */
.login-wave-form .account-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Título */
.login-wave-form .account-text strong {
  display: block;
  margin: 0;

  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 700;

  color: var(--text);
}

/* Descrição */
.login-wave-form .account-text small {
  display: block;
  margin-top: 3px;

  font-size: 0.72rem;
  line-height: 1.3;

  color: var(--muted);
}

/* Foco pelo teclado */
.login-wave-form
.account-card
input[type="radio"]:focus-visible
+ .account-card-body {
  outline: 3px solid rgba(37, 133, 248, 0.25);
  outline-offset: 2px;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 560px) {

  .login-wave-form .account-type {
    grid-template-columns: 1fr;
  }

  .login-wave-form .account-card-body {
    min-height: 58px;
  }

}

.badge-cliente    { background: #e0f2fe; color: #0369a1; }
.badge-fornecedor { background: #fef3c7; color: #b45309; }
.badge-chapa      { background: #dcfce7; color: #15803d; }
