/* ================================================================
   GP Ambassadors — Frontend CSS v2.0 CORREGIDO
   Generación Presente · Inter · #007a87 → #00b4cc
   REGLA DE ORO: Todo lo que se ve tiene su color hardcodeado.
   Las variables CSS son complemento, nunca la única fuente.
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --c1:     #007a87;
  --c2:     #00b4cc;
  --grad:   linear-gradient(135deg, #007a87 0%, #00b4cc 100%);
  --dark:   #005a65;
  --light:  #e8f8fa;
  --white:  #ffffff;
  --text:   #111827;
  --muted:  #6b7280;
  --border: #e5e7eb;
  --bg:     #f8fafc;
  --r:      14px;
  --shadow: 0 8px 40px rgba(0,122,135,.13);
  --font:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset base ─────────────────────────────────────────────── */
.gpa-wrap, .gpa-wrap * { box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
.gpa-wrap { color: #111827; margin: 0 auto; padding: 30px 0 60px; max-width: 860px; }
.gpa-wrap-sm  { max-width: 460px; }
.gpa-wrap-md  { max-width: 620px; }
.gpa-register-wrap { max-width: 700px; }
.gpa-card-wrap { max-width: 420px; margin: 0 auto; padding: 0 0 40px; }

/* ── Page Header — colores hardcodeados inline (el PHP lo escribe) ─ */
/* El PHP ya escribe style="background:linear-gradient(...)" inline   */
/* Este CSS es solo fallback adicional                                 */
.gpa-page-header {
  background: linear-gradient(135deg, #007a87 0%, #00b4cc 100%);
  border-radius: 14px;
  padding: 28px 32px 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.gpa-page-header::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.07);
  border-radius: 50%; pointer-events: none;
}
/* FORZAR texto blanco en todos los hijos del header */
.gpa-page-header,
.gpa-page-header *,
.gpa-hdr-title,
.gpa-hdr-sub,
.gpa-back-arrow,
.gpa-back-arrow svg { color: #fff !important; fill: none !important; stroke: #fff !important; }
.gpa-hdr-title { font-size: 28px; font-weight: 800; margin: 0; line-height: 1.2; color: #fff !important; }
.gpa-hdr-sub   { margin: 6px 0 0; font-size: 14px; opacity: .85; color: #fff !important; }
.gpa-back-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85) !important;
  font-size: 13px; font-weight: 600;
  text-decoration: none; margin-bottom: 10px;
}
.gpa-back-arrow:hover { color: #fff !important; opacity: 1; }

/* ── Auth layout ────────────────────────────────────────────── */
.gpa-auth-body  { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,.06); margin-top: 0; }
.gpa-auth-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; color: #6b7280; justify-content: center; }
.gpa-auth-links-sep { color: #d1d5db; }
.gpa-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #9ca3af; font-size: 13px; }
.gpa-auth-divider::before, .gpa-auth-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.gpa-auth-footer-note { text-align: center; font-size: 14px; color: #6b7280; margin-top: 20px; }

/* ── BOTONES ════════════════════════════════════════════════════
   REGLA: hover NUNCA cambia el color de fondo, solo box-shadow + translateY
   Los colores van en style="" inline en el PHP.
   El CSS es solo un respaldo visual extra.
═══════════════════════════════════════════════════════════════ */
.gpa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .18s, transform .18s;
  border: none;
  line-height: 1;
}
/* Hover: SOLO sombra + elevación, NUNCA background diferente */
.gpa-btn:hover  { box-shadow: 0 6px 20px rgba(0,0,0,.15); transform: translateY(-1px); text-decoration: none; }
.gpa-btn:focus  { outline: 2px solid rgba(0,122,135,.4); outline-offset: 2px; }
.gpa-btn:active { transform: translateY(0); box-shadow: none; }

/* Primario */
.gpa-btn-primary {
  background: linear-gradient(135deg, #007a87, #00b4cc) !important;
  color: #fff !important;
  border: none !important;
}
.gpa-btn-primary:hover,
.gpa-btn-primary:focus,
.gpa-btn-primary:active {
  background: linear-gradient(135deg, #007a87, #00b4cc) !important; /* inamovible */
  color: #fff !important;
}

/* Outline */
.gpa-btn-outline {
  background: transparent !important;
  color: #007a87 !important;
  border: 1.5px solid #007a87 !important;
}
.gpa-btn-outline:hover,
.gpa-btn-outline:focus,
.gpa-btn-outline:active {
  background: rgba(0,122,135,.06) !important; /* solo tinte sutil */
  color: #007a87 !important;
  border: 1.5px solid #007a87 !important;
}

.gpa-btn-full { width: 100%; }

/* Spinner dentro del botón */
@keyframes gpa-spin { to { transform: rotate(360deg); } }
.btn-spin { animation: gpa-spin .8s linear infinite; }
.gpa-hidden { display: none !important; }

/* Google button */
.gpa-btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 46px; border-radius: 10px;
  background: #fff; border: 1.5px solid #e5e7eb;
  font-size: 14px; font-weight: 600; color: #111827;
  cursor: pointer; text-decoration: none; transition: box-shadow .18s;
}
.gpa-btn-google:hover { box-shadow: 0 2px 12px rgba(0,0,0,.1); }

/* ── Inputs ─────────────────────────────────────────────────── */
.gpa-field { display: flex; flex-direction: column; gap: 6px; }
.gpa-label { font-size: 13px; font-weight: 600; color: #374151; }
.gpa-req   { color: #dc2626; }
.gpa-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-size: 14px; color: #111827;
  background: #fff;
  transition: border-color .15s;
  font-family: inherit;
  -webkit-appearance: none;
}

/* Disable native browser password toggle to prevent duplicate toggles */
input[type="password"] {
  -webkit-text-security: disc;
}

/* Hide native password toggle in WebKit browsers */
input[type="password"]::-webkit-textfield-decoration-container {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  right: -9999px !important;
}
.gpa-input:focus { outline: none; border-color: #007a87; box-shadow: 0 0 0 3px rgba(0,122,135,.12); }
.gpa-input::placeholder { color: #9ca3af; }
textarea.gpa-input { height: auto; padding: 12px 14px; resize: vertical; }
select.gpa-input { cursor: pointer; }

/* Campos deshabilitados — texto SIEMPRE visible */
.gpa-input:disabled,
.gpa-input[readonly],
input:disabled, select:disabled, textarea:disabled,
input[readonly], select[readonly] {
  background: #f8fafc !important;
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* Input con icono */
.gpa-input-wrap { position: relative; }
.gpa-input-wrap .gpa-input { padding-left: 42px; }
.gpa-input-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #9ca3af; pointer-events: none; }
.gpa-eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 4px; color: #9ca3af; outline: none; }
.gpa-eye-btn:focus { outline: none; box-shadow: none; }
.gpa-eye-btn svg { width: 18px; height: 18px; transition: opacity 0.15s ease; }

/* Animación suave para el toggle de contraseña */
@keyframes gpa-eye-pulse {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(0.95); }
  100% { transform: translateY(-50%) scale(1); }
}

.gpa-eye-animate {
  animation: gpa-eye-pulse 0.15s ease;
}

/* Transición suave para cambio de icono */
.gpa-eye-transition svg {
  opacity: 0.5;
}

/* Password meter */
.gpa-pass-meter { height: 4px; background: #e5e7eb; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.gpa-pass-fill  { height: 100%; width: 0; transition: width .3s, background .3s; border-radius: 2px; }
.gpa-pass-hint  { font-size: 11px; color: #6b7280; margin-top: 2px; }

/* ── Formulario ─────────────────────────────────────────────── */
.gpa-form { display: flex; flex-direction: column; gap: 16px; }
.gpa-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gpa-full   { grid-column: 1 / -1; }
.gpa-textarea { min-height: 120px; }
.gpa-nopaste-notice { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; background: #f8fafc; border-radius: 8px; padding: 10px 14px; border: 1px solid #e5e7eb; margin-bottom: 16px; }
.gpa-check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; cursor: pointer; }
.gpa-check-label input { margin-top: 2px; flex-shrink: 0; }

/* Feedback */
.gpa-form-feedback { display: none; padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.gpa-feedback-ok  { display: block; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.gpa-feedback-err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Alerts */
.gpa-alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.gpa-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.gpa-alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.gpa-alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Links */
.gpa-link      { color: #007a87; text-decoration: none; font-weight: 500; }
.gpa-link:hover { text-decoration: underline; }
.gpa-link-bold { font-weight: 700; }

/* ── Login con tarjeta ─────────────────────────────────────── */
.gpa-card-login-panel { margin-top: 16px; padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #e5e7eb; }
.gpa-pin-notice { font-size: 14px; color: #374151; margin: 0 0 12px; }

/* ── Stepper registro ───────────────────────────────────────── */
.gpa-stepper {
  display: flex; align-items: center;
  margin-bottom: 28px; padding: 0 8px;
  gap: 0;
}
.gpa-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.gpa-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: #fff; border: 2px solid #e5e7eb; color: #9ca3af;
  transition: all .2s;
}
.gpa-step.active .gpa-step-num { background: #007a87; border-color: #007a87; color: #fff; }
.gpa-step.done   .gpa-step-num { background: #007a87; border-color: #007a87; color: #fff; }
.gpa-step-label { font-size: 11px; font-weight: 600; color: #9ca3af; white-space: nowrap; }
.gpa-step.active .gpa-step-label,
.gpa-step.done   .gpa-step-label { color: #007a87; }
.gpa-step-line   { flex: 1; height: 3px; background: #e5e7eb; transition: background .20s ease-in-out; margin: 0 4px; margin-bottom: 22px; }
.gpa-step-line.done { background: #007a87; }

/* Panel de paso */
.gpa-step-panel { display: none; }
.gpa-step-panel.active { display: block; }
.gpa-step-heading { display: none; } /* Remove step headings as requested */
.gpa-step-heading-num { width: 28px; height: 28px; background: linear-gradient(135deg,#007a87,#00b4cc); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.gpa-step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }


/* Confirm box registro */
.gpa-confirm-box { background: #f8fafc; border-radius: 12px; padding: 20px; border: 1px solid #e5e7eb; }

/* ── Dashboard — Hero (el PHP escribe los styles inline) ─────── */
.gpa-intranet { max-width: 860px; }
.gpa-hero { border-radius: 16px; padding: 28px 32px; margin-bottom: 24px; position: relative; overflow: visible; }
/* Fallback si el style inline no carga */
.gpa-hero { background: linear-gradient(135deg, #007a87 0%, #00b4cc 100%); }
.gpa-hero * { color: #fff; }

/* ── Módulos de navegación ──────────────────────────────────── */
.gpa-modules {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; margin-bottom: 24px;
}
.gpa-mod {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 18px 12px;
  text-decoration: none; color: #374151;
  border: 1px solid #e5e7eb;
  transition: box-shadow .18s, transform .18s;
  position: relative;
  font-size: 12px; font-weight: 600; text-align: center;
}
.gpa-mod:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); color: #007a87; }
.gpa-mod-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #e8f8fa, #d0f0f4);
  display: flex; align-items: center; justify-content: center;
}
.gpa-mod-icon svg { width: 22px; height: 22px; stroke: #007a87; }
.gpa-mod-label { font-size: 11px; font-weight: 600; color: #374151; line-height: 1.3; }
.gpa-mod:hover .gpa-mod-label { color: #007a87; }
.gpa-mod-badge {
  position: absolute; top: 6px; right: 6px;
  background: #dc2626; color: #fff;
  font-size: 10px; font-weight: 800; min-width: 18px; height: 18px;
  border-radius: 9px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Two column layout ──────────────────────────────────────── */
.gpa-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }

/* ── Content box ────────────────────────────────────────────── */
.gpa-content-box {
  background: #fff; border-radius: 16px; padding: 24px;
  border: 1px solid #e5e7eb; margin-bottom: 24px;
}
.gpa-box-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px;
}
.gpa-box-header h2,
.gpa-crew-desc { font-size: 14px; font-weight: 500; color: #000000cb; margin-bottom: 7px; }
.gpa-box-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #111827; }
.gpa-count-badge { background: #007a87; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* ── Notificaciones ─────────────────────────────────────────── */
.gpa-notif-list { display: flex; flex-direction: column; gap: 2px; }
.gpa-notif-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px; border-radius: 10px; cursor: pointer;
  transition: background .12s;
}
.gpa-notif-row:hover { background: #f8fafc; }
.gpa-notif-row.unread { background: #e8f8fa; }
.gpa-notif-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; flex-shrink: 0; margin-top: 6px; }
.gpa-notif-row.unread .gpa-notif-dot { background: #007a87; }
.gpa-notif-body-wrap { flex: 1; }
.gpa-notif-title { font-size: 14px; font-weight: 600; color: #111827; }
.gpa-notif-body  { font-size: 13px; color: #6b7280; margin-top: 2px; }
.gpa-notif-time  { font-size: 11px; color: #9ca3af; white-space: nowrap; flex-shrink: 0; }

/* ── GP Crew ────────────────────────────────────────────────── */
.gpa-crew-card { background: #f8fafc; border-radius: 12px; padding: 16px; margin-bottom: 16px; border: 1px solid #e5e7eb; }
.gpa-crew-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.gpa-crew-badge.bronze { background: #fef3c7; color: #92400e; }
.gpa-crew-badge.silver { background: #f3f4f6; color: #374151; }
.gpa-crew-badge.gold   { background: #fef9c3; color: #713f12; }
.gpa-crew-bar  { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.gpa-crew-fill { height: 100%; background: linear-gradient(90deg,#007a87,#00b4cc); border-radius: 4px; transition: width .6s ease; }
.gpa-crews-list { display: flex; flex-direction: column; gap: 12px; }
.gpa-crew-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid #e5e7eb; }
.gpa-crew-item.locked{
    opacity:.55;
    filter:grayscale(1);
    position:relative;
}

.gpa-crew-item.locked::after{
    content:'🔒';
    position:absolute;
    top:10px;
    right:10px;
    font-size:14px;
    opacity:.9;
}
.gpa-crew-item.current { border-color: #007a87; background: #e8f8fa; }
.gpa-crew-item-badge { font-size: 24px; }
.gpa-crew-item-name { font-size: 14px; font-weight: 700; color: #111827; }
.gpa-crew-item-desc { font-size: 12px; color: #6b7280; margin-top: 2px; }
.gpa-crew-current-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: #007a87; white-space: nowrap; }
.gpa-achievement-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.gpa-achievement-ico { font-size: 18px; }
.gpa-achievement-title { flex: 1; color: #374151; }
.gpa-achievement-pts { font-weight: 700; color: #007a87; }

/* ── Formularios de solicitud ───────────────────────────────── */
.gpa-forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.gpa-form-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 20px; text-decoration: none; color: #111827;
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.gpa-form-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-2px); border-color: var(--card-color, #007a87); }
.gpa-form-card-icon svg { width: 28px; height: 28px; stroke: var(--card-color, #007a87); }
.gpa-form-card-title { font-size: 15px; font-weight: 700; color: #111827; }
.gpa-form-card-desc  { font-size: 13px; color: #6b7280; line-height: 1.5; }
.gpa-form-card-cta   { font-size: 13px; font-weight: 700; color: var(--card-color, #007a87); margin-top: 4px; }

/* Historial de solicitudes */
.gpa-history-list { display: flex; flex-direction: column; gap: 2px; }
.gpa-history-row  { display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px; border-radius: 10px; }
.gpa-history-row:nth-child(odd) { background: #f8fafc; }
.gpa-history-icon svg { width: 20px; height: 20px; margin-top: 2px; }
.gpa-history-info { flex: 1; }
.gpa-history-info strong { font-size: 14px; color: #111827; display: block; }
.gpa-history-info time { font-size: 12px; color: #9ca3af; display: block; margin-top: 2px; }
.gpa-history-note { font-size: 13px; color: #374151; margin-top: 4px; background: #f0fdf4; border-radius: 6px; padding: 6px 10px; }

/* Status pills */
.gpa-status-pill { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.gpa-status-pill.pending  { background: #fef3c7; color: #92400e; }
.gpa-status-pill.approved { background: #dcfce7; color: #166534; }
.gpa-status-pill.rejected { background: #fee2e2; color: #991b1b; }
.gpa-stt-pill { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.gpa-stt-pill.active    { background: #dcfce7; color: #166534; }
.gpa-stt-pill.pending   { background: #fef3c7; color: #92400e; }
.gpa-stt-pill.suspended { background: #fee2e2; color: #991b1b; }

/* ── Tarjeta digital ────────────────────────────────────────── */
.gpa-id-card-wrap { perspective: 1200px; margin-bottom: 16px; }
.gpa-id-card {
  width: 100%; max-width: 380px; aspect-ratio: 1.586;
  position: relative; transform-style: preserve-3d;
  transition: transform .6s ease;
  border-radius: 20px; cursor: pointer; margin: 0 auto; display: block;
}
.gpa-id-card.flipped { transform: rotateY(180deg); }
.gpa-id-front, .gpa-id-back {
  position: absolute; inset: 0; border-radius: 20px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.gpa-id-front {
  background: linear-gradient(145deg, #007a87 0%, #00b4cc 100%);
  padding: 18px 20px; color: #fff;
  display: flex; flex-direction: column; gap: 4px;
}
.gpa-id-back {
  background: linear-gradient(145deg, #005265 0%, #007a87 100%);
  transform: rotateY(180deg);
  padding: 20px; color: #fff;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; text-align: center;
}
.gpa-id-org   { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; color: #fff !important; }
.gpa-id-badge { position: absolute; top: 12px; right: 14px; background: rgba(255,255,255,.2); border-radius: 20px; padding: 3px 10px; font-size: 10px; font-weight: 700; color: #fff !important; }
.gpa-id-badge.inactive { background: rgba(220,38,38,.4); }
.gpa-id-av { width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; overflow: hidden; flex-shrink: 0; color: #fff !important; }
.gpa-id-av img { width: 100%; height: 100%; object-fit: cover; }
.gpa-id-name  { font-size: 16px; font-weight: 800; color: #fff !important; margin-top: 4px; }
.gpa-id-role  { font-size: 9px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; color: #fff !important; }
.gpa-id-loc   { font-size: 11px; opacity: .65; color: #fff !important; }
.gpa-id-bc-wrap { margin-top: 4px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; }
.gpa-id-bc-num  { font-family: monospace; font-size: 9px; letter-spacing: 1.5px; opacity: .75; margin-top: 4px; color: #fff !important; }
.gpa-id-numrow  { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,.15); border-radius: 8px; padding: 6px 10px; margin-top: 4px; }
.gpa-id-numlabel { font-size: 9px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; color: #fff !important; }
.gpa-id-num     { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #fff !important; }
.gpa-id-qr img  { border-radius: 8px; background: rgba(255,255,255,.1); padding: 4px; }
.gpa-id-qrhint  { font-size: 10px; opacity: .6; color: #fff !important; }
.gpa-id-legal   { font-size: 10px; opacity: .45; line-height: 1.5; max-width: 260px; color: #fff !important; }
.gpa-flip-btn   { display: flex; align-items: center; gap: 6px; margin: 10px auto; background: none; border: none; color: #6b7280; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.gpa-flip-btn:hover { color: #007a87; }
.gpa-card-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.gpa-card-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }
.gpa-card-actions a.primary { background: linear-gradient(135deg, #007a87, #00b4cc) !important; color: #fff !important; }
.gpa-card-actions a.primary:hover { box-shadow: 0 6px 20px rgba(0,122,135,.35); transform: translateY(-1px); }
.gpa-data-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
.gpa-data-box-hdr { padding: 14px 18px; border-bottom: 1px solid #e5e7eb; font-size: 14px; font-weight: 700; color: #111827; }
.gpa-data-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid #f3f4f6; font-size: 13px; color: #374151; }
.gpa-data-row:last-child { border-bottom: none; }
.gpa-data-row span:first-child { color: #6b7280; }
.gpa-data-row strong { color: #111827; font-weight: 600; }
.gpa-data-row code { font-family: monospace; background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* ── Downloads / docs ───────────────────────────────────────── */
.gpa-downloads-list { display: flex; flex-direction: column; gap: 8px; }
.gpa-download-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #f8fafc; border-radius: 12px; border: 1px solid #e5e7eb; text-decoration: none; color: #111827; transition: box-shadow .15s; }
.gpa-download-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); border-color: #007a87; }
.gpa-dl-icon { width: 40px; height: 40px; background: linear-gradient(135deg,#e8f8fa,#d0f0f4); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gpa-dl-icon svg { width: 20px; height: 20px; stroke: #007a87; }
.gpa-dl-info { flex: 1; }
.gpa-dl-name { font-size: 14px; font-weight: 600; color: #111827; }
.gpa-dl-size { font-size: 12px; color: #6b7280; margin-top: 2px; }

/* ── Perfil ─────────────────────────────────────────────────── */
.gpa-profile-layout-single { display: block; }
.gpa-profile-layout-single .gpa-content-box { margin-bottom: 0; }

/* ── Logout button ──────────────────────────────────────────── */
.gpa-logout-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: #6b7280; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  padding: 10px 20px; border-radius: 10px;
  border: 1.5px solid #e5e7eb; background: #fff;
  transition: color .15s, border-color .15s, box-shadow .15s;
}
.gpa-logout-btn:hover { color: #dc2626; border-color: #dc2626; box-shadow: 0 2px 8px rgba(220,38,38,.1); }
.gpa-logout-btn svg { stroke: currentColor; }

/* ── Notice ────────────────────────────────────────────────── */
.gpa-notice { padding: 14px 18px; background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; border-radius: 10px; font-size: 14px; }
.gpa-notice a { color: #1e40af; font-weight: 700; }
.gpa-empty { color: #9ca3af; font-size: 14px; text-align: center; padding: 24px 0; }

/* ── Btn-link ───────────────────────────────────────────────── */
.gpa-btn-link { background: none; border: none; cursor: pointer; font-size: 13px; font-weight: 600; color: #007a87; padding: 0; font-family: inherit; }
.gpa-btn-link:hover { text-decoration: underline; }

/* ── Coord badge ────────────────────────────────────────────── */
.gpa-coord-badge { background: rgba(255,255,255,.25); border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; color: #fff !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .gpa-page-header { padding: 20px; border-radius: 12px; margin-bottom: 16px; }
  .gpa-hdr-title   { font-size: 22px; }
  .gpa-auth-body   { padding: 20px; }
  .gpa-step-panel  { padding: 0; }
  .gpa-content-box { padding: 16px; }
  .gpa-forms-grid  { grid-template-columns: 1fr; }
  .gpa-grid-2      { grid-template-columns: 1fr; }
  .gpa-two-col     { grid-template-columns: 1fr; }
  .gpa-modules     { grid-template-columns: repeat(3, 1fr); }
  .gpa-hero        { padding: 20px; }
  .gpa-stepper     { gap: 2px; }
  .gpa-step-label  { display: none; }
}
@media (max-width: 420px) {
  .gpa-modules { grid-template-columns: repeat(2, 1fr); }
  .gpa-card-actions { flex-direction: column; }
}