:root{
  --bg:#000;
  --panel:#171717;
  --panel2:#201d22;
  --line:#303035;
  --text:#fff;
  --muted:#9a9aa1;
  --lime:#b8f337;
  --purple:#6e53bd;
  --danger:#ff5d5d;
  --ok:#4fd36b;
  --warn:#f6b84a;
  --sidebar-width:260px;
  --mobile-bottom-height:72px;
}

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

html{
  width:100%;
  max-width:100%;
  overflow-x:clip;
  background:var(--bg);
}

body{
  margin:0;
  width:100%;
  max-width:100%;
  min-height:100vh;
  overflow-x:clip;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

img{
  max-width:100%;
  height:auto;
}

/* =========================================================
   ESTRUCTURA GENERAL
========================================================= */

.app-shell{
  display:block;
  width:100%;
  min-height:100vh;
}

.sidebar{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:var(--sidebar-width);
  height:100vh;
  padding:22px 16px 16px;
  display:flex;
  flex-direction:column;
  background:#0d0d0e;
  border-right:1px solid #1d1d1f;
  z-index:1000;
  overflow:hidden;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:22px;
  flex:0 0 auto;
}

.brand-logo{
  display:block;
  width:190px;
  max-width:100%;
  height:auto;
  margin:0 auto;
}

.brand-mark{
  width:48px;
  height:48px;
  border-radius:14px;
  background:linear-gradient(145deg,var(--lime),#5f9f12);
  display:grid;
  place-items:center;
  color:#050505;
  font-weight:900;
  font-size:28px;
  transform:skew(-8deg);
}

.brand strong{
  font-size:20px;
  letter-spacing:1px;
}

.brand strong span{
  color:var(--lime);
}

.brand small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:2px;
}

.nav{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  flex:1 1 auto;
}

.nav::-webkit-scrollbar{
  width:5px;
}

.nav::-webkit-scrollbar-thumb{
  background:#555;
  border-radius:999px;
}

.nav-label{
  margin:17px 9px 6px;
  color:#616168;
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:1.5px;
}

.nav a{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:11px 12px;
  border-radius:12px;
  color:#d7d7dc;
}

.nav a span{
  min-width:0;
  overflow-wrap:anywhere;
}

.nav a:hover{
  background:#1c1c1f;
  color:var(--lime);
}

.sidebar-user{
  flex:0 0 auto;
  margin-top:12px;
  padding-top:14px;
  display:flex;
  gap:10px;
  align-items:center;
  border-top:1px solid #262628;
  min-width:0;
}

.sidebar-user > div:not(.avatar){
  min-width:0;
  flex:1;
}

.sidebar-user strong,
.sidebar-user small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.sidebar-user small{
  color:var(--muted);
  text-transform:capitalize;
}

.logout{
  margin-left:auto;
  color:var(--muted);
}

.avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
  color:#000;
  font-weight:bold;
}

.main-content{
  margin-left:var(--sidebar-width);
  width:auto;
  max-width:none;
  min-width:0;
  padding:24px 28px 80px;
  overflow-x:clip;
}

.topbar{
  display:flex;
  align-items:center;
  gap:15px;
  width:100%;
  min-width:0;
  margin-bottom:22px;
}

.topbar > div{
  min-width:0;
}

.topbar h1{
  margin:0;
  font-size:30px;
  line-height:1.1;
  overflow-wrap:anywhere;
}

