.software-auth-page { min-height: 100vh; margin: 0; color: var(--sw-ink); background: #f6f7fb; }
.software-auth-page, .software-auth-page button, .software-auth-page input { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, .92fr) minmax(560px, 1.08fr); }
.auth-visual { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 38px 56px 48px; color: #fff; background: #111326; }
.auth-visual:before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(102,87,232,.32), transparent 70%); }
.auth-visual:after { content: ""; position: absolute; width: 440px; height: 440px; left: -270px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(54,212,199,.18), transparent 70%); }
.auth-visual .software-logo { position: relative; z-index: 2; align-self: flex-start; }
.auth-visual .software-logo-copy strong { color: #fff; }
.auth-visual .software-logo-copy em { color: #777b92; }
.auth-visual-content { position: relative; z-index: 1; max-width: 560px; margin: auto 0; padding: 70px 0 30px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--sw-cyan); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.auth-eyebrow i { font-size: 11px; }
.auth-visual h1 { max-width: 530px; margin: 0 0 20px; color: #fff; font-size: clamp(43px, 4vw, 62px); line-height: 1.04; letter-spacing: -2.8px; }
.auth-visual-content > p { max-width: 490px; margin: 0; color: #a4a7ba; font-size: 14px; line-height: 1.8; }
.auth-illustration { position: relative; height: 315px; display: flex; align-items: center; justify-content: center; margin: 15px 0 5px; }
.auth-illustration img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 25px rgba(0,0,0,.2)); }
.auth-mini-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 13px; }
.auth-mini-list span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; color: #c4c6d2; background: rgba(255,255,255,.035); font-size: 10px; }
.auth-mini-list i { color: var(--sw-cyan); }
.auth-visual-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: #64677d; font-size: 9px; }
.auth-visual-footer span:last-child { display: flex; align-items: center; gap: 6px; }
.auth-visual-footer i { color: var(--sw-cyan); }

.auth-form-side { min-height: 100vh; display: flex; flex-direction: column; padding: 35px 6vw 45px; background: #fff; }
.auth-form-top { display: flex; align-items: center; justify-content: flex-end; gap: 13px; min-height: 40px; color: var(--sw-muted); font-size: 11px; }
.auth-form-top a { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 0 15px; border: 1px solid var(--sw-line); border-radius: 9px; color: var(--sw-ink); font-size: 11px; font-weight: 700; }
.auth-form-top a:hover { color: var(--sw-violet); border-color: #ccc8f3; }
.auth-form-card { width: 100%; max-width: 475px; margin: auto; padding: 50px 0 25px; }
.auth-form-card > .auth-kicker { display: block; margin-bottom: 12px; color: var(--sw-violet); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.auth-form-card h2 { margin: 0 0 11px; color: var(--sw-ink); font-size: 42px; line-height: 1.1; letter-spacing: -1.8px; }
.auth-form-card > p { margin: 0 0 34px; color: var(--sw-muted); font-size: 13px; line-height: 1.7; }
.auth-form .form-group { position: relative; margin-bottom: 20px; text-align: left; }
.auth-form label:not(.error) { display: block; margin-bottom: 7px; color: #4f5268; font-size: 10px; font-weight: 700; letter-spacing: .2px; }
.auth-form .form-control { width: 100%; height: 53px; padding: 0 16px; border: 1px solid #dfe1ea; border-radius: 11px; background: #fafafd; color: var(--sw-ink); font-size: 13px; box-shadow: none; transition: .2s ease; }
.auth-form .form-control::placeholder { color: #b2b4c0; }
.auth-form .form-control:focus { border-color: var(--sw-violet); background: #fff; box-shadow: 0 0 0 4px rgba(102,87,232,.08); }
.auth-form .form-control.error { border-color: #d94461; }
.auth-form label.error { position: static; display: block; margin: 6px 0 0; color: #d94461; font-size: 9px; }
.auth-password-wrap { position: relative; }
.auth-password-wrap .form-control { padding-right: 50px; }
.auth-password-toggle { position: absolute; width: 38px; height: 38px; right: 8px; top: 8px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #999cad; background: transparent; font-size: 13px; cursor: pointer; }
.auth-password-toggle:hover { color: var(--sw-violet); background: #efedff; }
.auth-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 29px; }
.auth-submit { min-width: 155px; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 11px; color: #fff; background: var(--sw-violet); box-shadow: 0 12px 25px rgba(102,87,232,.22); font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.auth-submit:hover { color: #fff; background: var(--sw-violet-dark); transform: translateY(-1px); }
.auth-forgot { color: var(--sw-muted); font-size: 11px; font-weight: 600; }
.auth-forgot:hover { color: var(--sw-violet); }
.auth-trust { display: flex; align-items: center; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--sw-line); color: #9294a4; font-size: 9px; }
.auth-trust i { color: #279a83; }
.auth-mobile-logo { display: none; }
.auth-register .auth-form-card { padding-top: 24px; }
.auth-register .auth-form-card h2 { font-size: 38px; }
.auth-register .auth-form-card > p { margin-bottom: 24px; }
.auth-register .auth-form .form-group { margin-bottom: 15px; }
.auth-register .auth-form .form-control { height: 49px; }
.auth-register .auth-password-toggle { top: 6px; }
.auth-register .auth-form-actions { margin-top: 23px; }
.auth-register .auth-submit { width: 100%; }

@media (max-width: 1099px) {
    .auth-layout { grid-template-columns: minmax(390px, .85fr) minmax(500px, 1.15fr); }
    .auth-visual { padding-left: 40px; padding-right: 40px; }
    .auth-illustration { height: 280px; }
}

@media (max-width: 899px) {
    .auth-layout { display: block; }
    .auth-visual { display: none; }
    .auth-form-side { min-height: 100vh; padding: 26px 28px 40px; }
    .auth-mobile-logo { display: inline-flex; }
    .auth-form-top { justify-content: space-between; }
    .auth-form-card { max-width: 520px; padding-top: 65px; }
    .auth-register .auth-form-card { padding-top: 38px; }
}

@media (max-width: 520px) {
    .auth-form-side { padding: 22px 18px 32px; }
    .auth-form-top > span { display: none; }
    .auth-form-top a { margin-left: auto; }
    .auth-form-card { padding-top: 50px; }
    .auth-form-card h2 { font-size: 36px; }
    .auth-form-card > p { margin-bottom: 27px; }
    .auth-form-actions { align-items: stretch; flex-direction: column; }
    .auth-submit { width: 100%; }
    .auth-forgot { text-align: center; }
}
