@import url('tokens.css?v=4');
@import url('components.css?v=4');

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; font-family: var(--font); background: var(--soft-ivory); color: var(--ink); }
.split { display: flex; min-height: 100vh; align-items: stretch; }
.left {
  position: relative;
  display: flex;
  flex: 1.05;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(32px, 6vw, 84px);
  background: var(--deep-wine);
  color: var(--warm-ivory);
}
.left::before {
  position: absolute;
  right: -170px;
  bottom: -235px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 253, 245, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 253, 245, .035), 0 0 0 72px rgba(255, 253, 245, .025);
  content: '';
  pointer-events: none;
}
.left > * { position: relative; z-index: 1; }
.brand { display: flex; gap: 16px; align-items: center; }
.brand img { width: 58px; height: 58px; }
.sys { color: var(--warm-ivory); font-size: 11px; font-weight: 700; line-height: 1.8; letter-spacing: .16em; }
.campus-mark { margin-top: 3px; color: #F0CC67; font-size: 9px; font-weight: 600; letter-spacing: .05em; }
h1.hero { max-width: 690px; margin: clamp(34px, 6vh, 68px) 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.14; letter-spacing: -.035em; }
.hero .gold { color: var(--champagne); }
.sub { max-width: 570px; color: var(--warm-ivory); font-size: 16px; line-height: 1.8; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.feat {
  min-height: 108px;
  padding: 16px;
  border: 1px solid rgba(255, 253, 245, .18);
  border-radius: 14px;
  background: rgba(255, 253, 245, .08);
  color: var(--warm-ivory);
  font-size: 13px;
  line-height: 1.55;
}
.feat:first-letter { font-size: 20px; }
.feat b { display: inline-block; margin-top: 6px; color: var(--warm-ivory); }
.feat .muted { display: inline-block; margin-top: 3px; color: var(--muted-champagne); }
.tag { color: var(--champagne); font-family: var(--font-script); font-size: 26px; }
.right {
  display: flex;
  flex: .95;
  min-width: 420px;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 72px);
  background: var(--soft-ivory);
}
.right > .card {
  width: min(440px, 100%);
  padding: clamp(24px, 3vw, 36px);
  border-color: var(--muted-champagne);
  border-radius: 20px;
  box-shadow: var(--shadow-green);
}
.right > .card h2 { color: var(--deep-wine); font-size: 26px; letter-spacing: -.03em; }
.right > .card > .muted { margin: 6px 0 22px; line-height: 1.6; }
.right .btn { width: 100%; min-height: 48px; }
.right .field { margin: 16px 0; }
.right .muted { color: var(--muted); font-size: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { height: 1px; flex: 1; background: var(--border); content: ''; }
.steps { display: flex; gap: 6px; margin: 14px 0; }
.steps div { height: 6px; flex: 1; border-radius: 6px; background: var(--border); }
.steps div.on { background: var(--burgundy); }
.otp { display: flex; justify-content: center; gap: 8px; margin: 16px 0; }
.otp input {
  width: 46px;
  height: 54px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  font: 700 22px var(--font);
}
.check { margin: 4px 0; font-size: 13px; }
.check.pass, .pw-rules li.pass { color: var(--ok-text); }
.check.fail { color: var(--muted); }
.meter, .reg-meter { overflow: hidden; height: 8px; border-radius: 8px; background: var(--border); }
.meter i, .reg-meter i { display: block; width: 0; height: 100%; background: var(--danger-icon); transition: width var(--motion); }
.meter-spaced { margin-top: 8px; }
.reg-title { margin: 0 0 14px; font-size: 34px; font-weight: 700; }
.reg-meter { height: 10px; margin: 10px 0 12px; }
.pw-rules { margin: 0 0 10px; color: var(--ink); font-size: 14px; }
.pw-rules ul { margin: 0; padding-left: 18px; }
.pw-rules li.pass { font-weight: 600; }
.good { margin: 6px 0 12px; color: var(--muted); font-size: 13px; }
.section-request-review { display: grid; min-width: 220px; gap: 7px; margin-bottom: 8px; }
.section-request-review label { margin: 4px 0 0; color: var(--deep-wine); font-size: 12px; font-weight: 600; }
.section-request-review input,
.section-request-review select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--champagne);
  border-radius: var(--radius-sm);
  background: var(--pure-white);
  color: var(--deep-wine);
  font: inherit;
}
.section-request-review button,
.section-request-reject button { width: auto; min-height: 36px; }
.reg-password { position: relative; }
.reg-password .reg-input { padding-right: 56px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.nav { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 3px solid var(--champagne); background: var(--surface); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.panel { padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-black-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; }
.stars span { color: var(--border-soft); font-size: 26px; cursor: pointer; }
.stars span.on { color: var(--antique-gold); }
.toast { position: fixed; right: 20px; bottom: 20px; display: none; padding: 12px 16px; border-radius: 10px; background: var(--deep-wine); color: var(--surface); }
.verify-success { text-align: center; }
.verify-success-icon { font-size: 64px; }
.form-link { margin-top: 12px; }
.auth-link { color: var(--info-text); }
.create-account-link {
  display: inline-block;
  margin-top: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--muted-champagne);
  border-radius: var(--radius-sm);
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}
.create-account-link:hover { background: var(--soft-champagne); text-decoration: none; }
.text-center { text-align: center; }
.text-small { font-size: 13px; }
.text-caption { font-size: 12px; }
.mt-small { margin-top: 8px; }
.mt-medium { margin-top: 14px; }
.inp.has-eye { display: flex; align-items: center; }
.inp.has-eye input { padding-right: 56px; }
.eye {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--deep-wine);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--motion), color var(--motion), transform var(--motion);
}
.eye:hover { background: var(--soft-champagne); }
.eye:active { transform: translateY(-50%) scale(.96); }
.eye:focus-visible, .captcha-refresh:focus-visible { outline: 3px solid var(--antique-gold); outline-offset: 2px; }
.captcha-heading { display: flex; max-width: 100%; align-items: center; gap: 10px; }
.captcha-heading label { min-width: 0; flex: 1 1 auto; margin-bottom: 0; overflow-wrap: anywhere; }
.captcha-refresh {
  box-sizing: border-box;
  display: inline-flex;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 100%;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--deep-wine);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--motion), border-color var(--motion), color var(--motion), transform var(--motion);
}
.captcha-refresh:hover { border-color: var(--champagne); background: var(--soft-champagne); color: var(--burgundy); }
.captcha-refresh:active { transform: scale(.96); }
.login-screen {
  min-height: 100vh;
  background-color: var(--deep-wine);
  background-image: url('../img/campus-login.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.login-screen .left {
  flex: 1 1 62%;
  min-width: 0;
  background: linear-gradient(90deg, rgba(8, 51, 35, .84), rgba(8, 51, 35, .58) 58%, rgba(8, 51, 35, .3));
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.login-screen .left::before { display: none; }
.login-screen .brand img { width: 52px; height: 52px; }
.login-screen .sys { letter-spacing: .06em; text-shadow: 0 1px 5px rgba(0, 0, 0, .55); }
.login-screen h1.hero {
  max-width: 690px;
  font-size: clamp(34px, 3.8vw, 48px);
  text-shadow: 0 3px 12px rgba(0, 0, 0, .7);
}
.login-screen .sub { text-shadow: 0 2px 7px rgba(0, 0, 0, .75); }
.login-screen .feats { gap: 10px; }
.login-screen .feat {
  border-color: rgba(255, 255, 255, .46);
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}
.login-screen .feat .muted { color: #fff; }
.login-screen .tag { color: var(--soft-champagne); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.login-screen .right {
  flex: 0 0 38%;
  min-width: 360px;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 40px) clamp(18px, 3vw, 44px);
  background: rgba(18, 24, 21, .08);
}
.login-screen .right > .card {
  width: min(360px, 100%);
  margin-inline: auto;
  padding: 20px;
  border-color: rgba(255, 255, 255, .62);
  border-radius: 14px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.login-screen .right > .card h2 { margin: 0 0 5px; color: #174B35; font-size: 22px; }
.login-screen .right > .card > .muted { margin: 0 0 12px; line-height: 1.4; }
.login-screen .right .muted { font-size: 12px; line-height: 1.4; }
.login-screen .right .field { margin: 8px 0; }
.login-screen .right .field label { margin-bottom: 5px; font-size: 11px; }
.login-screen .right .field .inp input { min-height: 40px; padding-top: 9px; padding-bottom: 9px; font-size: 13px; }
.login-screen .right .btn { min-height: 40px; padding: 9px 14px; font-size: 13px; }
.login-screen .right > .card > a.btn-outline { padding-right: 6px; padding-left: 6px; font-size: 12px; white-space: nowrap; }
.login-screen .right .row { gap: 8px; font-size: 11px; }
.login-screen .right .divider { margin: 9px 0; }
.login-screen .right .create-account-link { padding: 6px 8px; font-size: 11px; }
.login-screen .right .text-caption { font-size: 11px; line-height: 1.35; }
.login-screen .right .btn:not(.btn-outline) { border-color: #A71930; background: #A71930; }
.login-screen .right .btn:not(.btn-outline):hover { background: #851226; }
.login-screen .right .eye { color: #174B35; }
.login-screen .right .captcha-refresh { color: #174B35; }
.login-screen .trial-accounts {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid rgba(23, 75, 53, .2);
  border-radius: 10px;
  background: rgba(245, 248, 242, .9);
}
.login-screen .trial-accounts h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0;
  color: #174B35;
  font-size: 13px;
}
.login-screen .trial-accounts h3 span {
  padding: 3px 6px;
  border-radius: 999px;
  background: #e8efe7;
  color: #174B35;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}
.login-screen .trial-accounts > p { margin: 5px 0 8px; }
.login-screen .trial-account-list { display: grid; gap: 6px; }
.login-screen .trial-account-row {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(23, 75, 53, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .75);
  color: #174B35;
  font-size: 11px;
  font-weight: 600;
}
.login-screen .trial-account-row > span { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 5px; }
.login-screen .trial-role {
  padding: 2px 6px;
  border-radius: 999px;
  background: #e8efe7;
  font-size: 9px;
}
.login-screen .trial-account-row .btn { min-width: 92px; min-height: 44px; padding: 8px 10px; }
.login-screen .trial-account-row .btn-outline { background: rgba(255, 255, 255, .92); }
.login-screen .trial-warning { margin: 7px 0 0 !important; color: #713e19; font-size: 10px !important; }
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .left { min-height: auto; padding: 34px 26px 30px; }
  h1.hero { max-width: 650px; margin: 34px 0 10px; font-size: clamp(30px, 6vw, 40px); }
  .sub { font-size: 15px; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
  .feat { min-height: 0; padding: 13px; }
  .right { min-width: 0; padding: 30px 20px; }
  .login-screen { background-position: center; }
  .login-screen .left { flex: auto; min-height: 560px; }
  .login-screen .right { flex: auto; width: 100%; min-width: 0; justify-content: center; padding: 30px 20px; background: rgba(18, 24, 21, .2); }
  .login-screen .right > .card { width: min(440px, 100%); }
}
@media (max-width: 560px) {
  .left { padding: 26px 20px; }
  .login-screen .left { min-height: 0; padding: 30px 20px; }
  .brand img { width: 48px; height: 48px; }
  .sys { font-size: 9px; letter-spacing: .11em; }
  h1.hero { margin-top: 28px; font-size: 30px; }
  .feats { grid-template-columns: 1fr; gap: 8px; margin: 17px 0; }
  .feat { padding: 11px 13px; }
  .tag { font-size: 23px; }
  .right { padding: 18px 14px 28px; }
  .login-screen .right { padding: 20px 14px 28px; }
  .right > .card { padding: 23px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