.topbar p{
  margin:5px 0 0;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.mobile-menu{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

/* =========================================================
   CONTROL GLOBAL DEL SIDEBAR MÓVIL
========================================================= */

.sidebar-close{
  display:none;
}

.sidebar-overlay{
  position:fixed;
  inset:0;
  z-index:900;
  visibility:hidden;
  opacity:0;
  background:rgba(0,0,0,.68);
  transition:opacity .22s ease, visibility .22s ease;
  pointer-events:none;
}

.sidebar-overlay.show{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}

/* =========================================================
   BLOQUES VISUALES
========================================================= */

.hero{
  width:100%;
  max-width:100%;
  min-width:0;
  margin-bottom:22px;
  padding:28px;
  overflow:hidden;
  background:linear-gradient(135deg,#1a1a1a,#111);
  border:1px solid #28282b;
  border-radius:24px;
}

.hero h2{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.08;
  overflow-wrap:anywhere;
}

.hero h2 span{
  color:var(--lime);
}

.hero p{
  max-width:900px;
  margin-bottom:0;
  color:#aaa;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:18px;
  width:100%;
  min-width:0;
}

.card{
  width:100%;
  min-width:0;
  max-width:100%;
  padding:20px;
  overflow:hidden;
  background:var(--panel);
  border:1px solid #242427;
  border-radius:20px;
}

.card *{
  min-width:0;
}

.stat{
  grid-column:span 3;
}

.stat .num{
  color:var(--lime);
  font-size:34px;
  line-height:1;
  font-weight:800;
  margin-bottom:8px;
}

.stat small{
  color:var(--muted);
}

.span-2{grid-column:span 2}
.span-3{grid-column:span 3}
.span-4{grid-column:span 4}
.span-5{grid-column:span 5}
.span-6{grid-column:span 6}
.span-7{grid-column:span 7}
.span-8{grid-column:span 8}
.span-9{grid-column:span 9}
.span-10{grid-column:span 10}
.span-12{grid-column:span 12}

.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 16px;
  font-size:20px;
}

.section-title b{
  color:var(--lime);
}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
  margin:16px 0;
}

.actions form{
  margin:0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  max-width:100%;
  padding:11px 16px;
  border:1px solid #444;
  border-radius:14px;
  background:#1c1c1f;
  color:#fff;
  cursor:pointer;
  text-align:center;
}

.btn-primary{
  background:var(--lime);
  color:#050505;
  border-color:var(--lime);
  font-weight:800;
}

.btn-purple{
  background:var(--purple);
  border-color:var(--purple);
}

.btn-danger{
  background:#3a1717;
  border-color:#662222;
  color:#ffb7b7;
}

.btn-outline{
  border-color:var(--lime);
  color:var(--lime);
  background:transparent;
}

.muted{
  color:var(--muted);
}

.alert{
  padding:13px 16px;
  border-radius:12px;
  margin:0 0 18px;
}

.alert.success{
  background:#16361e;
  color:#b9f5c7;
}

.alert.error{
  background:#411818;
  color:#ffc1c1;
}

.badge{
  display:inline-block;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  background:#29292c;
  color:#ddd;
}

.badge.ok{
  background:#18371f;
  color:#9cf0ad;
}

.badge.lime{
  background:#32440d;
  color:#dfff9d;
}

/* =========================================================
   DASHBOARDS
========================================================= */

.dashboard-kpis,
.academy-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  width:100%;
  min-width:0;
  margin-bottom:18px;
}

.dashboard-kpis > .stat,
.academy-kpis > .stat{
  grid-column:auto !important;
  width:100%;
  min-width:0;
  min-height:145px;
}

.dashboard-main-grid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(300px,1fr);
  gap:18px;
  width:100%;
  min-width:0;
}

.dashboard-match-row,
.academy-match-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  padding:13px 0;
  border-bottom:1px solid #29292c;
}

.dashboard-match-row > div,
.academy-match-row > div{
  min-width:0;
}

.dashboard-match-row strong,
.dashboard-match-row span,
.academy-match-row strong,
.academy-match-row span{
  overflow-wrap:anywhere;
}

/* =========================================================
   TARJETAS / LISTAS / KPI
========================================================= */

.cards-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  width:100%;
  min-width:0;
}

.item-card{
  width:100%;
  min-width:0;
  max-width:100%;
  padding:20px;
  background:var(--panel2);
  border:1px solid #2c2930;
  border-radius:18px;
}

.item-card h3{
  margin:0 0 8px;
  overflow-wrap:anywhere;
}

.item-card p{
  color:#b7b5bc;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.item-card .meta{
  font-size:13px;
  color:var(--muted);
}

.kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
  min-width:0;
}

.kpi{
  width:100%;
  min-width:0;
  padding:15px;
  text-align:center;
  background:#0f0f10;
  border-radius:15px;
}

.kpi strong{
  display:block;
  color:var(--lime);
  font-size:25px;
}

.kpi span{
  font-size:11px;
  color:var(--muted);
}

/* =========================================================
   RESPONSABLE / PADRES
========================================================= */

.parent-app{
  width:100%;
  min-height:100vh;
  overflow-x:hidden;
}

