
/* Student portal: visually aligned with existing admin dashboard */
.student-body{font-family:Roboto,Arial,sans-serif;color:#202942;background:#f4f6fb}
.student-body .student-sidebar{background:#160e44}
.student-body .admin-main.student-main{min-width:0;flex:1;padding:28px 34px 32px}
.student-body .student-nav-link{display:flex;gap:12px;align-items:center;width:100%;padding:12px 14px;border:0;background:transparent;color:#e5e2f3;text-decoration:none;border-radius:10px;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.student-body .student-nav-link:hover,.student-body .student-nav-link.active{background:rgba(255,255,255,.13);color:#fff}
.student-nav-icon{display:inline-flex;flex:0 0 20px}
.student-logout{margin:0}
.student-page-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 22px}
.student-page-heading h1{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin:5px 0 0}
.student-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:750;color:#7b86a2}
.student-account-pill{padding:8px 12px;border:1px solid #dfe4ee;border-radius:999px;background:#fff;font-size:12px;color:#4d5a73}
.student-body .card,.student-body .student-card{background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:24px;margin:0 0 18px;box-shadow:0 5px 22px rgba(18,28,64,.035)}
.student-body .student-card h2,.student-body .card h2{font-size:18px;margin:0 0 10px}
.student-body .card h1{font-size:24px;margin:0 0 14px}
.student-body p{line-height:1.65}
.student-body .muted,.student-body small{color:#6b7890}
.student-body .box{padding:18px;background:#f7f8fc;border:1px solid #e6eaf3;border-radius:12px;margin:14px 0}
.student-body .btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border:0;border-radius:9px;background:#160e44;color:#fff;text-decoration:none;font:inherit;font-weight:650;font-size:14px;cursor:pointer}
.student-body .btn:hover{background:#30236a}
.student-body .btn.light{background:#eff0f7;color:#160e44}
.student-body .actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.student-body label{display:block;font-weight:650;margin:15px 0 7px}
.student-body input[type=text],.student-body input[type=email],.student-body input[type=password]{display:block;width:100%;max-width:520px;background:#fff;border:1px solid #cdd5e2;border-radius:9px;padding:12px;font:inherit;color:#172b49}
.student-body input:focus-visible,.student-body button:focus-visible,.student-body a:focus-visible{outline:3px solid #988ce3;outline-offset:2px}
.student-body .error{background:#fff1ee;color:#982a20;border:1px solid #f6d0ca;padding:13px 15px;border-radius:9px;margin:15px 0}
.student-body .success{background:#edf8f0;color:#1d6635;border:1px solid #ccebd5;padding:13px 15px;border-radius:9px;margin:15px 0}
.student-footer{font-size:12px;color:#7d8799;text-align:center;padding:25px 0 10px}
.student-footer a{color:inherit}
.student-welcome{background:linear-gradient(120deg,#160e44,#30246c);color:#fff;border-radius:16px;padding:26px 28px;margin-bottom:18px}
.student-welcome h2{font-size:23px;margin:6px 0 8px;color:#fff}
.student-welcome p{margin:0;color:#ddd9f3}
.student-welcome .student-eyebrow{color:#bfb8e5}
.student-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px}
.student-stat{background:#fff;border:1px solid #e1e6ef;border-radius:13px;padding:20px;min-width:0}
.student-stat .stat-label{font-size:12px;color:#69778e;font-weight:700}
.student-stat .stat-value{display:block;font-size:19px;font-weight:800;margin-top:10px;overflow-wrap:anywhere;color:#160e44}
.student-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.student-detail-list{display:grid;grid-template-columns:180px 1fr;gap:0}
.student-detail-list dt,.student-detail-list dd{padding:13px 0;border-bottom:1px solid #edf0f5;margin:0}
.student-detail-list dt{color:#68768e}
.student-detail-list dd{font-weight:650;overflow-wrap:anywhere}
.student-nav-overlay{display:none}
@media(max-width:1000px){.student-body .admin-main.student-main{padding:22px 20px}.student-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
 .student-body .admin-main.student-main{padding:20px 15px}
 .student-stat-grid,.student-grid{grid-template-columns:1fr}
 .student-page-heading h1{font-size:23px}
 .student-body .student-sidebar{position:fixed;left:0;top:0;bottom:0;z-index:200;transform:translateX(-110%);transition:transform .2s ease;width:min(310px,86vw);overflow-y:auto}
 .student-menu-open .student-sidebar{transform:translateX(0)}
 .student-menu-open .student-nav-overlay{display:block;position:fixed;inset:0;background:rgba(9,12,35,.55);z-index:190}
 .student-body .admin-mobile-bar{display:flex}
 .student-detail-list{grid-template-columns:1fr}
 .student-detail-list dt{padding-bottom:0;border-bottom:0}
 .student-detail-list dd{padding-top:3px}
 .student-account-pill{display:none}
}

.student-welcome-profile,.student-profile-summary{display:flex;gap:22px;align-items:center}
.student-profile-summary{padding-bottom:20px;border-bottom:1px solid #e6eaf3;margin-bottom:16px}
.student-profile-summary h2{margin:5px 0!important;font-size:24px!important}
.student-profile-summary p{margin:0 0 4px}
.student-profile-photo{display:block;width:100px;height:126px;flex:0 0 100px;object-fit:cover;border-radius:12px;background:#edf0f5;border:2px solid rgba(255,255,255,.2)}
.student-profile-placeholder{display:flex;align-items:center;justify-content:center;font-size:44px;color:#748099}
.student-fields-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:18px;row-gap:0}
.student-field{padding:12px 0;border-bottom:1px solid #e9edf4;min-width:0}
.student-field span{display:block;color:#6c7a90;font-size:12px;margin-bottom:5px}
.student-field strong{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}
.student-application-section h2{display:flex;gap:10px;align-items:center;padding-bottom:14px;border-bottom:1px solid #e9edf4}
.student-section-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#160e44;color:white;font-size:13px}
@media(max-width:900px){.student-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.student-fields-grid{grid-template-columns:1fr}.student-welcome-profile,.student-profile-summary{align-items:flex-start;gap:13px}.student-profile-photo{width:76px;height:96px;flex-basis:76px}.student-profile-summary h2{font-size:19px!important}}

/* v5.0.46 unified portal refresh */
.student-body{background:#f5f7fb;color:#16284c}
.student-body .student-page-heading{margin-bottom:28px}
.student-body .student-page-heading h1{font-size:29px;font-weight:800;color:#112b57}
.student-body .student-sidebar{background:#170f40}
.student-body .student-nav-link.active{background:rgba(255,255,255,.15)}
.student-body .admin-main.student-main{max-width:none}
.student-result-hero,.student-winner-hero{position:relative;border-radius:22px;padding:40px 44px;margin-bottom:22px;overflow:hidden}
.student-result-hero{background:#fff;border:1px solid #e2e8f2;box-shadow:0 12px 38px rgba(22,37,76,.05);max-width:880px}
.student-result-hero:before{content:"";position:absolute;top:0;left:0;width:6px;height:100%;background:#9bacc7}
.student-result-hero.approved:before{background:#25845b}.student-result-hero.rejected:before{background:#8b98ae}.student-result-hero.pending:before{background:#d4a247}
.student-result-mark{display:flex;align-items:center;justify-content:center;width:54px;height:54px;background:#edf2f9;border-radius:17px;color:#284776;font-size:29px;font-weight:700;margin-bottom:24px}
.student-result-eyebrow{display:block;color:#7383a1;font-size:12px;font-weight:800;letter-spacing:.11em;margin-bottom:11px}
.student-result-hero h2{font-size:clamp(25px,3vw,35px);line-height:1.2;letter-spacing:-.035em;color:#142c55;margin:0 0 15px}
.student-result-hero p{font-size:16px;color:#566680;line-height:1.75;max-width:660px;margin:0}
.student-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.student-result-hero .btn{padding:13px 20px}
.student-quiet-card{display:flex;justify-content:space-between;align-items:center;max-width:880px;background:#f0f3f9;border:1px solid #e5eaf3;padding:20px 24px;border-radius:16px;gap:20px}
.student-quiet-card h3{font-size:15px;margin:0 0 6px}.student-quiet-card p{margin:0;color:#68758d;font-size:13px}.student-soft-icon{color:#8b9bb5;font-size:23px}
.student-winner-hero{display:flex;align-items:center;gap:25px;background:linear-gradient(115deg,#17103e,#332567);color:white}
.student-winner-avatar{height:110px;width:90px;flex:0 0 90px;background:#e7eaf1;border:3px solid rgba(255,255,255,.4);border-radius:15px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#17244a;font-size:36px}
.student-winner-avatar img{height:100%;width:100%;object-fit:cover}
.student-winner-copy h2{color:white;font-size:clamp(23px,2.8vw,32px);line-height:1.2;margin:0 0 9px}.student-winner-copy p{color:#e4e0f3;margin:0 0 15px}.student-winner-copy .student-result-eyebrow{color:#c9c2e8}
.student-winner-status{font-size:12px;font-weight:750;background:rgba(255,255,255,.15);padding:8px 11px;border-radius:99px}
.student-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1100px}
.student-dashboard-card,.student-public-card{background:#fff;border:1px solid #e1e8f2;border-radius:18px;padding:28px;box-shadow:0 8px 25px rgba(25,38,70,.035);display:flex;flex-direction:column;align-items:flex-start;min-height:210px}
.student-dashboard-card h3,.student-public-card h3{font-size:19px;color:#142e5a;margin:17px 0 8px}
.student-dashboard-card p,.student-public-card p{font-size:14px;color:#69788e;line-height:1.7;margin:0 0 22px}
.student-dashboard-card a,.student-public-card a{color:#1e3973;font-size:13px;font-weight:800;text-decoration:none;margin-top:auto}
.student-card-symbol{display:flex;align-items:center;justify-content:center;background:#edf1fa;color:#26477c;font-weight:800;font-size:12px;width:37px;height:37px;border-radius:11px}
.student-unavailable{font-size:12px;color:#8290a4;margin-top:auto}
.student-form-shell{background:#fff;border:1px solid #e2e8f1;border-radius:20px;padding:36px 40px;max-width:620px;box-shadow:0 12px 35px rgba(23,38,71,.04)}
.student-form-intro{margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid #edf0f6}
.student-form-intro h2{font-size:22px;letter-spacing:-.02em;margin:12px 0 7px;color:#152f5a}.student-form-intro p{font-size:14px;color:#6a7890;margin:0}
.student-form-icon{display:flex;align-items:center;justify-content:center;background:#edf1f9;border-radius:12px;width:46px;height:46px;color:#203b73;font-size:24px}
.student-form-shell form{max-width:100%}.student-form-shell input[type=text],.student-form-shell input[type=email],.student-form-shell input[type=password]{max-width:100%}
.student-form-shell .actions{margin-top:23px}
.student-public .admin-layout{display:block}.student-public .student-sidebar,.student-public .student-nav-overlay{display:none!important}
.student-public .admin-main.student-main{width:100%;max-width:1120px;margin:0 auto;padding:46px 26px 40px}
.student-public .student-page-heading{display:none}
.student-public-hero{background:linear-gradient(115deg,#160e44,#302365);color:white;border-radius:26px;padding:66px 60px;margin:0 0 22px}
.student-public-kicker{font-size:12px;letter-spacing:.13em;font-weight:800;color:#c6c0e7;margin-bottom:24px}
.student-public-hero h2{color:#fff;max-width:720px;font-size:clamp(30px,4.2vw,51px);line-height:1.13;letter-spacing:-.04em;margin:0 0 18px}
.student-public-hero p{max-width:610px;color:#e3def3;font-size:16px;line-height:1.7;margin:0}
.student-public-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.student-hero-button{display:inline-flex;gap:20px;align-items:center;justify-content:space-between;padding:14px 18px;background:white;border-radius:10px;color:#160e44;text-decoration:none;font-weight:800;font-size:14px}
.student-hero-button.outline{background:transparent;border:1px solid rgba(255,255,255,.5);color:white}
.student-public-notice{color:#e6e0f4;font-size:13px;border:1px solid rgba(255,255,255,.3);padding:12px 16px;border-radius:10px}
.student-public-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.student-public-card{min-height:245px}
.student-public-footnote{background:#eef2f9;border-radius:16px;padding:22px 26px;margin-top:20px;color:#52637e}
.student-public-footnote strong{color:#173463}.student-public-footnote p{font-size:13px;margin:6px 0 0}
.student-public .admin-mobile-bar{display:flex;position:relative;justify-content:center;background:#fff;border-bottom:1px solid #e4eaf2;padding:13px 22px}
.student-public .admin-mobile-bar [data-student-menu-toggle]{display:none}
.student-public .student-footer{margin-top:20px}
@media(max-width:760px){.student-body .admin-main.student-main{padding:22px 17px}.student-dashboard-grid,.student-public-cards{grid-template-columns:1fr}.student-result-hero,.student-winner-hero{padding:28px 24px}.student-public .admin-main.student-main{padding:20px 15px}.student-public-hero{padding:42px 26px;border-radius:20px}.student-public-hero h2{font-size:33px}.student-form-shell{padding:26px 22px}.student-winner-avatar{width:74px;height:92px;flex-basis:74px}.student-winner-hero{gap:14px}.student-public .admin-mobile-bar{display:flex}.student-public .admin-mobile-bar .admin-mobile-brand{display:flex}}

.student-result-message{line-height:1.85;max-width:850px;font-size:15px;overflow-wrap:anywhere}.student-result-hero .student-result-message{margin:16px 0 22px}.student-help-link{display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none;font-weight:650}.student-help-link:hover{text-decoration:underline}

/* v5.0.48 – shared social links under result messages */
.student-social-follow{margin:22px 0 14px;padding:18px 20px;background:#f6f8fc;border:1px solid #e3e9f3;border-radius:14px;color:#26364f;max-width:850px}.student-social-follow p{margin:0 0 12px;font-size:14px;line-height:1.65}.student-social-links{display:flex;gap:10px;flex-wrap:wrap}.student-social-links a{display:inline-flex;align-items:center;padding:9px 13px;background:#fff;border:1px solid #dce4f0;border-radius:9px;color:#160e44;text-decoration:none;font-size:13px;font-weight:700}.student-social-links a:hover{border-color:#160e44;text-decoration:underline}@media(max-width:600px){.student-social-follow{padding:15px}.student-social-links a{width:100%;justify-content:center}}

/* v5.0.53 – student portal usability and visual polish */
.student-body{--student-ink:#182b4b;--student-muted:#60718a;--student-line:#e1e7f0;--student-brand:#160e44}
.student-main a:focus-visible,.student-main button:focus-visible,.student-sidebar a:focus-visible{outline:3px solid #7e8bd4;outline-offset:3px}
.student-result-hero{max-width:940px;padding:38px 42px;border-radius:18px;box-shadow:0 8px 28px rgba(16,35,73,.035)}
.student-result-hero .student-result-message{max-width:760px;font-size:15px;line-height:1.95;color:#344560;white-space:normal}
.student-result-hero .student-result-message br+br{display:block;content:"";margin-top:12px}
.student-result-hero .student-result-message br{line-height:1.8}
.student-result-hero .student-result-mark{width:48px;height:48px;border-radius:13px;margin-bottom:20px}
.student-result-hero h2{font-size:clamp(25px,3vw,33px);line-height:1.3}
.student-result-hero .student-result-actions{border-top:1px solid var(--student-line);padding-top:22px;margin-top:26px}
.student-overview-result{max-width:940px;min-height:0}.student-overview-result p{max-width:640px}
.student-overview-help{max-width:940px;display:flex;justify-content:space-between;align-items:center;gap:22px;padding:22px 26px;border:1px solid var(--student-line);border-radius:16px;background:#fff}
.student-overview-help h3{margin:0 0 5px;font-size:16px;color:var(--student-ink)}.student-overview-help p{margin:0;color:var(--student-muted);font-size:13px;line-height:1.65}.student-overview-help a{white-space:nowrap;font-weight:750;text-decoration:none;color:var(--student-brand);font-size:13px}
.student-next-step{max-width:1100px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;margin:0 0 20px;background:#fff;border:1px solid #d9e1ef;border-left:4px solid var(--student-brand);border-radius:14px}
.student-next-step-kicker{display:block;color:#67738e;font-size:11px;font-weight:800;letter-spacing:.1em;margin-bottom:6px}.student-next-step h3{margin:0 0 5px;color:#1b2b50;font-size:18px}.student-next-step p{margin:0;color:var(--student-muted);font-size:13px;line-height:1.6}.student-next-step .btn{white-space:nowrap}
.student-dashboard-card{min-height:175px;padding:25px 27px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.student-dashboard-card:hover{border-color:#b6c3d8;box-shadow:0 10px 30px rgba(22,14,68,.055);transform:translateY(-2px)}
.student-dashboard-card h3{margin:15px 0 7px}.student-dashboard-card p{margin-bottom:15px}
.student-main .support-wrap{max-width:1000px}.student-main .support-card{border-radius:17px;padding:29px 32px;margin-bottom:20px}
.student-main .support-card h2{color:#1b2c4f;font-size:21px;letter-spacing:-.02em;margin:0 0 12px}
.student-main .support-card .support-intro{font-size:14px;line-height:1.75}
.student-main .support-card .field span{font-size:13px;font-weight:700;color:#344760}
.student-main .support-card :is(input,select,textarea){border:1px solid #cbd6e5;border-radius:10px;min-height:44px;padding:10px 12px;background:#fff;color:#203252}
.student-main .support-card textarea{min-height:130px;resize:vertical}
.student-main .support-card :is(input,select,textarea):focus-visible{outline:3px solid #d4d7f4;border-color:#55438c;outline-offset:1px}
.student-main .support-card .support-warning{border-radius:10px;background:#fffbf0;border-color:#e9dfbd}
.support-signed-in{font-size:13px;color:#546981;padding:12px 15px;border-radius:10px;background:#f3f6fa;margin:0 0 17px}
.support-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.support-section-heading h2{margin:0!important}.support-section-heading .student-result-eyebrow{margin:0 0 6px}
.support-history-count{background:#f0f3f9;color:#4d5c76;padding:7px 12px;border-radius:100px;font-size:12px;font-weight:750;white-space:nowrap}
.support-history-item{border-radius:11px;background:#fff;transition:border-color .15s ease,background .15s ease;padding:17px 18px}.support-history-item:hover{background:#f8f9fd;border-color:#9cabc6}.support-history-item:focus-visible{outline:3px solid #8e94ce;outline-offset:2px}
.support-history-item .support-history-subject{color:#293c5b;line-height:1.55}.support-history-right{display:flex;align-items:center;gap:14px}.support-history-arrow{font-size:19px;color:#7183a0}
.support-empty{padding:25px 22px;border:1px dashed #cbd5e5;border-radius:12px;background:#fafbfe;color:#263b5d}.support-empty p{margin:7px 0 0;font-size:13px;color:#65758d}
.student-social-follow{max-width:900px;border-radius:13px}.student-social-links a{transition:border-color .15s ease,background .15s ease}.student-social-links a:hover{background:#f2f4fb}
@media(max-width:760px){.student-result-hero{padding:28px 23px}.student-overview-help,.student-next-step{align-items:flex-start;flex-direction:column;padding:21px}.student-overview-help a,.student-next-step .btn{white-space:normal}.student-main .support-card{padding:22px 18px}.student-dashboard-card{min-height:0}.support-section-heading{align-items:flex-start}.student-result-hero .student-result-message{font-size:14px;line-height:1.85}}
@media(prefers-reduced-motion:reduce){.student-dashboard-card,.support-history-item,.student-social-links a{transition:none}.student-dashboard-card:hover{transform:none}}

/* v5.0.56: Public-facing social links, independent of the hidden guest sidebar. */
.student-guest-social{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;margin:24px auto 8px;padding:12px 0}.student-guest-social a{display:inline-flex;align-items:center;gap:8px;color:#160e44;text-decoration:none;font-size:14px;font-weight:600}.student-guest-social a:hover{text-decoration:underline}.student-guest-social a:focus-visible{outline:3px solid #7e8bd4;outline-offset:4px}.student-guest-social .student-nav-icon{display:inline-flex;align-items:center;justify-content:center}

/* v5.0.57: Public pages use the same left navigation as signed-in pages. */
.student-public .admin-layout{display:flex}
.student-public .student-sidebar{display:flex!important}
.student-public .admin-main.student-main{width:auto;max-width:none;margin:0;min-width:0;flex:1}
.student-public .admin-mobile-bar{display:none}
@media(max-width:760px){
 .student-public .student-sidebar{display:flex!important;position:fixed;left:0;top:0;bottom:0;transform:translateX(-110%);z-index:200}
 .student-public.student-menu-open .student-sidebar{transform:translateX(0)}
 .student-public .admin-mobile-bar{display:flex;justify-content:space-between}
 .student-public .admin-mobile-bar [data-student-menu-toggle]{display:inline-flex}
 .student-public.student-menu-open .student-nav-overlay{display:block!important;position:fixed;inset:0;background:rgba(9,12,35,.55);z-index:190}
}
