/* Paleta única para todos los formularios del sistema. */
.mgym-wrap,.mgym-portal,body.login{--mgym-form-bg:#0b151e;--mgym-form-bg-focus:#0e1b24;--mgym-form-text:#edf6f5;--mgym-form-label:#c0cecd;--mgym-form-muted:#91a4a6;--mgym-form-border:#2a3c48;--mgym-form-focus:#31cdaa;--mgym-form-disabled:#a6b7b8}
.mgym-wrap form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea),
.mgym-portal form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea),
body.login form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea){background:var(--mgym-form-bg)!important;border:1px solid var(--mgym-form-border)!important;box-shadow:none!important;color:var(--mgym-form-text)!important;-webkit-text-fill-color:var(--mgym-form-text)!important;color-scheme:dark}
.mgym-wrap form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea):focus,
.mgym-portal form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea):focus,
body.login form :where(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=hidden]),select,textarea):focus{background:var(--mgym-form-bg-focus)!important;border-color:var(--mgym-form-focus)!important;box-shadow:0 0 0 3px rgba(49,205,170,.12)!important;color:var(--mgym-form-text)!important;-webkit-text-fill-color:var(--mgym-form-text)!important;outline:0}
.mgym-wrap form :where(input,textarea)::placeholder,.mgym-portal form :where(input,textarea)::placeholder,body.login form :where(input,textarea)::placeholder{color:var(--mgym-form-muted)!important;-webkit-text-fill-color:var(--mgym-form-muted)!important;opacity:1}
.mgym-wrap form :where(select option,select optgroup),.mgym-portal form :where(select option,select optgroup),body.login form :where(select option,select optgroup){background:var(--mgym-form-bg)!important;color:var(--mgym-form-text)!important;-webkit-text-fill-color:var(--mgym-form-text)!important}
.mgym-wrap form :where(label,legend,.mgym-field>span),.mgym-portal form :where(label,legend,.mgym-field>span),body.login form :where(label,legend){color:var(--mgym-form-label)!important}
.mgym-wrap form :where(.description,small),.mgym-portal form :where(.description,small),body.login form :where(.description,small){color:var(--mgym-form-muted)!important}
.mgym-wrap form :where(input,select,textarea):disabled,.mgym-portal form :where(input,select,textarea):disabled,body.login form :where(input,select,textarea):disabled{color:var(--mgym-form-disabled)!important;-webkit-text-fill-color:var(--mgym-form-disabled)!important;opacity:.78}
.mgym-wrap form :where(input[type=checkbox],input[type=radio]),.mgym-portal form :where(input[type=checkbox],input[type=radio]),body.login form :where(input[type=checkbox],input[type=radio]){background:var(--mgym-form-bg)!important;border-color:var(--mgym-form-border)!important;color:var(--mgym-form-focus)!important}.mgym-wrap form :where(input[type=checkbox],input[type=radio]):focus,.mgym-portal form :where(input[type=checkbox],input[type=radio]):focus,body.login form :where(input[type=checkbox],input[type=radio]):focus{border-color:var(--mgym-form-focus)!important;box-shadow:0 0 0 3px rgba(49,205,170,.12)!important}.mgym-wrap form input:-webkit-autofill,.mgym-portal form input:-webkit-autofill,body.login form input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--mgym-form-bg) inset!important;-webkit-text-fill-color:var(--mgym-form-text)!important}
.mgym-attendance-corrections.has-pending{border-color:#d09b44!important;box-shadow:0 0 0 1px rgba(208,155,68,.16),0 18px 48px rgba(0,0,0,.2)!important}.mgym-attendance-corrections .mgym-section-heading p{color:#91a4a6;margin:5px 0 0}.mgym-attendance-corrections tr.is-correction-pending td{background:rgba(208,155,68,.08)!important}.mgym-correction-actions{display:flex;flex-wrap:wrap;gap:8px}.mgym-correction-actions form{margin:0}.mgym-correction-closed{color:#829698;font-size:12px}.mgym-state--pending{background:rgba(218,158,64,.14);border-color:rgba(235,180,87,.3);color:#f2c77c}.mgym-state--reversed{background:rgba(142,153,158,.12);border-color:rgba(173,185,189,.25);color:#aebbbe}
.mgym-checkin-actions{align-items:flex-end;display:grid;gap:8px;justify-items:end}.mgym-checkin-actions form{margin:0}.mgym-checkin-mistake{background:#162630;border:1px solid #3b515c;border-radius:10px;color:#c9d5d4;cursor:pointer;font:inherit;font-size:12px;font-weight:750;min-height:38px;padding:8px 12px}.mgym-checkin-mistake:hover,.mgym-checkin-mistake:focus{background:#24323a;border-color:#d29a63;color:#fff}.mgym-checkin-pending{background:rgba(218,158,64,.12);border:1px solid rgba(235,180,87,.28);border-radius:10px;color:#f2c77c;font-size:11px;font-weight:750;padding:9px 11px;text-align:center}
@media(max-width:760px){.mgym-checkin-actions{align-items:stretch;justify-items:stretch;width:100%}.mgym-checkin-actions form,.mgym-checkin-mistake{width:100%}.mgym-correction-actions{min-width:190px}}
