/* ============================================
   ft_empresas — Design System  (Forma Talento)
   Font: Inter (cargada en header.php via <link>)
   Paleta: Azul marino profundo + naranja/verde accent
   ============================================ */

:root {
  --bg:        #0d1220;
  --bg2:       #111827;
  --bg3:       #1a2235;
  --surface:   #1e2a40;
  --border:    #2a3856;
  --primary:   #1e3a6e;   /* azul marino Forma Talento */
  --primary-h: #162d56;
  --primary-lt: #2a5298;  /* azul medio */
  --accent:    #e87c1e;   /* naranja Forma Talento */
  --accent-h:  #cf6c14;
  --green:     #4caf50;   /* verde Forma Talento */
  --danger:    #e53e3e;
  --warning:   #e87c1e;
  --success:   #22c55e;
  --text:      #e8eaf6;
  --text-muted:#8892a8;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 8px 32px rgba(0,0,0,.45);
  --shadow-sm: 0 2px 12px rgba(0,0,0,.3);
  --transition: .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ─────────────────────────────── */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* ── Topbar ─────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}

.topbar-brand .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  padding: 2px;
}

/* ── Logo Forma Talento ────────────────────── */
.ft-logo {
  object-fit: contain;
  display: block;
}
.ft-logo-sm  { width: 30px;  height: 30px;  }
.ft-logo-md  { width: 64px;  height: 64px;  }
.ft-logo-lg  { width: 90px;  height: 90px;  }

.topbar-actions { display: flex; gap: 8px; align-items: center; }

.btn-icon {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  text-decoration: none;
}
.btn-icon:hover { background: var(--border); color: var(--text); }

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-body { padding: 22px 20px; }
.card-header {
  padding: 16px 20px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Página de Auth (login / registro / activar) */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
}

.auth-logo {
  margin-bottom: 28px;
  text-align: center;
}

.auth-logo .logo-wrap {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(30,58,110,.5);
}

.auth-logo h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.auth-logo p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

/* ── Form controls ──────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,.2);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238892a8' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 36px;
}

.form-select option { background: var(--bg3); color: var(--text); }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(30,58,110,.5);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-h));
  box-shadow: 0 6px 20px rgba(30,58,110,.65);
  transform: translateY(-1px);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f5a052);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,124,30,.4);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,124,30,.55);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover {
  background: var(--bg3);
  color: var(--text);
  border-color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  padding: 10px;
  font-weight: 500;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--accent); background: transparent; }

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(255,83,114,.35);
  color: var(--danger);
}
.btn-danger-outline:hover { background: rgba(255,83,114,.12); }

.btn + .btn { margin-top: 10px; }
.btn span { font-size: 16px; }

/* ── Alerts ─────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.alert-danger  { background: rgba(255,83,114,.15); border: 1px solid rgba(255,83,114,.3); color: #ff8fa3; }
.alert-success { background: rgba(34,197,94,.15);  border: 1px solid rgba(34,197,94,.3);  color: #86efac; }
.alert-warning { background: rgba(255,183,3,.15);  border: 1px solid rgba(255,183,3,.3);  color: #fcd34d; }

/* ── KPI Cards ──────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }

.kpi-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}

.kpi-card .kpi-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.kpi-card .kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 6px;
  font-weight: 600;
}

/* ── Plan badge ─────────────────────────────── */
.plan-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(30,58,110,.25), rgba(232,124,30,.1));
  border: 1px solid rgba(42,82,152,.4);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
}
.plan-badge .plan-icon { font-size: 22px; }
.plan-badge .plan-text { font-size: 12px; color: var(--text-muted); }
.plan-badge .plan-date { font-weight: 700; color: var(--accent); font-size: 14px; }

/* ── Topbar gradient line ──────────────────── */
.topbar {
  border-bottom: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg2), var(--bg2)),
    linear-gradient(90deg, var(--primary-lt), var(--accent), var(--green));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ── Section title ──────────────────────────── */
.section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* ── Action list ────────────────────────────── */
.action-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

/* ── Progress bar ───────────────────────────── */
.progress-wrap {
  background: var(--bg3);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 99px;
  transition: width .4s ease;
}
.progress-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: right;
}

/* ── Pregunta card ──────────────────────────── */
.pregunta-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  animation: slideUp .3s ease;
}

.pregunta-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 8px;
}

