@import url("./fonts.css?v=1");

:root { color-scheme: dark; font-family: IRANSans, Tahoma, sans-serif; }
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: #080b12; color: #f3f6fb; }
button, input { font: inherit; }
.login-shell { display: grid; grid-template-columns: minmax(360px, .92fr) minmax(460px, 1.08fr); min-height: 100vh; }
.login-intro { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: clamp(34px, 5vw, 72px); overflow: hidden; border-left: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle at 12% 18%, rgba(76,157,255,.27), transparent 25rem), linear-gradient(145deg,#111a2a 0%,#0b101a 70%); }
.login-intro::after { content: ""; position: absolute; inset: auto -12rem -17rem auto; width: 38rem; height: 38rem; border: 1px solid rgba(91,165,255,.12); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(91,165,255,.025),0 0 0 10rem rgba(91,165,255,.018); }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; align-self: flex-start; color: #fff; font-size: 18px; font-weight: 850; line-height: 1.2; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: linear-gradient(145deg,#51a8ff,#5364ed); box-shadow: 0 12px 28px rgba(51,112,229,.3); font-size: 19px; }
.brand small { display: block; margin-top: 4px; color: #7f8ba1; font-size: 8px; letter-spacing: 1.4px; }
.intro-copy { position: relative; z-index: 1; margin: auto 0; max-width: 540px; }
.eyebrow { margin: 0 0 16px; color: #63adff; font-size: 11px; font-weight: 850; letter-spacing: 2px; }
h1 { margin: 0; font-size: clamp(38px, 5vw, 66px); font-weight: 900; line-height: 1.32; letter-spacing: -2px; }
.intro-copy > p:last-child { max-width: 450px; margin: 24px 0 0; color: #9aa7ba; font-size: 15px; line-height: 2; }
.security-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.security-note > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #256149; border-radius: 10px; background: #143528; color: #67dba7; font-weight: 900; }
.security-note p { margin: 0; }
.security-note strong,.security-note small { display: block; }
.security-note strong { font-size: 11px; }
.security-note small { margin-top: 3px; color: #748197; font-size: 9px; }
.login-panel { display: grid; align-content: center; justify-items: center; padding: 32px; background: radial-gradient(circle at 70% 25%,rgba(37,62,102,.18),transparent 28rem),#080b12; }
.login-card { width: min(100%, 440px); padding: clamp(26px,4vw,42px); border: 1px solid #252e3e; border-radius: 20px; background: linear-gradient(145deg,rgba(19,26,40,.97),rgba(13,18,29,.97)); box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.card-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 10px; border-radius: 50%; background: #52d29a; box-shadow: 0 0 0 5px rgba(82,210,154,.09); }
h2 { margin: 0; font-size: 25px; }
.card-heading p { margin: 7px 0 0; color: #8996aa; font-size: 12px; }
.notice { margin: -8px 0 20px; padding: 11px 13px; border: 1px solid; border-radius: 10px; font-size: 11px; line-height: 1.8; }
.notice.error { border-color: #6f3340; background: #381a22; color: #ffacb5; }
.notice.success { border-color: #28634d; background: #143428; color: #9be9c6; }
.field { display: block; margin-top: 18px; color: #aeb8c9; font-size: 11px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; height: 52px; margin-top: 8px; border: 1px solid #303a4c; border-radius: 11px; background: #111824; transition: border-color .15s,box-shadow .15s; }
.input-wrap:focus-within { border-color: #4c9dff; box-shadow: 0 0 0 3px rgba(76,157,255,.13); }
.input-wrap b { width: 48px; color: #65748b; text-align: center; direction: ltr; font-size: 12px; }
.input-wrap input { min-width: 0; width: 100%; height: 100%; padding: 0 0 0 15px; border: 0; outline: 0; background: transparent; color: #f3f6fb; direction: ltr; text-align: left; font-size: 14px; }
.input-wrap input::placeholder { color: #58657a; }
button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 26px; border: 1px solid #5aa8ff; border-radius: 11px; background: linear-gradient(135deg,#4c9dff,#4d65e9); box-shadow: 0 12px 28px rgba(58,113,224,.25); color: #fff; cursor: pointer; font-weight: 800; }
button:hover { filter: brightness(1.08); }
.copyright { margin: 22px 0 0; color: #485469; font-size: 8px; font-weight: 750; letter-spacing: 1px; direction: ltr; }
.copyright b { color: #4c9dff; }
@media (max-width: 820px) { .login-shell { grid-template-columns: 1fr; } .login-intro { min-height: auto; padding: 28px 24px 34px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); } .intro-copy { margin: 54px 0 26px; } h1 { font-size: clamp(34px,10vw,50px); } .security-note { display: none; } .login-panel { padding: 34px 18px 46px; } }
@media (max-width: 430px) { .login-card { padding: 24px 20px; border-radius: 16px; } }