.parent-main{
  width:min(1100px,100%);
  max-width:100%;
  margin:0 auto;
  padding:22px 20px 96px;
}

.parent-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  width:100%;
  margin-bottom:18px;
}

.parent-logo{
  display:block;
  width:170px;
  max-width:60vw;
  height:auto;
}

.parent-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  width:100%;
}

.parent-player-card{
  min-width:0;
}

.parent-player-head{
  display:flex;
  gap:14px;
  align-items:center;
  min-width:0;
}

.parent-player-head > div:last-child{
  min-width:0;
}

/* =========================================================
   FORMULARIOS
========================================================= */

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.form-group{
  min-width:0;
}

.form-group label{
  display:block;
  margin-bottom:7px;
  color:#cfcfd5;
  font-size:13px;
}

.form-control{
  width:100%;
  max-width:100%;
  min-width:0;
  padding:13px 14px;
  border-radius:13px;
  border:1px solid #3a3a3e;
  background:#171719;
  color:#fff;
  outline:none;
}

.form-control:focus{
  border-color:var(--lime);
}

textarea.form-control{
  min-height:110px;
  resize:vertical;
}

.password-wrapper{
  position:relative;
}

.password-wrapper .form-control{
  padding-right:52px;
}

.password-toggle{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  background:transparent;
  color:var(--lime);
  font-size:22px;
  cursor:pointer;
  padding:0;
}

.password-toggle:hover{
  color:#fff;
}

.password-toggle:focus{
  outline:none;
}

/* =========================================================
   TABLAS
========================================================= */

.table-wrap{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
  border:1px solid #25252a;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#111;
}

th,
td{
  padding:13px 14px;
  border-bottom:1px solid #28282c;
  text-align:left;
  white-space:nowrap;
}

th{
  background:#111923;
  color:#fff;
  font-size:13px;
}

tr:hover td{
  background:#151515;
}

/* =========================================================
   JUGADOR
========================================================= */

.player-header{
  display:grid;
  grid-template-columns:150px minmax(0,1fr) minmax(240px,320px);
  gap:24px;
  align-items:center;
}

.player-photo{
  width:150px;
  height:150px;
  border-radius:22px;
  background:#252529;
  display:grid;
  place-items:center;
  font-size:48px;
  color:var(--lime);
  overflow:hidden;
}

.player-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.player-meta h2{
  margin:0 0 5px;
  font-size:30px;
}

.player-code{
  color:var(--lime);
  font-weight:700;
}

/* =========================================================
   OTROS
========================================================= */

.position{
  font-weight:700;
  color:var(--muted);
}

.rank-first td:first-child{
  border-left:3px solid var(--lime);
}

.last5{
  display:flex;
  gap:6px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

.w{background:var(--ok)}
.d{background:var(--warn)}
.l{background:#d34848}

.score{
  font-size:30px;
  font-weight:800;
}

.score span{
  color:var(--lime);
}

.callup-row{
  display:grid;
  grid-template-columns:1fr 120px 120px 120px;
  gap:10px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #2a2a2e;
}

.filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.filters a{
  padding:9px 14px;
  border-radius:10px;
  background:#161616;
  color:#bbb;
}

.filters a.active{
  background:#fff;
  color:#000;
  font-weight:700;
}

/* =========================================================
   LOGIN
========================================================= */

.login-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:#000;
  padding:20px;
}

.login-box{
  width:min(440px,100%);
  text-align:center;
}

.login-logo-image{
  display:block;
  width:220px;
  max-width:80%;
  height:auto;
  margin:0 auto 28px;
}

.login-box h1{
  font-size:34px;
  margin:0;
}

.login-box h1 span{
  color:var(--lime);
}

.login-box .tag{
  color:var(--lime);
  letter-spacing:2px;
  margin-top:10px;
}

.login-box h2{
  font-size:31px;
  margin:46px 0 8px;
}

.login-box p{
  color:#8d8d93;
}

.login-form{
  text-align:left;
  margin-top:28px;
}

/* =========================================================
   NAVEGACIÓN INFERIOR
========================================================= */

.mobile-bottom{
  display:none;
}

/* =========================================================
   PANTALLAS MEDIANAS DE ESCRITORIO
========================================================= */

@media(max-width:1280px) and (min-width:1025px){

  :root{
    --sidebar-width:230px;
  }

  .sidebar{
    padding-left:14px;
    padding-right:14px;
  }

  .brand-logo{
    width:175px;
  }

  .main-content{
    padding:22px 20px 70px;
  }

  .dashboard-kpis,
  .academy-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .dashboard-main-grid{
    grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);
  }

  .cards-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .player-header{
    grid-template-columns:120px minmax(0,1fr);
  }

  .player-photo{
    width:120px;
    height:120px;
  }

  .player-header > .kpis{
    grid-column:1/-1;
  }
}

