/*
Theme Name: Matricula UDMA 27
Description: Complemento ligero de matrícula y justificantes de pago para el tema UDMA.
Version: 1.0.31
Template: udma-web-theme
Text Domain: matricula-udma-27
*/
.udma-payment-receipt{max-width:900px;margin:28px auto;padding:28px;border:2px solid #b8d8c3;border-radius:18px;background:#f2fbf5;box-shadow:0 12px 28px rgba(8,78,43,.09);text-align:center}.udma-payment-receipt h2{margin:0 0 10px;color:#075c35}.udma-payment-receipt p{max-width:700px;margin:0 auto 20px;color:#294c3b}.udma-payment-receipt .button,.udma-payment-receipt-link{display:inline-flex;min-height:46px;align-items:center;justify-content:center;margin:6px;padding:0 19px;border-radius:10px;font-weight:800;text-decoration:none}.udma-payment-receipt .button{background:#137a48;color:#fff}.udma-payment-receipt-link{border:1px solid #137a48;color:#075c35}.udma-enrollment-shell{width:min(1100px,calc(100% - 32px));margin:28px auto 56px}.udma-enrollment-hero{padding:24px 48px;border-radius:18px 18px 0 0;background:linear-gradient(135deg,#061d43,#0b64ad);color:#fff}.udma-enrollment-hero span{color:#ffd02c;font-weight:900;letter-spacing:.12em;font-size:.7rem}.udma-enrollment-hero h1{margin:6px 0;font-size:clamp(2rem,4vw,3.1rem);line-height:1}.udma-enrollment-hero p{margin:0;color:#dcecff}.udma-access-card,.udma-enrollment-form,.udma-enrollment-success,.udma-enrollment-error{padding:42px 48px;border:1px solid #d7e3ef;border-radius:0 0 24px 24px;background:#fff;box-shadow:0 18px 45px rgba(3,29,69,.1)}.udma-access-card{max-width:520px;margin:0 auto}.udma-access-card h2{margin-top:0}.udma-access-card label,.udma-enrollment-form label{display:grid;gap:7px;color:#0a203e;font-weight:800}.udma-access-card input,.udma-enrollment-form input:not([type=checkbox]):not([type=radio]),.udma-enrollment-form select,.udma-enrollment-form textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid #c9d9e9;border-radius:9px;background:#fbfdff;color:#07162f;font:inherit}.udma-enrollment-form textarea{min-height:88px;resize:vertical}.udma-access-card button,.udma-next,.udma-submit{margin-top:22px;min-height:50px;padding:0 22px;border:0;border-radius:10px;background:linear-gradient(135deg,#0870d2,#0757ad);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 9px 20px rgba(7,87,173,.22)}.udma-enrollment-progress{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;margin:-42px -48px 36px;overflow:hidden;background:#d8e3ef}.udma-enrollment-progress button{display:flex;min-height:72px;align-items:center;justify-content:center;gap:8px;border:0;background:#f8fbff;color:#6d7c91;font-weight:800}.udma-enrollment-progress button:disabled{opacity:1}.udma-enrollment-progress button.is-active{background:#092f65;color:#fff}.udma-enrollment-progress button.is-complete{background:#e7f6ef;color:#176c46}.udma-enrollment-progress button span{font-size:.8rem}.udma-enrollment-step{min-width:0;margin:0;padding:0;border:0}.udma-enrollment-step[hidden]{display:none}.udma-enrollment-step>legend{width:100%;margin-bottom:10px;color:#07162f;font-size:clamp(1.75rem,4vw,2.7rem);font-weight:950}.udma-enrollment-step>p{color:#60738d}.udma-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0}.udma-choice-grid button{min-height:145px;padding:25px;border:2px solid #cdddec;border-radius:16px;background:#fff;color:#07162f;text-align:left;cursor:pointer}.udma-choice-grid button strong,.udma-choice-grid button span{display:block}.udma-choice-grid button strong{font-size:1.35rem}.udma-choice-grid button span{margin-top:8px;color:#62738b}.udma-choice-grid button.is-selected{border-color:#0870d2;background:#edf7ff;box-shadow:0 0 0 4px rgba(8,112,210,.1)}.udma-category-wrap{max-width:420px}.udma-info-block{margin:20px 0;padding:20px 22px;border-left:4px solid #0870d2;border-radius:0 12px 12px 0;background:#f5f9fe}.udma-info-block h3{margin:0 0 9px;color:#093e7e}.udma-info-block p{margin:0 0 14px;color:#53677f}.udma-info-block label,.udma-consent{display:flex!important;align-items:flex-start;gap:10px}.udma-info-block input,.udma-consent input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.udma-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:24px 0}.udma-enrollment-form>label{margin:17px 0}.udma-radio{margin:20px 0;padding:18px;border:1px solid #d6e2ee;border-radius:12px}.udma-radio legend{padding:0 8px;font-weight:900}.udma-radio label{display:inline-flex;grid-auto-flow:column;align-items:center;margin-right:20px}.udma-liga-docs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 22px;padding:22px;border:1px solid #f0c76a;border-radius:14px;background:#fff8e7}.udma-liga-docs h3,.udma-liga-docs p{grid-column:1/-1;margin:0}.udma-liga-docs p{color:#6e5831}.udma-actions{display:flex;justify-content:space-between;gap:15px;margin-top:30px}.udma-back{min-height:48px;padding:0 18px;border:1px solid #b75a61;border-radius:10px;background:#fff;color:#a3444b;font-weight:900;cursor:pointer}.udma-submit{background:linear-gradient(135deg,#18794e,#249765)}.udma-review{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0}.udma-review div{padding:15px;border-radius:10px;background:#f5f9fe}.udma-review small,.udma-review strong{display:block}.udma-review small{margin-bottom:5px;color:#61738a;text-transform:uppercase;font-weight:900}.udma-honeypot{position:absolute!important;left:-9999px!important}.udma-enrollment-error{margin:20px 0;border-radius:14px;border-color:#ebadb0;background:#fff4f4;color:#8a282e}.udma-enrollment-success{max-width:700px;margin:55px auto;border-radius:24px}.udma-admin-form{max-width:900px;padding:24px;border:1px solid #d8e2ef;border-radius:15px;background:#fff}.udma-admin-form textarea{display:block;margin-top:8px}.udma-payment-proof{display:grid;gap:9px;max-width:680px;padding:24px;border:2px dashed #78a5ce;border-radius:14px;background:#f7fbff;font-weight:800}.udma-payment-proof input{padding:12px;border:1px solid #c6d8ea;border-radius:8px;background:#fff}.udma-payment-proof small{color:#55718f;font-weight:600}body .site-footer{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}@media(max-width:700px){.udma-enrollment-shell{width:calc(100% - 20px);margin:20px auto 45px}.udma-enrollment-hero,.udma-access-card,.udma-enrollment-form{padding:24px 20px}.udma-enrollment-hero h1{font-size:2rem}.udma-enrollment-progress{grid-template-columns:repeat(4,1fr);margin:-28px -20px 28px}.udma-enrollment-progress button{min-height:56px}.udma-enrollment-progress button span{display:none}.udma-choice-grid,.udma-field-grid,.udma-liga-docs,.udma-review{grid-template-columns:1fr}.udma-actions{flex-direction:column-reverse}.udma-actions button,.udma-payment-receipt .button,.udma-payment-receipt-link{width:100%;margin:6px 0}.udma-payment-receipt{margin:20px 14px;padding:22px}}
.udma-actions .udma-back{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 20px;border:1px solid #ccdbea;border-radius:999px;background:#f3f7fc;color:#174b82;font-weight:850;box-shadow:none;transition:background .2s,border-color .2s,transform .2s}.udma-actions .udma-back:hover,.udma-actions .udma-back:focus-visible{border-color:#7fa9d5;background:#e4f0fc;color:#073f7e;transform:translateX(-2px)}.udma-info-list{display:grid;gap:12px;margin-top:24px}.udma-info-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 21px;border:1px solid #d6e2ef;border-radius:13px;background:#fff}.udma-info-card>div{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px}.udma-info-card h3{margin:0;color:#093e7e;font-size:1.04rem}.udma-info-number{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#eaf3fd;color:#0870d2;font-size:.83rem;font-weight:950}.udma-info-status{grid-column:2;color:#6a7b90;font-weight:700}.udma-info-card.is-read{border-color:#97d1af;background:#f2fbf5}.udma-info-card.is-read .udma-info-number{background:#1d8a53;color:#fff}.udma-info-card.is-read .udma-info-status{color:#197447}.udma-open-info,.udma-info-read{border:0;border-radius:9px;background:#0b64ad;color:#fff;font:inherit;font-weight:850;cursor:pointer}.udma-open-info{min-width:100px;padding:11px 14px}.udma-info-check{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.udma-info-modal[hidden]{display:none}.udma-info-modal{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:24px;background:rgba(3,20,48,.68);backdrop-filter:blur(4px)}.udma-info-modal__panel{position:relative;width:min(680px,100%);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:36px;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.35)}.udma-info-modal__panel h2{margin:16px 0;color:#093e7e}.udma-info-modal__content{margin:0 0 25px;color:#40546d;line-height:1.7}.udma-info-read{width:100%;min-height:50px;padding:0 20px;background:linear-gradient(135deg,#18794e,#249765)}.udma-close-info{position:absolute;top:14px;right:14px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:50%;background:#edf3fa;color:#174b82;font-size:24px;line-height:1;cursor:pointer}@media(max-width:700px){.udma-info-card{align-items:flex-start;flex-direction:column}.udma-open-info{width:100%}.udma-info-modal{padding:14px}.udma-info-modal__panel{padding:30px 22px}.udma-actions .udma-back{width:100%}}
/* Ajustes de composición específicos del acceso a la matrícula. */
body:has(.udma-enrollment-shell){background:#123d74}.udma-enrollment-shell{margin-bottom:0}.udma-access-card{max-width:none;margin:0}.udma-access-card,.udma-enrollment-form{margin-left:0;margin-right:0}.udma-enrollment-shell + .site-footer{margin-top:0}
body:has(.udma-enrollment-shell){background:#fff}.udma-enrollment-shell{margin-bottom:42px}.udma-enrollment-shell + .site-footer{margin-top:0}

/* Imagen de portada: se usa una versión ligera en móvil para evitar que la foto
   original de alta resolución bloquee su carga con conexiones de datos. */
.home .hero-art .udma-hero-picture{display:block;width:100%;height:100%;position:relative;overflow:hidden}
.home .hero-art .udma-hero-picture img{width:100%;height:100%;object-fit:cover;object-position:center}
.udma-actions{align-items:center}.udma-actions .udma-back,.udma-actions .udma-next,.udma-actions .udma-submit{display:inline-flex;min-width:142px;min-height:50px;align-items:center;justify-content:center;padding:0 22px;border-radius:11px;font-size:.94rem;font-weight:850;letter-spacing:0;box-shadow:0 9px 20px rgba(7,87,173,.18);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.udma-actions .udma-back{border:1px solid #9abde0;background:linear-gradient(135deg,#f4f9ff,#e6f1fc);color:#0757ad}.udma-actions .udma-back:hover,.udma-actions .udma-back:focus-visible{border-color:#4c90cf;background:linear-gradient(135deg,#eaf4ff,#dbeeff);color:#064a91;transform:translateY(-2px);box-shadow:0 12px 24px rgba(7,87,173,.2)}.udma-actions .udma-next,.udma-actions .udma-submit{border:1px solid transparent;background:linear-gradient(135deg,#0878cf,#0757ad);color:#fff}.udma-actions .udma-next:hover,.udma-actions .udma-next:focus-visible,.udma-actions .udma-submit:hover,.udma-actions .udma-submit:focus-visible{background:linear-gradient(135deg,#0968b5,#064b94);transform:translateY(-2px);box-shadow:0 12px 24px rgba(7,87,173,.28)}
.udma-open-info{display:inline-flex;min-width:174px;min-height:46px;align-items:center;justify-content:center;gap:9px;padding:0 15px;border:1px solid #a9c5df;border-radius:9px;background:#fff;color:#0757ad;box-shadow:0 5px 13px rgba(5,63,123,.08);font-size:.86rem;font-weight:850}.udma-open-info:hover,.udma-open-info:focus-visible{border-color:#3a81bd;background:#f2f8ff;color:#063f83;box-shadow:0 8px 18px rgba(5,63,123,.15)}.udma-document-icon{display:inline-grid;width:22px;height:24px;place-items:center;border-radius:4px;background:#e8f2fc;color:#0757ad;font-size:1rem;line-height:1}.udma-info-card.is-read .udma-open-info{border-color:#9ccfb1;background:#f7fcf8;color:#176b45}.udma-info-card.is-read .udma-document-icon{background:#dff3e6;color:#177448}@media(max-width:700px){.udma-open-info{width:100%;min-width:0}}
.udma-enrollment-step[data-step="4"] .udma-consent{margin-top:18px!important;padding:16px 18px;border:1px solid #c9dcec;border-radius:11px;background:#f5f9fe;line-height:1.5}.udma-enrollment-step[data-step="4"] .udma-consent input{margin-top:3px}
.udma-enrollment-progress{grid-template-columns:repeat(9,1fr)}.udma-enrollment-progress button span{font-size:.72rem}.udma-id-docs{margin:22px 0;padding:22px;border:1px solid #b9d3ea;border-radius:14px;background:#f6faff}.udma-id-docs__two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.udma-id-docs__single{max-width:530px}.udma-id-docs [hidden]{display:none}@media(max-width:700px){.udma-enrollment-progress{grid-template-columns:repeat(3,1fr)}.udma-id-docs__two{grid-template-columns:1fr}}
.udma-pickup-toggle{margin:22px 0 0!important;padding:16px 18px;border:1px solid #bed4e8;border-radius:11px;background:#f5f9fe}.udma-pickup-details{margin-top:12px;padding:4px 18px 2px;border-left:3px solid #0870d2;background:#fbfdff}.udma-pickup-details[hidden]{display:none}
.udma-enrollment-step[data-step="7"] .udma-authorization-card,.udma-enrollment-step[data-step="8"] .udma-authorization-card{margin:0 0 20px;padding:21px 24px;border:1px solid #c7dbea;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#fff)}.udma-enrollment-step[data-step="7"] .udma-authorization-card h2,.udma-enrollment-step[data-step="8"] .udma-authorization-card h2{margin:0 0 9px;color:#073f7d;font-size:1.08rem}.udma-enrollment-step[data-step="7"] .udma-authorization-card p,.udma-enrollment-step[data-step="8"] .udma-authorization-card p{margin:0 0 16px;color:#3f6187;line-height:1.62}.udma-enrollment-step[data-step="7"] .udma-authorization-card .udma-consent,.udma-bank-consent{display:block;margin:14px 0 0!important;padding:13px 15px;border:1px solid #d5e3ef;border-radius:9px;background:#fff;line-height:1.5}.udma-enrollment-step[data-step="7"] .udma-authorization-card .udma-radio{margin:15px 0 0;background:#fff}.udma-enrollment-step[data-step="7"] .udma-authorization-card .udma-radio label{margin:9px 18px 0 0}.udma-bank-consent{margin-top:20px!important;border-color:#bed4e8!important;background:#f5f9fe!important}
@media(max-width:700px){.udma-enrollment-step[data-step="7"] .udma-authorization-card,.udma-enrollment-step[data-step="8"] .udma-authorization-card{padding:18px}.udma-enrollment-step[data-step="7"] .udma-authorization-card .udma-radio label{display:block;margin:11px 0 0}}
.udma-review{display:block;margin:24px 0}.udma-review-section{margin:0 0 22px;padding:20px;border:1px solid #d5e3ef;border-radius:14px;background:#fff}.udma-review-section h2{margin:0 0 15px;color:#093e7e;font-size:1.08rem}.udma-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.udma-review-grid>div{min-width:0;padding:14px 15px;border-radius:10px;background:#f5f9fe}.udma-review-grid small,.udma-review-grid strong{display:block}.udma-review-grid small{margin-bottom:5px;color:#5b7593;font-size:.72rem;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.udma-review-grid strong{overflow-wrap:anywhere;color:#071d3c;line-height:1.45}@media(max-width:700px){.udma-review-section{padding:16px}.udma-review-grid{grid-template-columns:1fr}}
/* El footer debe cerrar la pantalla de matrícula sin dejar el lienzo blanco del tema padre. */
html:has(.udma-enrollment-shell){background:#062b63}body:has(.udma-enrollment-shell){margin-bottom:0!important;padding-bottom:0!important;background:#fff!important}body:has(.udma-enrollment-shell) .site-footer{margin-bottom:0!important;padding-bottom:0!important;box-shadow:0 100vh 0 #062b63;clip-path:inset(0 0 -100vh 0)}body:has(.udma-enrollment-shell) .site-footer .footer-bottom{margin-bottom:0!important}
/* El selector de categoría conserva una anchura cómoda, pero sus acciones se alinean con todo el paso. */
.udma-enrollment-step[data-step="2"] .udma-category-wrap{max-width:none}.udma-enrollment-step[data-step="2"] .udma-category-wrap>label{max-width:420px}
.udma-enrollment-progress{grid-template-columns:repeat(11,1fr)}.udma-enrollment-progress button span{font-size:.66rem}.udma-id-docs,.udma-liga-docs{background:#fff}.udma-id-docs label,.udma-liga-docs label{padding:12px;border:1px solid #d7e3ef;border-radius:10px;background:#fff;transition:background .2s,border-color .2s}.udma-id-docs label.udma-file-selected,.udma-liga-docs label.udma-file-selected{border-color:#88cba4;background:#effaf3}.udma-second-guardian-toggle{margin:22px 0 0!important;padding:16px 18px;border:1px solid #bed4e8;border-radius:11px;background:#f5f9fe}.udma-second-guardian-details{margin-top:12px;padding:18px;border-left:3px solid #0870d2;background:#fbfdff}.udma-second-guardian-details[hidden]{display:none}.udma-second-guardian-details h2{margin:0;color:#093e7e;font-size:1.1rem}
.udma-admin-step{max-width:900px;margin:22px 0;padding:22px 26px;border:1px solid #d8e3ef;border-radius:12px;background:#f8fbff}.udma-admin-step h2{margin-top:0;color:#093e7e}.udma-admin-step h3{margin-bottom:8px}.udma-admin-step ul{margin:0;padding-left:22px}.udma-admin-step li{margin:7px 0}.udma-admin-form .large-text{max-width:100%}
.udma-health-toggle{margin:20px 0!important;padding:16px 18px;border:1px solid #bed4e8;border-radius:11px;background:#f5f9fe}.udma-health-details{padding:4px 18px 2px;border-left:3px solid #0870d2;background:#fbfdff}.udma-health-details[hidden]{display:none}.udma-health-details .udma-consent{margin:18px 0!important;padding:15px;border:1px solid #c9dcec;border-radius:10px;background:#f5f9fe}
.udma-liga-docs{border-color:#b9d3ea!important;background:#fff!important}.udma-liga-docs p{color:#5d718a!important;font-weight:400!important}.udma-enrollment-step>p,.udma-authorization-card p,.udma-info-modal__content{color:#5a708a!important;font-weight:400!important}.udma-authorization-card .udma-radio label{font-weight:600!important}.udma-authorization-card h2{font-weight:800!important}
.udma-enrollment-step[data-step="8"] .udma-liga-docs{margin-top:18px}.udma-enrollment-step[data-step="9"] .udma-authorization-card{margin:0 0 20px;padding:21px 24px;border:1px solid #c7dbea;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#fff)}.udma-enrollment-step[data-step="9"] .udma-authorization-card h2{margin:0 0 9px;color:#073f7d;font-size:1.08rem}.udma-enrollment-step[data-step="9"] .udma-authorization-card p{margin:0 0 16px;color:#5a708a;line-height:1.62}.udma-enrollment-step[data-step="9"] .udma-authorization-card .udma-consent{display:block;margin:14px 0 0!important;padding:13px 15px;border:1px solid #d5e3ef;border-radius:9px;background:#fff;line-height:1.5}.udma-enrollment-step[data-step="9"] .udma-authorization-card .udma-radio{margin:15px 0 0;background:#fff}.udma-enrollment-step[data-step="9"] .udma-authorization-card .udma-radio label{margin:9px 18px 0 0}@media(max-width:700px){.udma-enrollment-step[data-step="9"] .udma-authorization-card{padding:18px}.udma-enrollment-step[data-step="9"] .udma-authorization-card .udma-radio label{display:block;margin:11px 0 0}}
