body { background: #0F0B07; color: #F5EEDF; transition: opacity .25s var(--ease-out); }
body.leaving { opacity: 0; }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .login { grid-template-columns: 1fr; } .brand-side { min-height: auto !important; padding-bottom: 24px !important; gap: 18px !important; } .brand-side ul, .brand-side .foot, .brand-body p { display: none; } .emblem { width: 56px !important; height: 56px !important; margin-bottom: 12px !important; } .brand-body h1 { font-size: 32px !important; margin-bottom: 0 !important; } .form-side { padding-top: 28px !important; place-items: start center !important; } }

.brand-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px clamp(20px, 4vw, 56px); min-height: 100vh;
  background: radial-gradient(800px 520px at 20% -10%, rgba(212,175,55,.26), transparent 60%), radial-gradient(700px 520px at 110% 110%, rgba(140,90,40,.32), transparent 60%), linear-gradient(170deg, #1E150D, #120C07); border-right: 1px solid rgba(255,236,200,.08); }
.brand-side::after { content: ""; position: absolute; right: -180px; bottom: -180px; width: 560px; height: 560px; background: url(/shared/polri-logo.png) center/contain no-repeat; opacity: .05; pointer-events: none; }
.back { color: #CBBFA8; text-decoration: none; font-size: 13px; font-weight: 600; animation: fadeIn .5s var(--ease-out) both; }
.back:hover { color: var(--gold); }
.brand-body { max-width: 520px; }
.brand-body > * { animation: fadeUp .7s var(--ease-out) both; }
.brand-body > *:nth-child(2) { animation-delay: .06s; } .brand-body > *:nth-child(3) { animation-delay: .12s; } .brand-body > *:nth-child(4) { animation-delay: .18s; } .brand-body > *:nth-child(5) { animation-delay: .24s; }
.emblem { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 14px 28px rgba(0,0,0,.55)); margin-bottom: 22px; }
.brand-body .eyebrow { color: var(--gold); }
.brand-body h1 { margin: 10px 0 14px; font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.brand-body p { margin: 0; font-size: 16px; line-height: 1.6; color: #CBBFA8; }
.brand-body ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.brand-body li { display: flex; gap: 12px; font-size: 14px; color: #E9DFCB; line-height: 1.5; }
.brand-body li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(232,185,49,.7); }
.foot { font-size: 11px; letter-spacing: .08em; color: #7E725E; }

.form-side { display: grid; place-items: center; padding: 40px clamp(16px, 4vw, 56px); background: radial-gradient(700px 500px at 80% 0%, rgba(212,175,55,.08), transparent 60%), #120D08; }
.card { width: min(460px, 100%); animation: scaleIn .6s var(--ease-out) .1s both; }
.card > .eyebrow { color: #9A8D76; }
.card h2 { margin: 8px 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.card .sub { margin: 0 0 24px; color: #9A8D76; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9A8D76; }
.form input { height: 48px; border-radius: 14px; padding: 0 16px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; color: #F5EEDF; background: rgba(255,248,235,.05); border: 1px solid rgba(255,236,200,.14); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus { border-color: rgba(232,185,49,.6); box-shadow: 0 0 0 4px rgba(232,185,49,.12); background: rgba(255,248,235,.07); }
.form input::placeholder { color: #6F6654; }
.submit { height: 50px; margin-top: 6px; font-size: 15px; }
.err { font-size: 13px; color: #FFB4A8; background: rgba(229,72,77,.1); border: 1px solid rgba(229,72,77,.3); border-radius: 12px; padding: 10px 12px; animation: fadeUp .3s var(--ease-out) both; }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.form.shake { animation: shake .45s var(--ease-in-out); }

.demo { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,236,200,.08); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 11.5px; color: #9A8D76; }
.demo-head .eyebrow { color: #9A8D76; }
.demo-head b { color: var(--gold); }
.accounts { display: flex; flex-direction: column; gap: 8px; }
.acct { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-align: left; color: #F5EEDF; background: rgba(255,248,235,.035); border: 1px solid rgba(255,236,200,.08); transition: background .2s, border-color .2s, transform .2s var(--ease-out); animation: fadeUp .5s var(--ease-out) both; }
.acct:nth-child(1) { animation-delay: .25s; } .acct:nth-child(2) { animation-delay: .29s; } .acct:nth-child(3) { animation-delay: .33s; } .acct:nth-child(4) { animation-delay: .37s; } .acct:nth-child(5) { animation-delay: .41s; } .acct:nth-child(6) { animation-delay: .45s; } .acct:nth-child(n+7) { animation-delay: .49s; }
.acct:hover:not(:disabled) { background: rgba(232,185,49,.08); border-color: rgba(232,185,49,.4); transform: translateX(3px); }
.acct .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #E8CB6E, #B48A2C); color: #1C140C; font-weight: 800; font-size: 12px; }
.acct .who b { display: block; font-size: 13.5px; }
.acct .who small { font-size: 11.5px; color: #9A8D76; }
.acct .user { font-size: 11px; color: #7E725E; }
@media (max-width: 480px) { .acct .user { display: none; } .acct { grid-template-columns: 36px 1fr; } }
