/* ============================================================
   Kdosh Partner Hub — Style Sheet
   Dark mode, Glassmorphism, Premium Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
  --bg:        #070b18;
  --bg2:       #0d1225;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.16);
  --primary:   #7c3aed;
  --primary-h: #6d28d9;
  --primary-g: rgba(124,58,237,0.25);
  --green:     #10b981;
  --green-g:   rgba(16,185,129,0.2);
  --amber:     #f59e0b;
  --amber-g:   rgba(245,158,11,0.15);
  --red:       #ef4444;
  --red-g:     rgba(239,68,68,0.15);
  --wa:        #25d366;
  --wa-h:      #1fba59;
  --wa-g:      rgba(37,211,102,0.2);
  --text:      #f1f5f9;
  --text-m:    #94a3b8;
  --text-d:    #64748b;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 60px rgba(0,0,0,0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124,58,237,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(16,185,129,0.05), transparent);
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,11,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--wa-g);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa);
}

/* ─── Main ─── */
.main {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* ─── Steps Bar ─── */
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

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

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-d);
  transition: var(--transition);
}

.step.active .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 16px var(--primary-g);
}

.step.done .step-dot {
  background: var(--green-g);
  border-color: var(--green);
  color: var(--green);
}

.step-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-d);
  transition: var(--transition);
}

.step.active .step-label { color: var(--primary); }
.step.done .step-label { color: var(--green); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: -20px 4px 0;
  min-width: 40px;
  transition: var(--transition);
}

/* ─── Step Panels ─── */
.step-panel { display: none; animation: fadeSlideIn 0.3s ease; }
.step-panel.active { display: block; }

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

/* ─── Card ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

.card-center { text-align: center; }

.card-icon-bg {
  width: 64px;
  height: 64px;
  background: var(--primary-g);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary);
}

.card-icon-bg.warn {
  background: var(--amber-g);
  border-color: rgba(245,158,11,0.3);
  color: var(--amber);
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-m);
  margin-bottom: 28px;
}

/* ─── Input ─── */
.input-group { margin-bottom: 18px; }

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-m);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-d);
  pointer-events: none;
}

.input-field {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
  letter-spacing: 0.5px;
}

.input-field::placeholder { color: var(--text-d); font-weight: 400; letter-spacing: 0; }

.input-field:focus {
  border-color: var(--primary);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px var(--primary-g);
}

.input-field.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-g);
}

.input-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-d);
}

/* ─── Select ─── */
.select-wrapper { position: relative; }

.select-field {
  width: 100%;
  padding: 12px 40px 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition);
}

.select-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-g);
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-d);
  pointer-events: none;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #9333ea);
  color: white;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.45);
  filter: brightness(1.1);
}

.btn-primary:active { transform: translateY(0); }

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa), #1fba59);
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  filter: brightness(1.1);
}

.btn-email {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.btn-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(16,185,129,0.4);
  filter: brightness(1.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-m);
  border: 1.5px solid var(--border);
}

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

.btn-send-small:hover {
  background: var(--wa);
  color: white;
  transform: translateY(-1px);
}

/* ─── Voucher Ticket (Step 4) ─── */
.voucher-container {
  padding: 24px 0;
  animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.voucher-ticket {
  background: #000;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid #333;
}

.voucher-header {
  padding: 30px 20px 25px;
  border-bottom: 2px dashed #222;
}

.voucher-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  width: fit-content;
}

.voucher-logo-img { max-width: 170px; height: auto; }
.voucher-favicon { width: 26px; height: 26px; border-radius: 6px; }

.voucher-body { 
  padding: 40px 10px; 
  background: #fff; 
  margin: 0 45px; 
  border-radius: 0; /* Sin redondeo por petición */
  color: #000;
}

/* New Vertical Layout */
.voucher-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* Aún más pegado */
  margin-bottom: 20px;
}

.voucher-side-text {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  color: #000;
  letter-spacing: 1px;
  line-height: 1;
}

/* Ambos miran en la misma dirección ahora */
.voucher-side-text.left { transform: none; } 

.voucher-percent {
  font-size: 110px; /* Un poco más pequeño */
  font-weight: 1000; /* Forzar el máximo grosor */
  line-height: 0.85;
  color: #000;
  letter-spacing: -5px;
  margin: 0;
  -webkit-text-stroke: 1px black; /* Truco para hacerlo más grueso en web */
}

.voucher-percent span { 
  font-size: 45px; 
  vertical-align: super; 
  margin-left: -5px;
  font-weight: 800;
}

.voucher-program-name {
  font-size: 16px; /* Aumentado */
  font-weight: 700;
  color: #475569;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voucher-qr-box {
  background: #fff;
  display: inline-block;
  padding: 5px;
  margin-bottom: 15px;
}

.voucher-qr-img {
  width: 160px;
  height: 160px;
  display: block;
}

.voucher-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #000;
  margin-top: 10px;
}

