/* Student registration page (standalone) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.rgp-body { font-family: "Poppins", sans-serif; font-size: 14px; color: #072f22; background: #f2f8f4; text-align: left; -webkit-font-smoothing: antialiased; }
.rgp-app { display: grid; grid-template-columns: 335px 1fr; min-height: 100vh; }
.rgp-side { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 0; color: #fff; background-color: #072f22; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(180deg, #072f22 0%, #072f22 55%, #072f22 100%); background-size: 14px 14px, 100% 100%; }
.rgp-logo { background: #fff; border-radius: 22px; padding: 18px 14px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.rgp-logo img { display: block; width: 100%; height: auto; }
.rgp-side h2 { margin: 6px 0 0; text-align: center; font-size: 21px; font-weight: 700; color: #fff; }
.rgp-tag { margin: 0; text-align: center; font-size: 12.5px; letter-spacing: 1.4px; color: #d6f0df; }
.rgp-pill { align-self: center; display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; background: #6fcaa0; color: #072f22; font-size: 13px; font-weight: 700; }
.rgp-box { display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.rgp-box small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #b8e3c9; }
.rgp-box strong { font-size: 13.5px; font-weight: 600; line-height: 1.55; color: #fff; }
.rgp-box a { color: #fff; text-decoration: none; }
.rgp-box a:hover { text-decoration: underline; }
.rgp-box p { margin: 0; font-size: 13px; line-height: 1.6; color: #e3f4ea; }
.rgp-nico, .rgp-bico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.rgp-nico { background: #6fcaa0; color: #072f22; }
.rgp-bico { border-radius: 11px; background: rgba(111,212,91,.28); color: #d6f0df; }
.rgp-follow { text-align: center; margin-top: 6px; }
.rgp-follow small { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #b8e3c9; }
.rgp-follow div { display: flex; justify-content: center; gap: 12px; }
.rgp-follow a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 16px; text-decoration: none; transition: background .2s; }
.rgp-follow a:hover { background: rgba(255,255,255,.22); }
.rgp-copy { margin: auto -24px 0; padding: 14px 24px; text-align: center; font-size: 12px; background: rgba(0,0,0,.28); color: #d6f0df; }
.rgp-copy b { color: #6fcaa0; }
.rgp-main { padding: 18px 28px 40px; min-width: 0; }
.rgp-msg { display: flex; align-items: center; gap: 16px; padding: 16px 22px; margin-bottom: 16px; border-radius: 18px; }
.rgp-msg strong { display: block; font-size: 16px; font-weight: 700; }
.rgp-msg span:not(.rgp-mi), .rgp-msg label { font-size: 13.5px; }
.rgp-mi { flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; }
.rgp-ok { background: #eaf7f0; border: 1px solid #b8e3c9; color: #072f22; } .rgp-ok .rgp-mi { background: #0a7a4b; }
.rgp-bad { background: #fdece7; border: 1px solid #f5c2b6; color: #7a1d0a; } .rgp-bad .rgp-mi { background: #d6402a; }
.rgp-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; padding: 20px 26px; margin-bottom: 14px; border-radius: 22px; color: #fff; background: linear-gradient(100deg, #072f22 0%, #0a5f40 45%, #0a7a4b 100%); box-shadow: 0 22px 44px -26px rgba(7,47,34,.85); }
.rgp-top::after { content: ""; position: absolute; right: 110px; top: -90px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.1); }
.rgp-top > * { position: relative; z-index: 1; }
.rgp-top-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.rgp-burger { display: none; width: 38px; height: 38px; border: 0; border-radius: 11px; background: #fff; color: #072f22; font-size: 17px; cursor: pointer; }
.rgp-back { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; color: #072f22 !important; font-size: 12.5px; font-weight: 700; text-decoration: none !important; }
.rgp-live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.rgp-live i { width: 8px; height: 8px; border-radius: 50%; background: #6fcaa0; }
.rgp-top h1 { margin: 0 0 4px; font-size: 29px; font-weight: 700; color: #fff; }
.rgp-top p { margin: 0; font-size: 13px; color: #e3f4ea; }
.rgp-top b { color: #e6b84a; }
.rgp-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rgp-step { display: flex; align-items: center; gap: 11px; min-width: 150px; padding: 11px 14px; border-radius: 14px; background: #fff; color: #072f22; }
.rgp-sn { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }
.rgp-sn1 { background: #0a7a4b; } .rgp-sn2 { background: #d99a22; } .rgp-sn3 { background: #d6402a; }
.rgp-step strong { display: block; font-size: 12.5px; line-height: 1.2; }
.rgp-step small { display: block; font-size: 11.5px; color: #5a6a61; } .rgp-step em { font-style: normal; }
.rgp-bar { display: block; height: 4px; margin-top: 5px; border-radius: 4px; background: #dcebe1; overflow: hidden; } .rgp-bar b { display: block; height: 100%; width: 0; background: #0a7a4b; transition: width .3s; }
.rgp-step:nth-child(2) .rgp-bar b { background: #d99a22; } .rgp-step:nth-child(3) .rgp-bar b { background: #d6402a; }
.rgp-ring { --p: 0; width: 66px; height: 66px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(closest-side, #fff 76%, transparent 78%), conic-gradient(#0a7a4b calc(var(--p) * 1%), #dcebe1 0); color: #072f22; }
.rgp-ring b { font-size: 15px; line-height: 1; } .rgp-ring small { font-size: 8.5px; letter-spacing: 1px; text-transform: uppercase; color: #6a7a71; }
.rgp-card { --c1:#0a7a4b; --c2:#0a5f40; --soft:#cfe8d6; --tint:#f1f9f4; position: relative; overflow: hidden; background: #fff; border-radius: 20px; padding: 0 20px 22px; margin-bottom: 14px; border: 1px solid var(--soft); box-shadow: 0 14px 34px -26px rgba(7,47,34,.5); }
.rgp-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c1); }
.rgp-c2 { --c1:#d99a22; --c2:#8a5a0b; --soft:#f1ddb8; --tint:#fdf7ec; }
.rgp-c3 { --c1:#d6402a; --c2:#a82e1b; --soft:#f5c2b6; --tint:#fdece7; }
.rgp-head { display: flex; align-items: center; gap: 14px; padding: 18px 0 14px; margin-bottom: 16px; border-bottom: 1px solid var(--soft); }
.rgp-hico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; background: var(--c1); }
.rgp-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: #072f22; }
.rgp-head p { margin: 1px 0 0; font-size: 12px; color: #6a7a71; }
.rgp-no { margin-left: auto; font-size: 24px; font-weight: 700; color: var(--soft); }
.rgp-grid { display: grid; gap: 14px 22px; }
.rgp-g4 { grid-template-columns: repeat(4, 1fr); } .rgp-g3 { grid-template-columns: repeat(3, 1fr); } .rgp-g2 { grid-template-columns: repeat(2, 1fr); }
.rgp-span2 { grid-column: span 2; }
.rgp-two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; }
.rgp-two .rgp-card { margin-bottom: 14px; }
.rgp-f label, .rgp-lab { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #072f22; }
.rgp-f b { color: #d6402a; }
.rgp-in { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--soft); border-radius: 12px; background: var(--tint); transition: border-color .2s, box-shadow .2s, background .2s; }
.rgp-in:focus-within { border-color: var(--c1); box-shadow: 0 0 0 3px var(--soft); background: #fff; }
.rgp-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--c1); background: var(--soft); }
.rgp-ctl { flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-family: "Poppins", sans-serif; font-size: 13.5px; color: #072f22; box-shadow: none; }
.rgp-sel { cursor: pointer; }
.rgp-ctl::placeholder { color: #8aa094; }
.rgp-err { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: #c93a26; }
.rgp-seg { display: flex; gap: 8px; height: 44px; }
.rgp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rgp-seg label { flex: 1; margin: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--soft); border-radius: 12px; background: var(--tint); color: #072f22; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.rgp-seg label:hover { border-color: var(--c1); }
.rgp-seg input:checked + label { background: var(--c1); border-color: var(--c1); color: #fff; box-shadow: 0 8px 16px -8px var(--c1); }
.rgp-seg input:focus-visible + label { outline: 2px solid var(--c2); outline-offset: 2px; }
.rgp-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 14px 20px; background: #fff; border-radius: 18px; border: 1px solid #dcebe1; box-shadow: 0 14px 34px -26px rgba(7,47,34,.5); }
.rgp-decl { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px; margin: 0; font-size: 13px; color: #4a5a50; cursor: pointer; }
.rgp-decl input { width: 19px; height: 19px; accent-color: #0a7a4b; }
.rgp-btns { display: flex; gap: 12px; }
.rgp-submit { height: 46px; padding: 0 30px; border: 0; border-radius: 12px; cursor: pointer; font-family: "Poppins", sans-serif; font-size: 14.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0a7a4b, #0a5f40); box-shadow: 0 14px 26px -14px rgba(7,104,58,.95); transition: transform .2s; }
.rgp-submit:hover { transform: translateY(-2px); }
.rgp-reset { height: 46px; padding: 0 24px; display: inline-flex; align-items: center; gap: 9px; border: 2px solid #d6402a; border-radius: 12px; cursor: pointer; background: #fff; font-family: "Poppins", sans-serif; font-size: 14.5px; font-weight: 700; color: #a82e1b; }
.rgp-reset:hover { background: #fdece7; }
@media (max-width: 1280px) { .rgp-g4 { grid-template-columns: repeat(2, 1fr); } .rgp-two { grid-template-columns: 1fr; } }
@media (max-width: 991.98px) {
  .rgp-app { display: block; }
  .rgp-side { position: fixed; left: 0; top: 0; z-index: 50; width: 320px; max-width: 86vw; transform: translateX(-102%); transition: transform .3s; box-shadow: 20px 0 50px rgba(0,0,0,.4); }
  .rgp-side.open { transform: none; }
  .rgp-burger { display: inline-flex; align-items: center; justify-content: center; }
  .rgp-main { padding: 14px 14px 36px; }
}
@media (max-width: 640px) { .rgp-g4, .rgp-g3, .rgp-g2 { grid-template-columns: 1fr; } .rgp-span2 { grid-column: auto; } .rgp-top { padding: 18px 16px; } .rgp-top h1 { font-size: 23px; } .rgp-step { flex: 1 1 140px; } .rgp-btns { width: 100%; } .rgp-submit, .rgp-reset { flex: 1; justify-content: center; } }

/* ---- no layout jump, compact one-screen layout ---- */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, .rgp-side::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, body { overflow-x: hidden; }
.rgp-side { overflow: hidden; scrollbar-width: none; gap: 10px; padding: 18px 22px 0; }
.rgp-logo { padding: 12px 12px; border-radius: 18px; }
.rgp-side h2 { font-size: 19px; margin-top: 2px; }
.rgp-box { padding: 11px 14px; border-radius: 14px; }
.rgp-follow { margin-top: 2px; } .rgp-follow small { margin-bottom: 8px; }
.rgp-copy { margin: auto -22px 0; padding: 12px 22px; }
.rgp-main { padding: 12px 24px 16px; }
.rgp-card, .rgp-two > * { min-width: 0; }
.rgp-card { padding: 0 18px 6px; margin-bottom: 10px; border-radius: 18px; }
.rgp-two { gap: 10px; }
.rgp-two .rgp-card { margin-bottom: 10px; }
.rgp-head { padding: 12px 0 10px; margin-bottom: 12px; gap: 12px; }
.rgp-hico { width: 34px; height: 34px; font-size: 14px; border-radius: 10px; }
.rgp-head h3 { font-size: 15px; } .rgp-head p { font-size: 11.5px; } .rgp-no { font-size: 22px; }
.rgp-grid { gap: 0 20px; }
.rgp-f { position: relative; padding-bottom: 17px; min-width: 0; }
.rgp-f label, .rgp-lab { margin-bottom: 5px; font-size: 11.5px; }
.rgp-in { height: 40px; border-radius: 11px; }
.rgp-ic { width: 28px; height: 28px; font-size: 12px; }
.rgp-ctl { font-size: 13px; }
.rgp-seg { height: 40px; }
.rgp-f .rgp-err { position: absolute; left: 2px; bottom: 1px; max-width: 100%; margin: 0; font-size: 11px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rgp-top { padding: 13px 22px; margin-bottom: 10px; border-radius: 18px; }
.rgp-top-row { margin-bottom: 4px; }
.rgp-top h1 { font-size: 24px; margin-bottom: 2px; }
.rgp-top p { font-size: 12.5px; }
.rgp-back, .rgp-live { padding: 5px 12px; font-size: 11.5px; }
.rgp-step { min-width: 140px; padding: 8px 12px; border-radius: 12px; }
.rgp-sn { width: 30px; height: 30px; font-size: 12px; }
.rgp-ring { width: 58px; height: 58px; } .rgp-ring b { font-size: 13.5px; }
.rgp-foot { padding: 10px 18px; border-radius: 16px; }
.rgp-submit, .rgp-reset { height: 42px; font-size: 14px; }
/* messages float over the page, so they never push the layout down */
.rgp-msg { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 80; width: min(560px, calc(100vw - 28px)); margin: 0; padding: 14px 20px; cursor: pointer; box-shadow: 0 24px 50px -16px rgba(0,0,0,.45); animation: rgpToast .35s ease; }
.rgp-msg.gone { opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
@keyframes rgpToast { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-height: 820px) { .rgp-note { display: none; } }
@media (max-height: 700px) { .rgp-follow { display: none; } }
@media (max-width: 991.98px) { .rgp-side { overflow-y: auto; } .rgp-main { padding: 12px 12px 28px; } }

/* ---- full-height page: the form fills the whole screen, no empty band at the bottom ---- */
.rgp-app { min-height: 100vh; }
.rgp-main { display: flex; flex-direction: column; min-height: 100vh; padding: 14px 26px 16px; }
.rgp-top, .rgp-foot { flex: none; }
.rgp-c1 { flex: 5 1 auto; display: flex; flex-direction: column; margin-bottom: 12px; }
.rgp-two { flex: 4 1 auto; align-items: stretch; margin-bottom: 12px; }
.rgp-two .rgp-card { display: flex; flex-direction: column; margin-bottom: 0; }
.rgp-c1 > .rgp-grid, .rgp-two .rgp-card > .rgp-grid { flex: 1 1 auto; }
.rgp-f { padding-bottom: 21px; }
.rgp-f .rgp-err { bottom: 3px; }
.rgp-head { margin-bottom: 14px; }
.rgp-in, .rgp-seg { height: 42px; }
@media (max-width: 1280px) { .rgp-main { min-height: 0; display: block; } .rgp-c1, .rgp-two { margin-bottom: 12px; } }
@media (max-width: 991.98px) { .rgp-main { padding: 12px 12px 28px; } }
.rgp-submit, .rgp-reset { max-width: 100%; }
@media (max-width: 400px) { .rgp-submit, .rgp-reset { padding: 0 14px; } }