.pregunta-texto {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Score circle ───────────────────────────── */
.score-wrap { text-align: center; padding: 24px 0 20px; }

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.score-circle.alto   { background: rgba(34,197,94,.2);  border: 3px solid var(--success); color: #4ade80; }
.score-circle.medio  { background: rgba(255,183,3,.15); border: 3px solid var(--warning); color: #fcd34d; }
.score-circle.bajo   { background: rgba(255,83,114,.15); border: 3px solid var(--danger); color: #ff8fa3; }

.score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -4px;
}

.nivel-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 20px;
}
.nivel-badge.alto   { background: rgba(34,197,94,.2);  color: #4ade80; border: 1px solid rgba(34,197,94,.4); }
.nivel-badge.medio  { background: rgba(255,183,3,.15); color: #fcd34d; border: 1px solid rgba(255,183,3,.4); }
.nivel-badge.bajo   { background: rgba(255,83,114,.15);color: #ff8fa3; border: 1px solid rgba(255,83,114,.4); }

.resultado-nota {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Historial table ────────────────────────── */
.hist-table { width: 100%; border-collapse: collapse; }
.hist-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.hist-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(46,55,80,.6);
  font-size: 13px;
}
.hist-table tr:last-child td { border-bottom: none; }
.hist-table tr:hover td { background: rgba(255,255,255,.02); }

.badge-estado {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-finalizada { background: rgba(34,197,94,.15);  color: #4ade80; }
.badge-proceso    { background: rgba(255,183,3,.15);  color: #fcd34d; }

.btn-sm-ver {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-sm-ver:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm-solid {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-sm-solid:hover { opacity: 0.85; }

/* ── Empty state ────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ── Divider ────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* ── Company info strip ─────────────────────── */
.empresa-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px;
}
.empresa-strip .badge-ruc {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ── Tooltip-like info ──────────────────────── */
.info-tip {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: var(--bg3);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px;
}

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

/* ── Page header ────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.page-header .back-btn {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.page-header .back-btn:hover { background: var(--border); color: var(--text); }
.page-header h2 { font-size: 18px; font-weight: 700; color: var(--text); }

/* ── Scroll ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Ripple util ────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transition: opacity .2s;
}
.btn:active::after { opacity: 1; }

/* ════════════════════════════════════════════════
   TOPBAR DE 2 LÍNEAS
   ════════════════════════════════════════════════ */
.tb-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg2);
  border-bottom: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg2), var(--bg2)),
    linear-gradient(90deg, var(--primary-lt), var(--accent), var(--green));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.tb-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
}
.tb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.tb-brand-icon {
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}
.tb-brand-name { font-size: 13px; font-weight: 700; }
.tb-actions { display: flex; gap: 6px; align-items: center; }
.tb-icon-btn {
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--accent);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.tb-icon-btn:hover { background: rgba(108, 99, 255, 0.25); color: #fff; }
.tb-row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 8px;
  gap: 8px;
  overflow-x: auto;
}
.tb-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tb-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  background: var(--bg3);
  border: 1px solid var(--border);
}
.tb-nav-link:hover  { 
  background: rgba(108,99,255,.1); 
  border-color: rgba(108,99,255,.3);
  color: var(--primary); 
}
.tb-nav-link.tb-active {
  background: rgba(42,82,152,.2);
  color: var(--accent);
  border-color: rgba(42,82,152,.35);
}
.tb-plan-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(30,58,110,.35), rgba(232,124,30,.2));
  border: 1px solid rgba(232,124,30,.45);
  color: var(--accent);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.tb-plan-btn:hover { background: rgba(232,124,30,.25); }

/* ════════════════════════════════════════════════
   DASHBOARD — KPIs 3 col
   ════════════════════════════════════════════════ */
.kpi-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  margin: 0 auto 6px;
  line-height: 1;
}
.kpi-circle.alto  { background: rgba(34,197,94,.18);   border: 2px solid var(--success); color: #4ade80; }
.kpi-circle.medio { background: rgba(255,183,3,.15);   border: 2px solid var(--warning); color: #fcd34d; }
.kpi-circle.bajo  { background: rgba(255,83,114,.15);  border: 2px solid var(--danger);  color: #ff8fa3; }
.kpi-risk  { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.kpi-val   { font-size: 10.5px; font-weight: 700; margin-bottom: 2px; line-height: 1.3; }

/* ════════════════════════════════════════════════
   BAR CHART — Categorías
   ════════════════════════════════════════════════ */
.cat-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.cat-bar-row:last-child { margin-bottom: 0; }
.cat-bar-label {
  font-size: 11px;
  color: var(--text-muted);
  width: 130px;
  flex-shrink: 0;
  line-height: 1.3;
}
.cat-bar-wrap {
  flex: 1;
  background: var(--bg3);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}
.cat-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width .7s cubic-bezier(.4,0,.2,1);
}
.cat-bar-pct {
  font-size: 11px;
  font-weight: 700;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   PLAN PAGE
   ════════════════════════════════════════════════ */
.plan-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.plan-detail-header.activo  { background: rgba(34,197,94,.07); }
.plan-detail-header.alerta  { background: rgba(232,124,30,.07); }
.plan-detail-header.urgente { background: rgba(229,62,62,.07); }
.plan-detail-icon  { font-size: 26px; }
.plan-detail-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform:uppercase; letter-spacing:.08em; }
.plan-detail-dias  { font-size: 19px; font-weight: 800; color: var(--text); margin-top: 2px; }
.plan-info-row     { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.plan-info-label   { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.plan-info-val     { font-size: 14px; font-weight: 700; color: var(--accent); }
.plan-divider      { border-top: 1px solid var(--border); margin: 14px 0; }
.plan-steps        { display: flex; flex-direction: column; gap: 10px; }
.plan-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.step-num {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-motivador {
  background: linear-gradient(135deg, rgba(30,58,110,.18), rgba(232,124,30,.1));
  border: 1px solid rgba(42,82,152,.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 18px;
}
.plan-motivador p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .tb-nav-link .nav-text {
    display: none;
  }
  .tb-nav { gap: 6px; }
  .tb-nav-link {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .tb-nav-link svg {
    margin: 0;
  }
  .tb-nav-link.tb-active {
    background: rgba(42,82,152,.2);
    border: 1px solid rgba(42,82,152,.5);
    color: var(--accent);
  }
  .btn-sm-ver span { display: none; }
  .btn-sm-ver { padding: 5px 8px; }
}