.voucher-footer {
  background: #f1f5f9;
  padding: 15px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

.btn-full { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-row .btn-primary,
.btn-row .btn-whatsapp,
.btn-row .btn-email { flex: 1; }

.btn-row-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ─── Loader ─── */
.btn-loader {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: var(--green-g);
  color: var(--green);
  border: 1px solid rgba(16,185,129,0.3);
}

.badge-danger {
  background: var(--red-g);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.3);
}

.option-badge.available {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.option-badge.empty {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

/* ─── Partner Card ─── */
.partner-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.partner-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.partner-info { flex: 1; min-width: 0; }

.partner-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.partner-dni {
  font-size: 13px;
  color: var(--text-m);
  margin-top: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.contact-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-g);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-d);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-top: 2px;
  word-break: break-all;
}

/* ─── Boxes ─── */
.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--amber-g);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 4px;
}

.error-box {
  padding: 12px 14px;
  background: var(--red-g);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #fca5a5;
  margin-top: 12px;
}

/* ─── Form grid ─── */
.form-grid { display: flex; flex-direction: column; gap: 4px; }

/* ─── Contact Targets (Step 3) ─── */
.contact-targets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* ─── WhatsApp Target ─── */
.wa-target {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--wa-g);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.wa-icon {
  width: 40px;
  height: 40px;
  background: var(--wa);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.wa-label { font-size: 11px; color: var(--text-d); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.wa-number { font-size: 16px; font-weight: 700; color: var(--wa); margin-top: 2px; }

/* ─── Email Target ─── */
.email-target {
  background: rgba(16,185,129,0.1) !important;
  border-color: rgba(16,185,129,0.2) !important;
}

.email-icon {
  background: var(--green) !important;
}

.email-target .wa-number {
  color: var(--green) !important;
}

/* ─── Custom Select Premium ─── */
.custom-select {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.select-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.select-trigger.open {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.select-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-l);
}

.select-arrow {
  transition: transform 0.2s ease;
  color: var(--text-m);
}

.select-trigger.open .select-arrow {
  transform: rotate(180deg);
}

.select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #1a1b1e;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.select-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.select-option:last-child { border-bottom: none; }

.select-option:hover {
  background: rgba(124, 58, 237, 0.1);
}

.select-option.selected,
.select-option.active {
  background: rgba(124, 58, 237, 0.18);
  border-left: 3px solid var(--primary);
}

.select-option.active .option-name {
  color: var(--primary);
  font-weight: 600;
}

/* Opción agotada */
.select-option.exhausted {
  opacity: 0.55;
  cursor: default;
}
.select-option.exhausted:hover {
  background: transparent;
}

/* Texto del trigger cuando hay programa seleccionado */
.select-value.selected {
  color: var(--text);
  font-weight: 500;
}

.option-info { display: flex; flex-direction: column; gap: 2px; }
.option-name { font-size: 14px; font-weight: 500; }
.option-count { font-size: 11px; color: var(--text-d); }

.option-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-weight: 600;
}

.option-badge.empty {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.select-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: transparent !important;
}

.select-option.disabled .option-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ─── Success Animation ─── */
.success-animation {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
}

.success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-g);
  border: 2px solid var(--green);
  animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.success-check {
  position: absolute;
  inset: 0;
  background: var(--green-g);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ─── Result Card ─── */
.result-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 20px 0 24px;
  text-align: left;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.result-row:last-child { border-bottom: none; }

.result-label { font-size: 12px; color: var(--text-d); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.result-value { font-size: 14px; color: var(--text); font-weight: 600; text-align: right; word-break: break-all; }
.result-code {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: var(--primary);
  background: var(--primary-g);
  padding: 3px 10px;
  border-radius: 6px;
}

/* ─── Add Mobile Block ─── */
.add-mobile-block {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 4px;
}

.add-mobile-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 12px;
}

.add-mobile-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input-sm {
  padding: 10px 10px 10px 38px !important;
  font-size: 14px !important;
}

.btn-save-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--green), #059669);
  color: white;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-save-mobile:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
}

.btn-save-mobile:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-item.has-mobile .contact-icon {
  background: var(--green-g);
  color: var(--green);
}

.partners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.partners-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-d);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.partners-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-m);
  vertical-align: middle;
}

.partners-table tr:last-child td { border-bottom: none; }

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

.partner-cell-name {
  font-weight: 600;
  color: var(--text);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-g);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.table-empty {
  text-align: center;
  padding: 40px !important;
  color: var(--text-d);
}

.btn-send-small {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 7px;
  border: 1px solid rgba(37,211,102,0.3);
  background: var(--wa-g);
  color: var(--wa);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: var(--transition);
}

.btn-send-small:hover { background: rgba(37,211,102,0.3); }

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .header-inner { padding: 0 16px; }
  .card { padding: 22px 18px; }
  .main { padding: 24px 14px 60px; }
  .contact-grid { grid-template-columns: 1fr; }
  .partners-table { font-size: 12px; }
  .partners-table th,
  .partners-table td { padding: 10px 12px; }
  .header-tabs .tab-btn span { display: none; }
}