/* =========================================================
   TABLET Y MÓVIL: COMPORTAMIENTO TIPO APP
========================================================= */

@media(max-width:1024px){

  body{
    padding-bottom:calc(var(--mobile-bottom-height) + env(safe-area-inset-bottom));
  }

  .sidebar{
    width:min(84vw,310px);
    height:100dvh;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:14px 0 40px rgba(0,0,0,.5);
  }

  .sidebar.open{
    transform:translateX(0);
  }

  body.sidebar-open{
    overflow:hidden;
    touch-action:none;
  }

  .sidebar-close{
    position:absolute;
    top:10px;
    right:10px;
    z-index:4;
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    background:rgba(20,20,22,.94);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
  }

  .sidebar .brand{
    padding-right:42px;
  }

  .main-content{
    margin-left:0;
    width:auto;
    max-width:none;
    padding:14px 14px 94px;
    overflow-x:clip;
  }

  .mobile-menu{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:12px;
  }

  .topbar{
    position:sticky;
    top:0;
    z-index:500;
    min-height:64px;
    margin:-14px -14px 18px;
    padding:12px 14px;
    width:calc(100% + 28px);
    background:rgba(8,8,9,.94);
    border-bottom:1px solid rgba(255,255,255,.06);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }

  .topbar h1{
    font-size:clamp(21px,4vw,27px);
  }

  .topbar p{
    font-size:13px;
  }

  .hero{
    padding:22px 18px;
    border-radius:18px;
    margin-bottom:16px;
  }

  .hero h2{
    font-size:clamp(26px,6vw,36px);
  }

  .dashboard-kpis,
  .academy-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .dashboard-kpis > .stat,
  .academy-kpis > .stat{
    min-height:118px;
    padding:16px;
  }

  .dashboard-main-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .grid{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }

  .span-2,
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9,
  .span-10,
  .span-12,
  .grid > .stat{
    grid-column:1/-1;
  }

  .cards-list,
  .parent-cards{
    grid-template-columns:minmax(0,1fr);
  }

  .form-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .player-header{
    grid-template-columns:minmax(0,1fr);
    text-align:center;
  }

  .player-photo{
    margin:auto;
  }

  .kpis{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .callup-row{
    grid-template-columns:1fr 1fr;
  }

  .mobile-bottom{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:950;
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:1fr;
    min-height:var(--mobile-bottom-height);
    padding:7px 5px calc(7px + env(safe-area-inset-bottom));
    background:rgba(17,17,19,.97);
    border-top:1px solid #222;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }

  .mobile-bottom a{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:3px;
    min-width:0;
    padding:4px 2px;
    color:#d7d7dc;
    text-align:center;
    font-size:18px;
  }

  .mobile-bottom span{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px;
  }

  input,
  select,
  textarea,
  button{
    font-size:16px;
  }

  .form-control{
    min-height:46px;
  }

  table{
    min-width:650px;
  }

  .parent-main{
    width:100%;
    padding:12px 12px 92px;
  }

  .parent-topbar{
    position:sticky;
    top:0;
    z-index:500;
    margin:0 -12px 14px;
    width:calc(100% + 24px);
    padding:10px 12px;
    background:rgba(8,8,9,.94);
    border-bottom:1px solid rgba(255,255,255,.06);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }

  .parent-logo{
    width:145px;
  }
}

/* =========================================================
   TELÉFONOS
========================================================= */

@media(max-width:600px){

  .main-content{
    padding-left:11px;
    padding-right:11px;
  }

  .topbar{
    margin-left:-11px;
    margin-right:-11px;
    width:calc(100% + 22px);
    padding-left:11px;
    padding-right:11px;
  }

  .hero{
    padding:19px 15px;
  }

  .card,
  .item-card{
    padding:15px;
    border-radius:17px;
  }

  .dashboard-kpis > .stat,
  .academy-kpis > .stat{
    min-height:108px;
    padding:14px 12px;
  }

  .dashboard-kpis .num,
  .academy-kpis .num{
    font-size:30px;
  }

  .dashboard-kpis strong,
  .academy-kpis strong{
    font-size:14px;
  }

  .dashboard-kpis small,
  .academy-kpis small{
    font-size:11px;
  }

  .actions{
    gap:8px;
  }

  .actions > .btn,
  .actions > a.btn,
  .actions > button.btn{
    flex:1 1 auto;
  }

  .dashboard-match-row,
  .academy-match-row{
    flex-direction:column;
    gap:5px;
  }

  .dashboard-match-row .match-date,
  .academy-match-row .match-date{
    text-align:left !important;
  }
}

@media(max-width:390px){

  .dashboard-kpis,
  .academy-kpis{
    grid-template-columns:minmax(0,1fr);
  }

  .actions{
    flex-direction:column;
    align-items:stretch;
  }

  .actions > *,
  .actions form,
  .actions .btn,
  .actions form .btn{
    width:100%;
  }
}


/* =========================================================
   FIX DEFINITIVO DE DESPLAZAMIENTO HORIZONTAL
   El contenido usa margin-left + width:auto.
   Esto evita que el documento mida más que el viewport.
========================================================= */

html,
body,
.app-shell{
  min-width:0 !important;
  max-width:100% !important;
}

body{
  position:relative;
}

.main-content{
  box-sizing:border-box !important;
  margin-right:0 !important;
}

.hero,
.dashboard-kpis,
.academy-kpis,
.dashboard-main-grid,
.grid,
.card{
  max-width:100% !important;
}

@media(min-width:1025px){
  .main-content{
    margin-left:var(--sidebar-width) !important;
    width:auto !important;
  }
}

@media(max-width:1024px){
  .main-content{
    margin-left:0 !important;
    width:auto !important;
  }
}



/* =========================================================
   REGISTRO MULTITIPO
   Agregado sobre el CSS actual. No reemplaza estilos previos.
========================================================= */

.zc-register-page{
  min-height:100vh;
  margin:0;
  padding:24px 16px 44px;
  background:#000;
  color:#fff;
}

.zc-register-shell{
  width:min(680px,100%);
  margin:0 auto;
}

.zc-register-logo{
  text-align:center;
  margin-bottom:26px;
}

.zc-register-logo img{
  display:block;
  width:220px;
  max-width:72vw;
  height:auto;
  margin:0 auto;
}

.zc-register-heading{
  margin-bottom:28px;
  text-align:center;
}

.zc-register-heading h1,
.zc-verification h1{
  margin:0 0 12px;
  font-size:clamp(32px,7vw,46px);
  line-height:1.06;
}

.zc-register-heading p,
.zc-verification > p{
  max-width:560px;
  margin:0 auto;
  color:var(--muted);
  font-size:18px;
  line-height:1.5;
}

.zc-account-tag{
  display:inline-block;
  margin-bottom:20px;
  padding:9px 18px;
  border:1px solid var(--lime);
  border-radius:999px;
  color:var(--lime);
  font-size:14px;
  font-weight:800;
}

.zc-account-types{
  display:grid;
  gap:16px;
}

.zc-account-card{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:18px;
  min-width:0;
  padding:24px;
  background:#171717;
  border:1px solid #303035;
  border-radius:24px;
  transition:
    border-color .2s ease,
    transform .2s ease;
}

.zc-account-card:hover{
  border-color:var(--lime);
  transform:translateY(-2px);
}

.zc-account-icon{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#090909;
  font-size:36px;
}

.zc-account-card > div:last-child{
  min-width:0;
}

.zc-account-card h2{
  margin:4px 0 10px;
  font-size:28px;
}

.zc-account-card p{
  margin:0 0 16px;
  color:#aaaab0;
  line-height:1.5;
}

.zc-account-card strong{
  display:block;
  color:var(--lime);
  text-align:right;
  font-size:17px;
}

.zc-register-form{
  display:grid;
  gap:16px;
  padding:24px;
  background:#111;
  border:1px solid #29292d;
  border-radius:22px;
}

.zc-register-form .form-group{
  margin:0;
}

.zc-register-submit{
  width:100%;
  min-height:58px;
  margin-top:4px;
  font-size:17px;
}

.zc-register-links{
  display:grid;
  gap:14px;
  margin-top:14px;
  text-align:center;
}

.zc-register-links a{
  color:#cdbdff;
}

.zc-info-box{
  padding:14px 16px;
  border:1px solid #3d521f;
  border-radius:14px;
  background:#17200a;
  color:#ddff9e;
  line-height:1.5;
}

.zc-verification{
  text-align:center;
}

.zc-verification-icon{
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  margin:22px auto 28px;
  color:var(--lime);
  font-size:60px;
}

.zc-verification .alert{
  margin-top:22px;
}

.zc-verification .zc-info-box{
  margin:24px 0;
}

.zc-verification > .btn,
.zc-verification .zc-register-submit{
  width:100%;
  margin-top:26px;
}

@media(max-width:600px){

  .zc-register-page{
    padding:18px 12px 36px;
  }

  .zc-register-shell{
    width:100%;
  }

  .zc-register-logo{
    margin-bottom:20px;
  }

  .zc-register-logo img{
    width:190px;
  }

  .zc-register-heading{
    margin-bottom:22px;
  }

  .zc-register-heading h1,
  .zc-verification h1{
    font-size:clamp(29px,9vw,38px);
  }

  .zc-register-heading p,
  .zc-verification > p{
    font-size:16px;
  }

  .zc-account-card{
    grid-template-columns:64px minmax(0,1fr);
    gap:14px;
    padding:19px 17px;
    border-radius:20px;
  }

  .zc-account-icon{
    width:64px;
    height:64px;
    font-size:30px;
  }

  .zc-account-card h2{
    font-size:23px;
  }

  .zc-register-form{
    padding:18px 15px;
    border-radius:18px;
  }
}


.password-wrapper {
    position: relative;
    width: 100%;
}

.password-input {
    width: 100%;
    padding-right: 52px !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: transparent;

    color: #b8f337;

    font-size: 20px;

    cursor: pointer;

    padding: 0;
    margin: 0;

    border-radius: 50%;
}

.password-toggle:hover {
    background: rgba(184, 243, 55, 0.08);
}

.password-toggle:focus {
    outline: 2px solid rgba(184, 243, 55, 0.45);
    outline-offset: 2px;
}


/* =========================================================
   REGISTRO - CAMPOS CLAROS
   Mantiene el estilo del login sin afectar formularios internos.
========================================================= */

.zc-register-form .form-control{
  background:#eef4ff;
  color:#0a0a0a;
  border-color:#cfd8e6;
  caret-color:#0a0a0a;
}

.zc-register-form .form-control::placeholder{
  color:#747b86;
  opacity:1;
}

.zc-register-form .form-control:focus{
  background:#f5f8ff;
  color:#0a0a0a;
  border-color:var(--lime);
  box-shadow:0 0 0 1px var(--lime);
}

.zc-register-form select.form-control{
  background-color:#eef4ff;
  color:#0a0a0a;
}

.zc-register-form select.form-control option{
  background:#fff;
  color:#0a0a0a;
}

.zc-register-form textarea.form-control{
  background:#eef4ff;
  color:#0a0a0a;
}

.zc-register-form input:-webkit-autofill,
.zc-register-form input:-webkit-autofill:hover,
.zc-register-form input:-webkit-autofill:focus,
.zc-register-form textarea:-webkit-autofill,
.zc-register-form select:-webkit-autofill{
  -webkit-text-fill-color:#0a0a0a !important;
  -webkit-box-shadow:0 0 0 1000px #eef4ff inset !important;
  box-shadow:0 0 0 1000px #eef4ff inset !important;
  caret-color:#0a0a0a !important;
  transition:background-color 9999s ease-out 0s;
}

/* El ojo debe permanecer negro sobre el campo claro. */
.zc-register-form .password-toggle{
  color:#111 !important;
}

.zc-register-form .password-toggle:hover{
  color:#000 !important;
  background:rgba(0,0,0,.06);
}

.zc-register-form .password-toggle svg{
  stroke:currentColor;
}

/* iOS/Safari */
.zc-register-form input,
.zc-register-form select,
.zc-register-form textarea{
  -webkit-text-fill-color:#0a0a0a;
}

@media(max-width:600px){
  .zc-register-form .form-control{
    min-height:48px;
    font-size:16px;
  }
}

