/* JBN staff login */
:root { --navy: #0B1630; --navy2: #11285A; --blue: #1F6BFF; --blue2: #3B82F6; --ink: #0F172A; --muted: #5B6B86; --line: #D5DEEB; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); background: #F5F8FD; line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Devanagari", sans-serif; }
a { color: var(--blue); text-decoration: none; }
svg { width: 1em; height: 1em; display: block; }
.shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }

.side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 40px 56px; color: #fff;
    background: radial-gradient(800px 500px at 0% 0%, rgba(47, 123, 255, .4), transparent 60%),
                radial-gradient(700px 480px at 100% 100%, rgba(124, 58, 237, .35), transparent 60%),
                linear-gradient(160deg, var(--navy), #0E1D40 55%, var(--navy2)); }
.side::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.side > * { position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand img { border-radius: 10px; object-fit: cover; }
.side-copy h2 { margin: 0 0 14px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.side-copy h2 span { background: linear-gradient(90deg, #6EA2FF, #B79BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-copy p { margin: 0 0 24px; max-width: 460px; color: #B4C3E0; font-size: 17px; }
.side-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-copy li { display: flex; align-items: center; gap: 12px; color: #D6E1F7; font-weight: 500; }
.side-copy li i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-style: normal; font-size: 13px; color: #4ADE80; background: rgba(74, 222, 128, .15); }
.side-foot { color: #7E90B3; font-size: 13px; }

.main { display: flex; flex-direction: column; padding: 24px 28px 32px; }
.topbar { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.card { width: 100%; max-width: 430px; margin: auto; padding: 38px 34px 28px; background: #fff; border-radius: 24px; border: 1px solid #E3E9F3; box-shadow: 0 30px 70px rgba(15, 23, 42, .1); }
.brand-m { display: none; color: var(--ink); margin-bottom: 20px; font-size: 18px; }
.brand-m:hover { color: var(--ink); }
.card h1 { margin: 0 0 4px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.sub { margin: 0 0 24px; color: var(--muted); font-size: 15px; }

.alert { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.alert-ok { color: #166534; background: #DCFCE7; border: 1px solid #BBF7D0; }

.field { margin-bottom: 16px; }
.field label, .label-row label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #334155; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; font-weight: 600; }
.input { position: relative; }
.input > svg { position: absolute; left: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: #94A3B8; pointer-events: none; }
.input input { width: 100%; height: 50px; padding: 0 46px 0 42px; font: inherit; font-size: 15px; color: var(--ink); background: #F8FAFD; border: 1px solid var(--line); border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.input input:focus { border-color: #7FA9FF; background: #fff; box-shadow: 0 0 0 4px rgba(31, 107, 255, .14); }
.has-error .input input { border-color: #F87171; }
.err { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #DC2626; }
.eye { position: absolute; right: 6px; top: 50%; margin-top: -19px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: #94A3B8; cursor: pointer; }
.eye svg { position: static; margin: 0; width: 20px; height: 20px; }
.eye:hover, .eye.on { color: var(--blue); }
.remember { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; font-size: 14px; color: #334155; cursor: pointer; }
.remember input { width: 17px; height: 17px; accent-color: var(--blue); }
.submit { width: 100%; height: 52px; border: 0; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--blue2)); box-shadow: 0 14px 30px rgba(31, 107, 255, .35); transition: transform .1s, box-shadow .15s; }
.submit:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(31, 107, 255, .45); }
.submit:disabled { opacity: .7; cursor: wait; transform: none; }
.alt { margin: 18px 0 0; text-align: center; font-size: 14px; font-weight: 600; }
.secure { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: #8696B0; }

@media (max-width: 900px) {
    .shell { grid-template-columns: 1fr; }
    .side { display: none; }
    .brand-m { display: flex; }
    .main { background: radial-gradient(600px 360px at 10% 0%, rgba(47, 123, 255, .12), transparent 60%), #F5F8FD; }
}
@media (max-width: 480px) {
    .card { padding: 28px 22px 22px; border-radius: 20px; }
    .main { padding: 18px 16px 24px; }
}
