/* Branding SMP Katolik Rajawali & Yayasan Joseph Yeemye */

.brand-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-right:12px;
}
.brand-row img{
  display:block;
  object-fit:contain;
  background:transparent;
}
.brand-row .logo-yeemye-mark{
  width:42px;height:42px;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
.brand-row .logo-smp-top{
  width:42px;height:42px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 2px rgba(255,255,255,.35);
}
.brand{display:flex;flex-direction:column;min-width:0;margin-right:auto}
.brand .brand-org{
  font-size:10px;
  letter-spacing:.4px;
  text-transform:uppercase;
  color:#f0c767;
  font-weight:600;
  line-height:1.2;
}
.brand b{font-size:14px;letter-spacing:.2px}
.brand small{font-size:11px;color:#c9d3e6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- Login ---------- */
.login-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(184,137,43,.22), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(31,58,107,.18), transparent 50%),
    linear-gradient(160deg,#eef2f8 0%, var(--bg) 45%, #f8f4ea 100%);
}
.login-shell{
  width:min(960px,100%);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 22px 55px rgba(20,40,75,.14);
}
.login-aside{
  background:linear-gradient(160deg,var(--navy) 0%, var(--navy2) 70%, #243f73 100%);
  color:#fff;
  padding:36px 30px;
  border-right:1px solid rgba(255,255,255,.08);
  position:relative;
}
.login-aside::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:5px;
  background:var(--gold);
}
.login-aside-logos{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}
.login-aside .logo-aside{
  width:78px;height:78px;
  object-fit:contain;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  padding:4px;
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}
.login-aside .logo-x{
  color:#f0c767;
  font-size:22px;
  font-weight:600;
  opacity:.9;
}
.login-aside-kicker{
  font-size:11px;
  letter-spacing:.9px;
  text-transform:uppercase;
  color:#f0c767;
  font-weight:600;
  margin:0 0 8px;
}
.login-aside h2{
  font-size:28px;
  margin:0 0 10px;
  color:#fff;
}
.login-aside-text{
  color:#d6def0;
  margin:0 0 18px;
  max-width:36ch;
}
.login-aside-list{
  list-style:none;
  padding:0;margin:0;
  display:grid;gap:8px;
}
.login-aside-list li{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:9px;
  padding:8px 12px;
  font-size:12.5px;
  font-weight:500;
}

.login-card{
  padding:30px 28px 26px;
  display:flex;
  flex-direction:column;
}
.login-logos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:16px;
}
.login-logos figure{
  margin:0;
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 8px 8px;
  background:#fafbfd;
  text-align:center;
}
.login-logos img{
  display:block;
  margin:0 auto 6px;
  object-fit:contain;
}
.login-logos .logo-yeemye-wide{
  width:min(100%,160px);
  height:44px;
}
.login-logos .logo-smp{
  width:58px;height:58px;
  border-radius:50%;
}
.login-logos figcaption{
  font-size:10.5px;
  color:var(--mute);
  font-weight:500;
  line-height:1.3;
}
.login-card .brand-mark{
  font-size:11px;
  letter-spacing:.9px;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
}
.login-card h1{
  font-size:20px;
  color:var(--navy);
  margin:4px 0 6px;
}
.login-card .lead{margin-bottom:16px}
.login-card .f{margin-bottom:12px}
.login-card .btn{
  width:100%;
  justify-content:center;
  padding:10px 14px;
  margin-top:6px;
}
.err{
  display:none;
  background:#fdecea;
  color:#9b2c2c;
  border:1px solid #f5c2c0;
  border-radius:8px;
  padding:8px 12px;
  margin-bottom:12px;
  font-size:13px;
}
.err.on{display:block}
.hint-box{
  margin-top:14px;
  font-size:12px;
  color:var(--mute);
  background:var(--gold-soft);
  border-radius:8px;
  padding:10px 12px;
}

@media (max-width:820px){
  .login-shell{grid-template-columns:1fr}
  .login-aside{padding:24px 22px 20px}
  .login-aside h2{font-size:24px}
  .brand-row{margin-right:8px}
  .brand b{font-size:13px}
}

.hero-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.hero-brand img{
  width:56px;height:56px;
  object-fit:contain;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  padding:3px;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
}
.hero-brand .hero-logo-smp{background:#fff}

@media print{
  .brand-row{display:none!important}
  .hero-brand{display:none!important}
}
