/* Vistas de alumnos v2 */
.students-hero,.student-form-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(120deg,#e9f4ff,#f8fbff 62%,#fff);border:1px solid #dceafa;border-radius:24px;padding:25px 28px;margin-bottom:18px;position:relative;overflow:hidden}.students-hero:after,.student-form-hero:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:#d8ebff;right:-60px;top:-80px}.students-hero h1,.student-form-hero h1{font-size:1.55rem;font-weight:900;color:#213652;margin:5px 0}.students-hero p,.student-form-hero p{font-size:.76rem;color:#718099;margin:0}.student-primary-action{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;background:#1d293d;color:#fff!important;text-decoration:none;border-radius:14px;padding:10px 16px;font-size:.72rem;font-weight:850;box-shadow:0 7px 15px rgba(29,41,61,.17)}.student-primary-action:hover{transform:translateY(-1px)}.student-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:17px}.student-summary article{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #edf0f5;border-radius:17px;padding:14px 17px;box-shadow:0 6px 18px rgba(35,52,82,.045)}.summary-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-weight:900}.summary-icon.blue{background:#e2f1ff;color:#2875bf}.summary-icon.green{background:#ddf8ea;color:#16815c}.summary-icon.gray{background:#eef1f5;color:#718097}.student-summary small{display:block;color:#8390a4;font-size:.61rem}.student-summary strong{display:block;color:#263a56;font-size:1.3rem;line-height:1.1}.directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.directory-toolbar .student-search{margin:0;flex:1}.clear-search{font-size:.66rem;text-decoration:none;color:#6f7e94;padding-right:5px}.result-count{font-size:.65rem;color:#8490a4}.student-card{display:flex!important;flex-direction:column;gap:12px!important;padding:17px!important;transition:transform .18s,box-shadow .18s}.student-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(35,52,82,.1)}.student-card-top{display:flex;justify-content:space-between;align-items:flex-start}.student-status{display:inline-flex;align-items:center;gap:5px}.student-status i{width:5px;height:5px;border-radius:50%;background:#9aa4b5}.student-status.active i{background:#19a675}.student-info h2{white-space:normal!important;font-size:.88rem!important;margin:0 0 5px!important}.student-enrollment{font-size:.6rem;color:#59708f;background:#edf4fc;border-radius:999px;padding:4px 8px}.student-meta{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:12px;padding-top:11px;border-top:1px solid #eff2f6}.student-meta p{display:flex;gap:5px;align-items:center;margin:0!important}.student-actions{display:grid!important;grid-template-columns:1fr 34px;gap:7px!important;margin-top:auto;border:0!important;padding:0!important}.student-actions a{display:flex;align-items:center;justify-content:center;height:34px}.view-student{justify-content:space-between!important;background:#1d293d!important;color:#fff!important;padding:0 12px!important}.edit-student{font-size:.85rem!important}.student-empty{grid-column:1/-1;min-height:300px;background:#fff;border:2px dashed #dfe5ee;border-radius:22px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px}.student-empty>span{font-size:3rem}.student-empty h3{font-size:1rem;color:#2a3d58;font-weight:850;margin:13px 0 4px}.student-empty p{font-size:.72rem;color:#8591a5}.student-pagination{display:flex;justify-content:center;margin-top:22px}
.student-form-hero .back-link{display:block;margin-bottom:8px}.back-link{font-size:.68rem;text-decoration:none;color:#60708a;font-weight:750}.form-hero-icon{font-size:3rem;position:relative;z-index:1}.student-form-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;align-items:start}.form-stepper{position:sticky;top:94px;background:#fff;border:1px solid #edf0f5;border-radius:20px;padding:13px;box-shadow:0 8px 24px rgba(35,52,82,.05)}.form-stepper>a{display:flex;align-items:center;gap:9px;padding:10px;border-radius:12px;text-decoration:none;color:#64738a}.form-stepper>a:hover,.form-stepper>a.active{background:#edf4ff;color:#294e86}.form-stepper>a>span{width:27px;height:27px;border-radius:9px;background:#f0f2f6;display:grid;place-items:center;font-size:.66rem;font-weight:900}.form-stepper>a.active>span{background:#2f5794;color:#fff}.form-stepper b{display:block;font-size:.7rem}.form-stepper small{display:block;font-size:.57rem;color:#96a0b1}.stepper-note{display:flex;gap:7px;background:#fff7df;border-radius:12px;padding:10px;margin-top:12px}.stepper-note p{font-size:.58rem;color:#806a31;margin:0}.student-form-panels{display:grid;gap:15px}.student-form-panels>section{scroll-margin-top:95px;background:#fff;border:1px solid #edf0f5;border-radius:21px;padding:22px;box-shadow:0 8px 23px rgba(35,52,82,.045)}.student-form-panels>section>header{display:flex;align-items:center;gap:10px;padding-bottom:15px;margin-bottom:17px;border-bottom:1px solid #eef1f5}.student-form-panels>section>header>span{width:40px;height:40px;background:#edf4ff;border-radius:12px;display:grid;place-items:center}.student-form-panels header small{font-size:.55rem;color:#8d98aa;text-transform:uppercase;letter-spacing:.08em}.student-form-panels h2{font-size:.88rem;font-weight:850;color:#293c58;margin:0}.student-form-panels header p{font-size:.6rem;color:#8994a7;margin:2px 0}.student-record-form .form-label{font-size:.67rem;font-weight:800;color:#536279}.student-record-form .form-control,.student-record-form .form-select{font-size:.73rem;border-radius:10px;border:1.5px solid #e0e5ed;background:#fbfcfd;padding:.62rem .72rem}.student-record-form .form-control:focus,.student-record-form .form-select:focus{background:#fff;border-color:#5e7eb1;box-shadow:0 0 0 4px rgba(76,104,154,.1)}.form-sticky-actions>span{font-size:.61rem;color:#7f8b9f}.form-sticky-actions>div{display:flex;gap:7px}
.profile-back-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.student-profile-cover{min-height:165px;background:linear-gradient(120deg,#1d293d,#30425f);color:#fff;border-radius:25px;padding:27px;display:flex;align-items:center;gap:17px;position:relative;overflow:hidden;box-shadow:0 13px 28px rgba(29,41,61,.14)}.cover-pattern{position:absolute;width:280px;height:280px;border:50px solid rgba(255,255,255,.04);border-radius:50%;right:-80px;top:-110px}.student-profile-cover .student-profile-avatar{position:relative;width:78px;height:78px;flex:0 0 78px;border-radius:23px;font-size:1.35rem}.profile-identity{position:relative}.profile-identity .student-status{color:#bdebd9;background:rgba(31,181,127,.15)}.profile-identity h1{font-size:1.55rem;font-weight:900;margin:7px 0 3px}.profile-identity p{font-size:.68rem;color:#c7d0de;margin:0}.profile-identity p span{margin:0 7px}.profile-quick-stats{position:relative;margin-left:auto;display:flex;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:17px;overflow:hidden}.profile-quick-stats div{padding:11px 17px;text-align:center;border-left:1px solid rgba(255,255,255,.1)}.profile-quick-stats div:first-child{border:0}.profile-quick-stats strong{display:block;font-size:1.15rem}.profile-quick-stats small{font-size:.56rem;color:#c7d0de}.profile-tabs{display:flex;gap:5px;overflow-x:auto;background:#fff;border:1px solid #edf0f5;border-radius:15px;padding:6px;margin:15px 0}.profile-tabs a{white-space:nowrap;text-decoration:none;color:#6e7c91;font-size:.67rem;font-weight:750;padding:8px 12px;border-radius:10px}.profile-tabs a:hover,.profile-tabs a.active{background:#1d293d;color:#fff}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.profile-main{display:grid;gap:14px}.profile-card,.profile-side>section{background:#fff;border:1px solid #edf0f5;border-radius:20px;padding:19px;box-shadow:0 7px 21px rgba(35,52,82,.045);scroll-margin-top:95px}.profile-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.profile-card>header>div{display:flex;align-items:center;gap:9px}.profile-card>header>div>span{width:38px;height:38px;border-radius:12px;background:#edf4ff;display:grid;place-items:center}.profile-card header small{display:block;font-size:.55rem;color:#8c97aa}.profile-card h2,.profile-side h2{font-size:.81rem;color:#2c3f5b;font-weight:850;margin:0}.profile-card-action{border:0;background:#f1f4f8;color:#496079;border-radius:9px;padding:6px 9px;text-decoration:none;font-size:.6rem;font-weight:750}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.detail-grid div,.medical-details div{background:#f8fafc;border-radius:11px;padding:10px}.detail-grid small,.medical-details small,.profile-side section>div>small{display:block;font-size:.56rem;color:#8a95a7}.detail-grid b,.medical-details b,.profile-side section>div>b{display:block;font-size:.68rem;color:#344760;margin-top:3px}.address-display{display:flex;gap:12px;background:#f8fafc;border-radius:13px;padding:14px}.address-display>span{font-size:1.25rem}.address-display b{font-size:.72rem;color:#35485f}.address-display p,.address-display small{font-size:.62rem;color:#788599;margin:3px 0}.inline-empty{display:flex;gap:9px;align-items:center;background:#fafbfd;border:1px dashed #dfe4ec;border-radius:12px;padding:16px;color:#8994a6;font-size:.67rem}.related-list>div{display:flex;gap:9px;align-items:center}.related-avatar{width:34px;height:34px;border-radius:10px;background:#e2f1ff;display:grid;place-items:center;font-size:.7rem;font-weight:900}.related-list b,.related-list small{display:block;font-size:.66rem}.related-list small{color:#8792a4}.medical-profile-card{border-color:#ffcfd4;background:#fffafa}.medical-details{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.profile-side{display:grid;gap:14px;align-content:start}.profile-side section{display:grid;gap:11px}.completion-card{display:flex!important;grid-template-columns:auto 1fr;align-items:center}.completion-ring{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#48a5e8 35%,#e9edf3 0);position:relative}.completion-ring:before{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}.completion-ring span{position:relative;font-size:.61rem;font-weight:900}.completion-card p{font-size:.58rem;color:#8490a3;margin:3px 0}.activity-item{font-size:.64rem;color:#53647c;padding-left:14px;position:relative}.activity-item i{position:absolute;width:6px;height:6px;background:#52ad86;border-radius:50%;left:0;top:5px}.activity-item small{color:#98a1b1}
@media(max-width:1100px){.profile-layout{grid-template-columns:1fr}.profile-side{grid-template-columns:repeat(3,1fr)}.student-form-layout{grid-template-columns:1fr}.form-stepper{position:static;display:flex;gap:5px}.form-stepper>a{flex:1}.stepper-note{display:none}}@media(max-width:760px){.students-hero,.student-form-hero{padding:20px;align-items:flex-start;flex-wrap:wrap}.student-summary{grid-template-columns:1fr}.directory-toolbar{align-items:stretch;flex-direction:column}.detail-grid,.medical-details{grid-template-columns:1fr 1fr}.profile-quick-stats{width:100%;margin:8px 0 0}.student-profile-cover{align-items:flex-start;flex-wrap:wrap}.profile-side{grid-template-columns:1fr}.form-stepper{overflow-x:auto}.form-stepper>a{min-width:145px}.form-sticky-actions{align-items:stretch;flex-direction:column}.form-sticky-actions>div{display:grid;grid-template-columns:1fr 1fr}.profile-back-row{align-items:flex-start;gap:9px;flex-direction:column}}@media(max-width:480px){.detail-grid,.medical-details{grid-template-columns:1fr}.student-meta{grid-template-columns:1fr}.student-profile-cover .student-profile-avatar{width:60px;height:60px;flex-basis:60px}.profile-identity h1{font-size:1.2rem}}
