.nk-auth { --auth-green: #15553c; --auth-ink: #223b30; --auth-muted: #7a8880; --auth-line: #dfe7e1; margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--auth-ink); background: #fafbf9; font-size: 14px; }
.nk-auth * { box-sizing: border-box; }
.nk-login { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; padding: 16px; gap: 16px; }
.nk-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; padding: 36px 44px 28px; color: #fff; background: radial-gradient(ellipse at 0 100%, #3b715341, transparent 50%), #123c2e; }
.nk-brand::before { content: ''; width: 460px; height: 460px; border: 1px solid #ffffff06; border-radius: 50%; position: absolute; top: -250px; right: -230px; box-shadow: 0 0 0 60px #ffffff02, 0 0 0 120px #ffffff02; pointer-events: none; }
.nk-brand-logo { display: flex; gap: 13px; align-items: center; color: #fff; text-decoration: none; position: relative; }
.nk-brand-logo img { object-fit: contain; border-radius: 13px; padding: 5px; background: #fff; }
.nk-brand-logo strong { display: block; font-size: 18px; letter-spacing: -.4px; }
.nk-brand-logo small { display: block; font-size: 9px; letter-spacing: 1.2px; color: #bbcec2; margin-top: 6px; }
.nk-brand-content { margin: 50px 0 16px; position: relative; }
.nk-brand-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 1.65px; font-weight: 500; color: #b9d8c6; }
.nk-brand-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #c6ab71; }
.nk-brand h1 { font-size: clamp(32px, 3.2vw, 50px); font-weight: 500; letter-spacing: -1.9px; line-height: 1.24; margin: 22px 0 18px; }
.nk-brand h1 em { font-style: normal; color: #d6bb82; }
.nk-brand-content > p { font-size: 12px; line-height: 1.9; color: #b3cabc; max-width: 360px; margin: 0; }
.nk-brand-visual { height: 240px; margin: 32px 0 6px; position: relative; max-width: 470px; }
.nk-visual-orbit { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid #abcab51b; top: 25px; left: calc(50% - 90px); }
.orbit-two { width: 258px; height: 258px; top: -14px; left: calc(50% - 129px); border-style: dashed; border-color: #abcab50e; }
.nk-visual-center { position: absolute; top: 88px; left: calc(50% - 40px); width: 80px; height: 80px; background: #ffffff09; border: 1px solid #adcab92a; box-shadow: 0 0 0 8px #ffffff02; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border-radius: 20px; }
.nk-visual-center i { font-size: 24px; color: #d6bb82; }
.nk-visual-center span { font-size: 7px; letter-spacing: 1px; color: #c8d9ce; }
.nk-visual-module { display: flex; align-items: center; gap: 11px; position: absolute; width: 224px; background: #244f3e; border: 1px solid #5478616b; border-radius: 12px; padding: 14px; box-shadow: 0 10px 26px #00170e25; }
.nk-visual-module > span { height: 34px; width: 34px; border-radius: 9px; display: grid; place-items: center; background: #ffffff09; color: #c2d6c9; }
.nk-visual-module small { display: block; font-size: 6px; letter-spacing: 1.15px; color: #a6c2b0; margin-bottom: 6px; }
.nk-visual-module strong { display: block; font-weight: 500; font-size: 10px; color: #eff5f0; }
.nk-visual-module > i { font-size: 13px; margin-left: auto; color: #9dbea9; }
.module-one { top: 6px; left: 0; transform: rotate(-4deg); }
.module-two { top: 79px; right: -4px; transform: rotate(3deg); }
.module-three { bottom: 6px; left: 16px; transform: rotate(-2deg); }
.nk-brand-footer { display: flex; align-items: center; gap: 10px; }
.nk-brand-rule { width: 20px; height: 1px; background: #b4c9bc; }
.nk-brand-footer p { font-size: 8px; color: #9bb6a6; margin: 0; }
.nk-brand-footer > span:last-child { font-size: 7px; letter-spacing: 1px; color: #809d8c; margin-left: auto; }
.nk-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 34px 14px; }
.nk-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #8e9a92; font-size: 10px; }
.nk-auth-top > span:first-child { display: flex; gap: 6px; align-items: center; }
.nk-auth-top i { font-size: 9px; }
.nk-auth-top > span:last-child { font-size: 8px; letter-spacing: 1px; }
.nk-card { width: 100%; max-width: 374px; align-self: center; padding: 55px 0; }
.nk-mobile-brand { display: none; }
.nk-form-eyebrow { display: flex; align-items: center; gap: 8px; color: #678271; font-size: 9px; letter-spacing: 1.4px; font-weight: 600; margin-bottom: 17px; }
.nk-form-eyebrow::before { content: ''; width: 18px; height: 2px; background: #c6a668; }
.nk-card h2 { font-size: 31px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.25; margin: 0 0 12px; }
.nk-card .sub { color: #7a8880; font-size: 12px; line-height: 1.8; margin: 0 0 32px; max-width: 335px; }
.nk-field { margin-bottom: 20px; }
.nk-field > label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 9px; color: #385442; }
.nk-input { position: relative; }
.nk-input .ico { position: absolute; left: 15px; top: 17px; color: #92a096; font-size: 14px; pointer-events: none; }
.nk-input input { width: 100%; padding: 16px 44px; color: #223b30; font: inherit; font-size: 12px; background: white; border: 1px solid var(--auth-line); border-radius: 9px; outline: none; transition: border-color .15s, box-shadow .15s; }
.nk-input input::placeholder { color: #a1aaa4; }
.nk-input input:focus { border-color: #55a67e; box-shadow: 0 0 0 3px #29825a12; }
.nk-password-toggle { position: absolute; right: 6px; top: 7px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; cursor: pointer; color: #88998e; }
.nk-password-toggle:hover { background: #f1f6f2; color: #15553c; }
.nk-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 10px; margin: 0 0 27px; }
.nk-remember { display: flex; gap: 7px; align-items: center; color: #75887b; cursor: pointer; }
.nk-remember input { margin: 0; width: 14px; height: 14px; accent-color: #176746; }
.nk-link { color: #2a6547; text-decoration: none; font-weight: 600; }
.nk-link:hover { text-decoration: underline; }
.nk-btn { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; padding: 16px; background: #15553c; border: 1px solid #15553c; border-radius: 9px; color: white; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; box-shadow: 0 3px 5px #15553c10; transition: background .15s, transform .15s; }
.nk-btn:hover { background: #0e432e; }
.nk-btn:active { transform: translateY(1px); }
.nk-btn[disabled] { cursor: wait; opacity: .7; }
.nk-btn i { font-size: 12px; }
.nk-login-note { border-top: 1px solid #e7ede8; padding-top: 22px; margin: 30px 0 0; display: flex; align-items: flex-start; gap: 9px; color: #85968b; font-size: 10px; line-height: 1.8; }
.nk-login-note i { margin-top: 3px; font-size: 12px; }
.nk-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; color: #99a69c; line-height: 1.8; }
.nk-alert { font-size: 11px; line-height: 1.7; padding: 12px 14px; border-radius: 8px; margin: 0 0 18px; }
.nk-alert.error { background: #fff2f0; color: #a43e32; border: 1px solid #f5d8d3; }
.nk-alert.success { background: #eef7f0; color: #24633f; border: 1px solid #d4e8d9; }
.nk-errors { list-style: none; padding: 0; margin: 0 0 18px; }
.nk-errors:empty { display: none; }
.nk-errors li { color: #a43e32; background: #fff2f0; padding: 10px 12px; border-radius: 6px; font-size: 11px; margin-bottom: 8px; }
.ajaxLoading { display: none; font-size: 11px; color: #71857a; margin-bottom: 14px; }
.nk-caps-hint { font-size: 10px; color: #a27828; margin: 9px 0 0; }
.nk-auth :is(a, button, input):focus-visible { outline: 2px solid #55a67e; outline-offset: 3px; }
.nk-auth .nk-input input:focus-visible { outline: none; }
.nk-auth .form-control { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #dfe7e1; font: inherit; margin-bottom: 12px; }
.nk-auth .btn { display: inline-block; padding: 12px 18px; border: 0; border-radius: 8px; background: #15553c; color: white; cursor: pointer; font: inherit; }
@media (min-height: 820px) and (min-width: 901px) { .nk-brand { padding-top: 42px; padding-bottom: 34px; } .nk-brand-visual { height: 280px; margin-top: 55px; } .module-three { bottom: 30px; } }
@media (max-width: 1100px) { .nk-brand { padding: 28px; } .nk-panel { padding: 24px; } .nk-brand h1 { font-size: 36px; } .nk-visual-module { width: 190px; padding: 11px; gap: 8px; } .nk-visual-module strong { font-size: 9px; } .nk-visual-module > i { display: none; } }
@media (max-width: 900px) { .nk-login { display: flex; padding: 0; min-height: 100svh; } .nk-brand { display: none; } .nk-panel { flex: 1; padding: 24px 28px; } .nk-mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; } .nk-mobile-brand img { padding: 4px; background: white; border: 1px solid #dfe7e1; border-radius: 10px; object-fit: contain; } .nk-mobile-brand strong { font-size: 15px; letter-spacing: -.4px; } .nk-card { padding: 45px 0; max-width: 400px; } }
@media (max-width: 440px) { .nk-panel { padding: 24px; } .nk-card h2 { font-size: 29px; } .nk-foot { flex-direction: column; gap: 2px; } .nk-auth-top > span:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .nk-auth * { transition: none !important; } }
