:root{--cl-red:#9f1f16;--cl-red2:#dc3c18;--cl-gold:#ffca28;--cl-ink:#071225;--cl-paper:#f5f7fb}
.clausura-nav{gap:7px}.clausura-nav a{font-size:13px;padding:10px 11px}
.clausura-hero{min-height:560px;background:linear-gradient(90deg,rgba(6,13,28,.18) 0%,rgba(109,20,9,.12) 35%,rgba(91,11,4,.20) 100%),url('../../assets/img/backgrounds/bg-clausura-menores-2026.png') center/cover no-repeat!important}
.clausura-hero:before{display:none}.clausura-hero .hero-content{grid-template-columns:minmax(0,1fr) minmax(450px,.95fr);min-height:560px;padding:68px 0}.clausura-hero-copy{grid-column:2;background:rgba(71,12,7,.68);border:1px solid rgba(255,255,255,.22);border-radius:30px;padding:32px;box-shadow:0 24px 70px rgba(0,0,0,.30);backdrop-filter:blur(8px)}
.clausura-hero h1{font-size:clamp(38px,5.5vw,72px)}.clausura-hero p{color:#fff}.clausura-kicker{background:var(--cl-gold);color:#351007;border-color:transparent}
.clausura-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-34px;position:relative;z-index:5}.clausura-summary{background:#fff;color:#142238;border-radius:22px;padding:20px;border:1px solid #e1e7ef;box-shadow:0 18px 42px rgba(2,8,23,.14)}.clausura-summary strong{display:block;color:var(--cl-red);font-size:19px}.clausura-summary span{color:#607089;font-size:13px;font-weight:800}
.cl-light-section{background:var(--cl-paper);color:#142238}.cl-light-section .section-title{color:#142238}.cl-light-section .section-subtitle{color:#65758c}.cl-light-section .card{background:#fff;color:#142238;border-color:#dce4ee;box-shadow:0 16px 36px rgba(15,23,42,.08)}.cl-light-section .card p{color:#65758c}
.category-card{position:relative;overflow:hidden}.category-card:before{content:"";position:absolute;inset:auto -30px -50px auto;width:130px;height:130px;border-radius:999px;background:rgba(255,202,40,.18)}.category-card h3{font-size:27px;color:var(--cl-red)}.category-mode{display:inline-flex;margin:10px 0 14px;border-radius:999px;background:#fff2cf;color:#7b3d00;padding:6px 10px;font-size:12px;font-weight:950}.category-meta{display:grid;gap:7px;margin-top:14px;color:#40516a;font-weight:800;font-size:14px}
.cl-info-list{display:grid;gap:12px;margin:18px 0 0;padding:0;list-style:none}.cl-info-list li{display:flex;gap:10px;align-items:flex-start;color:#42536b}.cl-info-list li:before{content:"✓";display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:999px;background:#dcfce7;color:#166534;font-weight:1000}
.cl-form-hero{background:linear-gradient(135deg,#70170e,#c53616);padding:54px 0}.cl-form-hero h1{font-size:clamp(34px,5vw,62px);margin:12px 0}.cl-form-hero p{max-width:780px;color:#ffe9df;font-size:17px}.cl-back{display:inline-flex;color:#ffe3b4;font-weight:900;margin-bottom:14px}
.cl-form-section{background:#eef2f7;color:#142238;padding-top:36px}.cl-form-shell{background:#fff;border:1px solid #dce4ee;border-radius:30px;padding:28px;box-shadow:0 22px 54px rgba(15,23,42,.10)}.cl-form-shell fieldset{border:1px solid #dce4ee;border-radius:22px;padding:22px;margin:0 0 20px}.cl-form-shell legend{padding:0 10px;color:#7c1e15;font-weight:1000;font-size:18px}.cl-form-shell label{color:#33445c}.cl-form-shell .input,.cl-form-shell select,.cl-form-shell textarea{background:#f8fafc;border-color:#cfd9e6;color:#142238}.cl-form-shell small{color:#687990}.cl-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.cl-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.field-span-2{grid-column:span 2}.field-span-3{grid-column:span 3}
.cl-category-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.cl-category-option{display:flex;align-items:center;gap:12px;border:1px solid #d5deea;border-radius:18px;padding:15px;background:#f8fafc;cursor:pointer}.cl-category-option:has(input:checked){border-color:#d64222;background:#fff4ee;box-shadow:0 0 0 3px rgba(214,66,34,.10)}.cl-category-option input{width:20px;height:20px;accent-color:#b52c18}.cl-category-option strong{display:block;color:#731d14}.cl-category-option span{color:#69798f;font-size:13px}.cl-price-box{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:16px 0;padding:18px 20px;border-radius:20px;background:#fff4d9;border:1px solid #f0ce75}.cl-price-box strong{font-size:28px;color:#7d2318}.cl-check{display:flex!important;gap:10px;align-items:flex-start;color:#40516a!important}.cl-check input{margin-top:3px;accent-color:#b52c18}
.form-alert{padding:13px 15px;border-radius:14px;margin:14px 0;font-weight:800}.form-alert.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.form-alert.ok{background:#dcfce7;color:#166534;border:1px solid #86efac}.form-alert.info{background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}
.cl-modal{position:fixed;inset:0;z-index:500;display:none;align-items:center;justify-content:center;background:rgba(2,8,23,.80);padding:18px}.cl-modal.open{display:flex}.cl-modal-dialog{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;color:#142238;border-radius:28px;padding:28px;position:relative}.cl-modal-close{position:absolute;right:16px;top:14px;width:42px;height:42px;border-radius:999px;border:1px solid #d6dee9;background:#f8fafc;font-size:25px;cursor:pointer}.order-success-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:999px;background:#dcfce7;color:#166534;font-size:32px;font-weight:1000;margin:0 auto 12px}.cl-modal-dialog h2{text-align:center;color:#7c1e15}.cl-modal-dialog>p{text-align:center;color:#617188}.order-deadline{text-align:center;background:#fff4d9;border:1px solid #f0ce75;padding:12px;border-radius:16px;font-weight:900;color:#7a3d00}.cl-order-code{display:grid;grid-template-columns:1fr 150px;gap:16px;align-items:center;margin:18px 0;border:1px solid #dce4ee;border-radius:20px;padding:16px}.cl-order-code small,.cl-order-code strong{display:block}.cl-order-code small{color:#6b7a90;margin-top:8px}.cl-order-code strong{color:#7c1e15;font-size:21px;letter-spacing:.03em}.cl-order-code img{width:150px;height:150px}.order-details{border:1px solid #dce4ee;border-radius:18px;overflow:hidden}.order-detail-row{display:flex;justify-content:space-between;gap:15px;padding:12px 14px;border-top:1px solid #e4eaf1}.order-detail-row:first-child{border-top:0}.order-instructions{margin-top:18px;background:#f8fafc;border-radius:18px;padding:16px;color:#40516a}.order-instructions ol{margin-bottom:0}.order-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.cl-modal .btn-secondary{background:#eef2f7;border-color:#d5dee9;color:#142238}
.cl-status-shell{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}.cl-status-card{background:#fff;color:#142238;border-radius:26px;padding:24px;border:1px solid #dce4ee}.cl-status-card label{color:#33445c}.cl-status-card .input{background:#f8fafc;border-color:#cfd9e6;color:#142238}.status-pill{display:inline-flex;border-radius:999px;padding:8px 12px;font-weight:950;font-size:12px;text-transform:uppercase}.status-pending{background:#ffedd5;color:#9a3412}.status-active{background:#dcfce7;color:#166534}.status-disabled{background:#fee2e2;color:#991b1b}.status-grace{background:#fef3c7;color:#92400e}
.cl-panel-shell{min-height:calc(100vh - 120px);background:#eef2f7;color:#142238;padding:38px 0}.cl-login-card{width:min(480px,calc(100% - 28px));margin:auto;background:#fff;border:1px solid #dce4ee;border-radius:28px;padding:28px;box-shadow:0 24px 60px rgba(15,23,42,.12)}.cl-login-card label{color:#33445c}.cl-login-card .input{background:#f8fafc;border-color:#cfd9e6;color:#142238}.cl-dashboard{display:none}.cl-dashboard.open{display:block}.cl-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.cl-dashboard-head h1{font-size:34px;text-transform:none;margin:0}.cl-dashboard-grid{display:grid;grid-template-columns:280px 1fr;gap:20px}.cl-team-sidebar,.cl-panel-content{background:#fff;border:1px solid #dce4ee;border-radius:25px;padding:22px}.cl-team-sidebar h3{color:#7c1e15}.cl-panel-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.cl-tab{border:1px solid #d5dee9;background:#f8fafc;border-radius:999px;padding:10px 14px;font-weight:900;color:#40516a;cursor:pointer}.cl-tab.active{background:#7c1e15;color:#fff;border-color:#7c1e15}.cl-roster-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.cl-roster-card{border:1px solid #dce4ee;border-radius:20px;padding:16px;background:#fbfcfe}.cl-roster-card strong{color:#7c1e15}.cl-progress{height:9px;background:#e5eaf1;border-radius:999px;overflow:hidden;margin:12px 0}.cl-progress span{display:block;height:100%;background:linear-gradient(90deg,#f0b429,#39a85a)}.cl-player-list{display:grid;gap:10px;margin-top:18px}.cl-player{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;border:1px solid #dce4ee;border-radius:18px;padding:12px}.cl-player img{width:58px;height:58px;border-radius:16px;object-fit:cover;background:#edf1f5}.cl-player small{display:block;color:#6c7b90;margin-top:3px}.cl-lock{background:#fff4d9;border:1px solid #f0ce75;border-radius:20px;padding:20px;color:#6f3d02}.cl-file-help{font-size:12px;color:#6c7c91;margin-top:5px}.clausura-toast.ok{border-color:#22c55e}.clausura-toast.error{border-color:#ef4444}
@media(max-width:900px){.clausura-hero{background-position:38% center}.clausura-hero .hero-content{grid-template-columns:1fr;align-items:end}.clausura-hero-copy{grid-column:auto;margin-top:220px}.clausura-summary-grid{grid-template-columns:repeat(2,1fr)}.cl-grid-3{grid-template-columns:1fr}.field-span-3,.field-span-2{grid-column:auto}.cl-status-shell,.cl-dashboard-grid{grid-template-columns:1fr}.cl-roster-grid{grid-template-columns:1fr}}
@media(max-width:620px){.clausura-hero{min-height:650px;background-position:31% center}.clausura-hero .hero-content{min-height:650px;padding:25px 0}.clausura-hero-copy{padding:22px;margin-top:250px}.clausura-summary-grid,.cl-grid-2,.cl-category-options{grid-template-columns:1fr}.cl-form-shell{padding:16px}.cl-form-shell fieldset{padding:16px}.cl-order-code{grid-template-columns:1fr;text-align:center}.cl-order-code img{margin:auto}.cl-player{grid-template-columns:50px 1fr}.cl-player>button{grid-column:1/-1}.cl-dashboard-head{align-items:flex-start;flex-direction:column}}

/* Validación visual y control de visibilidad de contraseñas */
.cl-password-input{position:relative}
.cl-password-input .input{padding-right:50px}
.cl-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:#64748b;cursor:pointer;transition:background .18s ease,color .18s ease}
.cl-password-toggle:hover,.cl-password-toggle:focus-visible{background:#e9eef5;color:#7c1e15;outline:2px solid transparent}
.cl-password-toggle svg{width:21px;height:21px;fill:currentColor}
.cl-password-toggle .cl-eye-closed{display:none}
.cl-password-toggle.is-visible .cl-eye-open{display:none}
.cl-password-toggle.is-visible .cl-eye-closed{display:block}
.cl-password-requirements{display:grid;gap:7px;margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:#687990}
.cl-password-requirements li{display:flex;align-items:center;gap:8px;transition:color .18s ease}
.cl-password-requirements li:before{content:"○";display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:999px;border:1px solid #b8c3d1;color:transparent;font-size:12px;font-weight:1000;line-height:1}
.cl-password-requirements li.is-valid{color:#166534;font-weight:800}
.cl-password-requirements li.is-valid:before{content:"✓";border-color:#22c55e;background:#dcfce7;color:#166534}
.cl-password-requirements li.is-invalid{color:#991b1b}
.cl-password-requirements li.is-invalid:before{content:"×";border-color:#ef4444;background:#fee2e2;color:#991b1b}
.cl-password-match{display:flex;align-items:center;gap:7px;margin-top:10px;min-height:20px}
.cl-password-match:before{content:"○";display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:999px;border:1px solid #b8c3d1;color:transparent;font-size:12px;font-weight:1000;line-height:1}
.cl-password-match.is-valid{color:#166534!important;font-weight:800}
.cl-password-match.is-valid:before{content:"✓";border-color:#22c55e;background:#dcfce7;color:#166534}
.cl-password-match.is-invalid{color:#991b1b!important;font-weight:800}
.cl-password-match.is-invalid:before{content:"×";border-color:#ef4444;background:#fee2e2;color:#991b1b}

/* Confirmación de inscripción y pagos v4 */
.cl-modal-dialog{width:min(920px,100%);padding:30px}
.order-confirmation{text-align:left}
.order-confirmation .order-success-icon{width:72px;height:72px;font-size:36px;box-shadow:0 12px 30px rgba(22,101,52,.16)}
.order-success-badge{display:table;margin:0 auto 8px;padding:7px 12px;border-radius:999px;background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}
.order-confirmation h2{text-align:center;margin:8px 0 7px;font-size:clamp(25px,4vw,34px)}
.order-subtitle{text-align:center!important;max-width:680px;margin:0 auto 20px!important;color:#617188}
.order-deadline{display:grid;gap:4px;text-align:left;background:linear-gradient(135deg,#fff8dc,#fff1bd);border:1px solid #efc75e;padding:17px 19px;border-radius:18px;color:#714000}
.order-deadline span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:950}
.order-deadline strong{font-size:20px;color:#7c1e15;text-transform:capitalize}
.order-deadline small{font-weight:700;color:#805a20}
.cl-order-code{grid-template-columns:1fr 168px;background:#fff;border:1px solid #dce4ee;box-shadow:0 10px 30px rgba(15,23,42,.06);padding:18px}
.cl-order-code img{width:168px;height:168px;border:8px solid #fff;border-radius:16px;box-shadow:0 0 0 1px #e1e7ef}
.order-code-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.order-code-copy>span{color:#687990;font-size:13px;font-weight:800}
.order-code-copy>strong{font-size:clamp(28px,5vw,42px);letter-spacing:.055em;line-height:1;color:#741b14}
.order-code-copy>small{max-width:500px;color:#65758c}
.order-copy-button{margin-top:7px;border:1px solid #c8d3df;background:#f8fafc;color:#24364e;border-radius:11px;padding:9px 13px;font-weight:900;cursor:pointer}
.order-copy-button:hover,.order-copy-button.copied{background:#e8f7ed;border-color:#8ad2a0;color:#166534}
.payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}
.payment-method-card{position:relative;border:1px solid #dce4ee;border-radius:20px;padding:20px;background:#f8fafc;color:#40516a}
.payment-method-card-online{background:linear-gradient(145deg,#fff6f2,#fff);border-color:#efc5b8}
.payment-method-card h3{margin:0 0 12px;padding-left:38px;color:#741b14;font-size:19px}
.payment-method-number{position:absolute;top:17px;left:18px;display:grid;place-items:center;width:27px;height:27px;border-radius:999px;background:#741b14;color:#fff;font-weight:950}
.payment-method-card ol{margin:0;padding-left:21px;display:grid;gap:8px;font-size:14px}
.payment-hours{margin:13px 0 0;padding-top:12px;border-top:1px solid #dce4ee;font-size:12px;color:#687990}
.payment-online-button{width:100%;margin-top:15px;text-align:center;justify-content:center}
.order-actions{justify-content:center}
.order-details{margin-top:14px}

/* Página de pago online */
.cl-payment-shell{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:22px;align-items:start}
.cl-payment-card{background:#fff;border:1px solid #dce4ee;border-radius:26px;padding:24px;color:#142238;box-shadow:0 16px 44px rgba(15,23,42,.07)}
.cl-payment-card h2{color:#741b14;margin-top:0}
.cl-payment-cart{border:1px solid #dce4ee;border-radius:20px;overflow:hidden;margin-top:16px}
.cl-payment-cart-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px;background:#f8fafc;border-bottom:1px solid #dce4ee}
.cl-payment-cart-head strong{color:#741b14;font-size:18px}
.cl-payment-cart-total{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#fff8dc;border-top:1px solid #efcf72}
.cl-payment-cart-total strong{font-size:26px;color:#741b14}
.cl-payment-empty{padding:30px 20px;text-align:center;color:#687990}
.cl-payment-result-banner{border-radius:18px;padding:18px;margin-bottom:18px}
.cl-payment-result-banner.success{background:#dcfce7;border:1px solid #86efac;color:#166534}
.cl-payment-result-banner.pending{background:#fef3c7;border:1px solid #f5d56a;color:#854d0e}
.cl-payment-result-banner.failure{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}
.cl-mercado-note{margin-top:16px;padding:14px;border-radius:15px;background:#eef6ff;border:1px solid #bfdbfe;color:#35506f;font-size:13px}
.cl-payment-steps{counter-reset:steps;display:grid;gap:10px;margin:18px 0 0;padding:0;list-style:none}
.cl-payment-steps li{position:relative;padding-left:40px;min-height:30px;color:#40516a}
.cl-payment-steps li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:-2px;display:grid;place-items:center;width:29px;height:29px;border-radius:999px;background:#741b14;color:#fff;font-weight:950}

@media(max-width:760px){
  .payment-method-grid,.cl-payment-shell{grid-template-columns:1fr}
  .cl-modal-dialog{padding:22px 16px}
  .cl-order-code{grid-template-columns:1fr;text-align:center}
  .order-code-copy{align-items:center}
  .cl-order-code img{margin:auto}
}


/* Pago online exclusivo y coordinación manual v5 */
.payment-method-grid-single{grid-template-columns:1fr}
.order-detail-total{background:#fff8dc;border-top-color:#efcf72}
.order-detail-total strong{color:#741b14;font-size:18px}
.manual-payment-help{margin-top:16px;padding:18px;border:1px solid #cbd5e1;border-radius:20px;background:#f8fafc;color:#40516a}
.manual-payment-help h3{margin:0 0 8px;color:#142238;font-size:18px}
.manual-payment-help p{margin:0 0 13px;line-height:1.55}
.manual-payment-help.compact{margin-top:18px;border-radius:17px;padding:16px}
.btn-whatsapp{display:inline-flex;align-items:center;justify-content:center;background:#168a46!important;border-color:#168a46!important;color:#fff!important;text-decoration:none;font-weight:900}
.btn-whatsapp:hover{background:#11743b!important;border-color:#11743b!important}
