/* FILOUNGE · acceso por DIP, código académico y registro por facultad */
.identity-auth{max-width:1260px;min-height:calc(100dvh - 130px);margin:25px auto 70px;padding:0 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:0;color:#1c3644;box-shadow:0 14px 45px #0f253513;background:#fffcf8;border:1px solid #e7e2d8}
.identity-auth-visual{background:linear-gradient(145deg,#051e34e5,#09374db5),url('/assets/hero-estudiante-referencia.jpg') center/cover;min-height:590px;padding:47px clamp(28px,4.3vw,62px);color:#fff;display:flex;flex-direction:column;align-items:flex-start;position:relative}
.identity-back{color:#dbc9a6!important;font-size:12px;font-weight:700}
.identity-emblem{height:78px;width:78px;border:1px solid #a5a4978c;background:#14384aa6;color:#e7c58b;border-radius:22px;display:grid;place-items:center;margin-top:auto;margin-bottom:23px}
.identity-caption{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#e2bd83}
.identity-auth-visual h1{font:400 clamp(34px,3.6vw,52px)/1.3 'Libre Baskerville',Georgia,serif;letter-spacing:-1.2px;color:#fff6e6;margin:22px 0 20px}
.identity-auth-visual h1 em{font-style:italic;color:#dbc18f}
.identity-auth-visual>p{font-size:13px;line-height:1.9;color:#cfdee0;max-width:550px}
.identity-access-points{margin-top:auto;padding-top:48px;display:flex;gap:10px 21px;flex-wrap:wrap}
.identity-access-points span{display:flex;align-items:center;gap:7px;color:#e9e6d7;font-size:10px;font-weight:750}
.identity-access-points svg{width:17px;height:17px;color:#d6b97f}
.identity-auth-form{padding:clamp(30px,5vw,67px);display:flex;flex-direction:column;justify-content:center}
.identity-auth-form .overline{font-weight:800;color:#977949;letter-spacing:1.6px;font-size:10px}
.identity-auth-form h2{font:400 clamp(25px,2.5vw,35px)/1.35 'Libre Baskerville',Georgia,serif;color:#10374a;letter-spacing:-.7px;margin:15px 0 12px}
.identity-auth-form>p,.identity-auth-form .identity-verified-card+p{font-size:13px;color:#677b83;line-height:1.9}
.identity-form{display:grid;gap:17px;margin-top:22px}
.identity-form>label{display:grid;gap:8px;color:#364c58;font-size:12px;font-weight:750}
.identity-form>label small{font-size:10px;color:#8b9699;font-weight:500}
.identity-form input,.identity-form select,.identity-form textarea{background:#fff;border:1px solid #d8e0e0;color:#163447;border-radius:5px;min-height:45px;outline:none;padding:12px;font:500 13px 'DM Sans',Arial,sans-serif;width:100%;min-width:0}
.identity-form input:focus,.identity-form select:focus{border-color:#0c9d92;box-shadow:0 0 0 3px #0c9d921c}
.identity-button{display:flex;justify-content:center;align-items:center;gap:24px;min-height:46px;background:linear-gradient(96deg,#109b98,#37b578);color:#fff!important;border:0;border-radius:4px;padding:11px 19px;font:800 12px 'DM Sans',sans-serif;text-align:center;cursor:pointer}
.identity-button:hover{filter:brightness(.96)}
.identity-button:disabled{opacity:.45;cursor:not-allowed}
.identity-help{border-left:3px solid #c8b17f;background:#f3eee5;padding:16px 18px;margin-top:27px}
.identity-help h3{font:700 13px 'DM Sans',sans-serif;margin:0 0 6px;color:#5d573f}
.identity-help p{font-size:11px;line-height:1.85;color:#77776c;margin:0}
.identity-switch{margin-top:24px;text-align:center!important;font-size:12px!important}
.identity-switch a{color:#117b7d;font-weight:800}
.identity-verified-card{border:1px solid #d4e0de;background:#edf5f1;border-radius:5px;padding:17px 18px;margin:20px 0}
.identity-verified-card>span{display:flex;gap:9px;align-items:center;color:#167b71;font-size:10px;font-weight:800;letter-spacing:1px}
.identity-verified-card>strong{display:block;font:400 18px 'Libre Baskerville',Georgia,serif;color:#17443f;margin:12px 0}
.identity-verified-card>small{font-size:11px;color:#638077;display:block;margin-top:5px}
.identity-private-note{display:flex;gap:10px;color:#718583;font-size:10px!important;line-height:1.7;margin-top:23px}
.identity-private-note svg{flex-shrink:0}
.identity-legacy-help{font-size:10px;line-height:1.8;color:#8c9794;border-top:1px solid #e4e6e4;margin-top:25px;padding-top:14px}
.identity-registry{max-width:1360px;margin:auto;padding:36px 25px 100px;color:#173c4a}
.identity-registry-header{display:flex;justify-content:space-between;gap:22px;align-items:end;background:linear-gradient(115deg,#042c44,#0a485c);color:#eef5ed;padding:41px clamp(25px,4vw,55px);border-radius:7px;margin-bottom:22px}
.identity-registry-header .overline{color:#cdb580;font-size:10px;letter-spacing:1.6px}
.identity-registry-header h1{font:400 39px/1.3 'Libre Baskerville',Georgia,serif;color:#fff;margin:13px 0}
.identity-registry-header p{font-size:13px;max-width:680px;line-height:1.8;color:#cfe0dc;margin:0}
.identity-registry-header>a{white-space:nowrap;display:flex;gap:10px;align-items:center;background:#ffffff1c;border:1px solid #ffffff3d;border-radius:4px;color:#f1e9d9;font-size:12px;font-weight:800;padding:11px 15px}
.identity-registry-choose{display:flex;align-items:end;gap:12px;background:#fff;border:1px solid #e5e9e7;padding:13px 17px;margin-bottom:22px}
.identity-registry-choose label{font-size:11px;font-weight:750;color:#677e82;flex:1;display:grid;gap:7px}
.identity-registry-choose select{border:1px solid #dce7e4;background:#fafcfb;border-radius:4px;padding:12px;font-size:13px;color:#204657;min-width:0;width:100%}
.identity-registry-choose button{background:#0d7f82;color:#fff;border:0;padding:14px 19px;font-size:12px;border-radius:4px;cursor:pointer}
.identity-registry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.identity-registry-panel{min-width:0;background:#fff;border:1px solid #e1e7e5;padding:27px;border-radius:6px;box-shadow:0 6px 20px #22405009}
.identity-step{font-size:10px;color:#9a7e56;font-weight:800;letter-spacing:1.4px}
.identity-registry-panel h2,.identity-registry-records h2{font:400 23px/1.45 'Libre Baskerville',Georgia,serif;color:#1b3c49;margin:13px 0}
.identity-registry-panel>p{font-size:12px;color:#718184;line-height:1.8}
.identity-registry-panel .identity-form{margin-top:21px}
.identity-registry-records{background:#fff;border:1px solid #e1e7e5;border-radius:6px;margin-top:21px;padding:23px}
.identity-registry-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.identity-registry-section-title span{font-size:11px;color:#718d8e}
.identity-table-wrap{overflow-x:auto;scrollbar-width:thin}
.identity-table-wrap table{width:100%;border-collapse:collapse;text-align:left;min-width:720px}
.identity-table-wrap th{background:#eff4f4;color:#536b73;font-size:10px;letter-spacing:.7px;font-weight:800;padding:13px 11px}
.identity-table-wrap td{font-size:11px;color:#405c67;padding:14px 11px;border-bottom:1px solid #e9eeee;vertical-align:middle}
.identity-table-wrap td strong{display:block;font-size:12px;color:#244b58}
.identity-table-wrap td small{display:block;color:#8ba0a5;font-size:10px;margin-top:4px}
.identity-table-wrap button{border:1px solid #d3e3df;background:#ecf5f2;padding:8px;color:#17746d;border-radius:4px;cursor:pointer;font-size:10px;font-weight:750;white-space:nowrap}
.identity-state{font-size:10px;font-weight:800;border:1px solid #dfbd8b;background:#fff7e8;color:#976c3e;border-radius:18px;padding:5px 9px;white-space:nowrap}
.identity-state.active{color:#13716d;background:#e4f6ed;border-color:#b6dfcd}
.identity-state.suspended{color:#9c4848;background:#fff0f0;border-color:#e8c2c2}
.identity-registry-empty{padding:35px 27px;background:#fff;border:1px solid #e1e8e6;border-radius:6px}
.identity-registry-empty h2{font:400 22px 'Libre Baskerville',serif;color:#183c4b}
.identity-registry-empty p{font-size:12px;color:#6b8085;line-height:1.8}
.identity-registry-empty .identity-button{display:inline-flex;margin-top:14px}
.identity-issue-card{background:#fffbf1;border:2px solid #bea275;padding:29px;margin-bottom:20px;box-shadow:0 6px 25px #a7844e18}
.identity-issue-heading{display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:1px;color:#987e58;font-weight:800;border-bottom:1px solid #d5c6ae;padding-bottom:12px}
.identity-issue-person>span{display:block;font-size:11px;color:#76766a;margin-top:19px}
.identity-issue-person h2{font:400 27px 'Libre Baskerville',serif;margin:12px 0;color:#1b3947}
.identity-issue-person>p{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#967c59}
.identity-issue-code{background:#15374a;padding:22px;color:#fff;margin-top:23px;display:grid;gap:10px}
.identity-issue-code small{font-size:10px;letter-spacing:1px;color:#d2b789}
.identity-issue-code strong{font:800 clamp(20px,3vw,35px) 'DM Sans',sans-serif;letter-spacing:3px;overflow-wrap:anywhere}
.identity-issue-card>p{font-size:11px;color:#716d5e;line-height:1.8;margin:15px 0}
.identity-print-button{background:#bf9e62;color:#fff;border:0;padding:12px 18px;border-radius:4px;font-size:12px;cursor:pointer;font-weight:800}
.identity-account-card{margin-top:16px}
.identity-admin-link{max-width:1390px;margin:17px auto;padding:0 25px}
.identity-admin-link a{display:inline-block;color:#0e766e;font-size:12px;font-weight:800}
.identity-admin-create{background:#fff;border:1px solid #dfe6e4;padding:23px;margin:20px 0;border-radius:4px}
.identity-admin-create h2{font:400 23px 'Libre Baskerville',serif;color:#174050}
.identity-admin-create p{font-size:12px;color:#677e81}
.identity-admin-create .form-stack{max-width:650px}
@media(max-width:930px){
.identity-auth{grid-template-columns:1fr;max-width:620px;padding:0}
.identity-auth-visual{min-height:280px;padding:30px}
.identity-emblem{margin-top:27px;width:50px;height:50px}
.identity-emblem svg{width:27px;height:27px}
.identity-auth-visual h1{font-size:30px}
.identity-access-points{padding-top:15px}
.identity-auth-form{padding:32px 30px 40px}
.identity-registry-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
.identity-auth{margin:0 auto 80px;border:0}
.identity-auth-visual{min-height:230px;padding:25px 22px}
.identity-auth-visual h1{font-size:27px;margin:14px 0}
.identity-auth-visual>p{font-size:11px;margin:0}
.identity-emblem{display:none}
.identity-access-points{gap:7px;padding-top:17px}
.identity-access-points span{font-size:9px}
.identity-access-points svg{height:13px;width:13px}
.identity-auth-form{padding:30px 23px 38px}
.identity-auth-form h2{font-size:25px}
.identity-registry{padding:15px 12px 90px}
.identity-registry-header{display:block;padding:24px 22px}
.identity-registry-header h1{font-size:27px}
.identity-registry-header p{font-size:11px}
.identity-registry-header>a{display:inline-flex;margin-top:16px}
.identity-registry-choose{align-items:stretch;flex-direction:column}
.identity-registry-panel{padding:21px}
.identity-registry-section-title{display:block}
.identity-registry-records{padding:16px}
.identity-issue-card{padding:17px}
.identity-issue-heading{font-size:8px;letter-spacing:0}
.identity-issue-code strong{letter-spacing:1.5px}
}
@media print{
body *{visibility:hidden!important}
.identity-issue-card,.identity-issue-card *{visibility:visible!important}
.identity-issue-card{position:absolute;top:20mm;left:15mm;right:15mm;box-shadow:none;padding:20mm;border:1px solid #000}
.identity-print-button{display:none!important}
}