:root {
    --auth-bg-1: #f7fbff;
    --auth-bg-2: #eef4f9;
    --auth-ink: #0f172a;
    --auth-muted: #64748b;
    --auth-line: rgba(148, 163, 184, 0.22);
    --auth-card: rgba(255, 255, 255, 0.88);
    --auth-card-strong: #ffffff;
    --auth-accent: #0f766e;
    --auth-accent-2: #0ea5e9;
    --auth-accent-soft: rgba(14, 165, 233, 0.12);
    --auth-shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
    --auth-mouse-x: 50%;
    --auth-mouse-y: 38%;
}

body.auth-page {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.20), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.18), transparent 32%),
        linear-gradient(180deg, var(--auth-bg-1) 0%, var(--auth-bg-2) 100%);
    color: var(--auth-ink);
    font-family: "DM Sans", sans-serif;
}

body.auth-page .nk-content,
body.auth-page .nk-main,
body.auth-page .nk-wrap {
    background: transparent;
}

body.auth-page .auth-shell {
    min-height: 100vh;
    padding: 28px 18px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.auth-page .auth-shell::before,
body.auth-page .auth-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(36px);
    pointer-events: none;
    opacity: 0.65;
    z-index: 0;
}

body.auth-page .auth-shell > * {
    position: relative;
    z-index: 1;
}

body.auth-page .auth-shell::before {
    width: 360px;
    height: 360px;
    left: var(--auth-mouse-x);
    top: var(--auth-mouse-y);
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle, rgba(14, 165, 233, 0.30) 0%, rgba(14, 165, 233, 0.14) 26%, transparent 68%);
}

body.auth-page .auth-shell::after {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: 20px;
    background: rgba(15, 118, 110, 0.12);
}

body.auth-page .auth-grid {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto;
    min-height: calc(100vh - 56px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    justify-items: center;
}

body.auth-page .auth-visual {
    display: none !important;
}

body.auth-page .auth-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(19, 34, 56, 0.08);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--auth-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.auth-page .auth-visual-title {
    margin: 18px 0 14px;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 700;
}

body.auth-page .auth-visual-copy {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--auth-muted);
    margin-bottom: 24px;
}

body.auth-page .auth-points {
    display: grid;
    gap: 12px;
    max-width: 520px;
}

body.auth-page .auth-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 15px;
    border: 1px solid rgba(19, 34, 56, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 32px rgba(18, 30, 46, 0.06);
}

body.auth-page .auth-point-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--auth-accent-soft);
    color: var(--auth-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

body.auth-page .auth-point h6 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-ink);
}

body.auth-page .auth-point p {
    margin: 0;
    color: var(--auth-muted);
    line-height: 1.65;
    font-size: 13px;
}

body.auth-page .auth-card {
    border: 1px solid rgba(19, 34, 56, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--auth-shadow);
    overflow: hidden;
}

body.auth-page .auth-card-inner {
    padding: 30px;
}

body.auth-page .auth-head .nk-block-title {
    font-family: "DM Sans", sans-serif;
    color: var(--auth-ink);
    font-size: 32px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

body.auth-page .auth-head .nk-block-des p {
    color: var(--auth-muted);
    line-height: 1.7;
    font-size: 14px;
}

body.auth-page .form-label,
body.auth-page .custom-control-label,
body.auth-page .form-note-s2,
body.auth-page .auth-link {
    color: var(--auth-ink);
}

body.auth-page .form-control {
    border-radius: 10px
}

body.auth-page .form-control:focus {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.auth-page .form-icon-right {
    right: 14px;
    color: var(--auth-muted);
}

body.auth-page .btn-primary {
    background: linear-gradient(135deg, #0f766e 0%, #0fac81 100%);
    border: none;
    border-radius: 16px;
    min-height: 54px;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
}

body.auth-page .btn-primary:hover,
body.auth-page .btn-primary:focus {
    background: linear-gradient(135deg, #0fac81 0%, #0f766e 100%);
}

body.auth-page .btn-light {
    border-radius: 16px;
    min-height: 54px;
    border: 1px solid rgba(19, 34, 56, 0.1);
    background: rgba(255, 255, 255, 0.76);
    color: var(--auth-ink);
}

body.auth-page .btn-light:hover,
body.auth-page .btn-light:focus {
    background: rgba(255, 255, 255, 0.95);
}

body.auth-page .form-note-s2 {
    color: var(--auth-muted);
}

body.auth-page .form-note-s2 a,
body.auth-page .link-primary {
    color: var(--auth-accent-2);
    font-weight: 700;
}

body.auth-page .error-banner,
body.auth-page .err {
    border-radius: 14px;
}

body.auth-page .auth-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(19, 34, 56, 0.12), transparent);
    margin: 22px 0 0 0;
}

body.auth-page .auth-subtle {
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.7;
}

body.auth-page .sub-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding: 10px 30px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(19, 34, 56, 0.08);
}

body.auth-page .sub-box .custom-control {
    margin: 0;
    padding-left: 1.4rem;
}

body.auth-page .sub-box .custom-control-label {
    font-weight: 700;
}

body.auth-page .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--auth-accent);
    background-color: var(--auth-accent);
}

body.auth-page .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

body.auth-page .custom-control-label::before {
    border-radius: 8px;
}

body.auth-page .custom-radio .custom-control-label::before {
    border-radius: 999px;
}

@media (max-width: 991px) {
    body.auth-page .auth-grid {
        grid-template-columns: 1fr;
    }

    body.auth-page .auth-visual {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.auth-page .auth-shell {
        padding: 12px;
    }

    body.auth-page .auth-card-inner {
        padding: 22px 18px;
    }

    body.auth-page .auth-head .nk-block-title {
        font-size: 28px;
    }
}

body.auth-page .nk-footer {
    background: transparent !important;
    border-top: 0 !important;
    box-shadow: none !important;
}

body.auth-page .nk-footer-wrap,
body.auth-page .nk-footer-copyright,
body.auth-page .nk-footer-links {
    background: transparent !important;
}

 body.dark-mode .auth-card{
    background: #141c26!important;
}