/* NegociaLab auth screens -------------------------------------------------- */

:root {
    --nl-auth-ink: #17243d;
    --nl-auth-muted: #71809a;
    --nl-auth-line: #e7eaf0;
    --nl-auth-orange: #f97316;
    --nl-auth-orange-dark: #c2410c;
    --nl-auth-orange-soft: #fff3e8;
    --nl-auth-navy: #151b2d;
}

html,
body {
    min-height: 100%;
}

body.nl-auth-body {
    min-height: 100vh;
    margin: 0;
    background: #fffaf5;
    color: var(--nl-auth-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nl-auth-body *,
.nl-auth-body *::before,
.nl-auth-body *::after {
    box-sizing: border-box;
}

.nl-auth-body a {
    color: inherit;
    text-decoration: none;
}

.nl-auth-shell {
    display: grid;
    grid-template-columns: minmax(360px, .88fr) minmax(470px, 1.12fr);
    min-height: 100vh;
    overflow: hidden;
}

.nl-auth-aside {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 42px clamp(34px, 5vw, 80px) 35px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #19121a 0%, #7c2d12 57%, #d97706 100%);
}

.nl-auth-aside::before,
.nl-auth-aside::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.nl-auth-aside::before {
    top: -180px;
    right: -190px;
    width: 520px;
    height: 520px;
    background: rgba(251, 146, 60, .2);
    box-shadow: 0 0 0 70px rgba(251, 146, 60, .035), 0 0 0 140px rgba(251, 146, 60, .02);
}

.nl-auth-aside::after {
    bottom: -250px;
    left: -220px;
    width: 500px;
    height: 500px;
    background: rgba(245, 158, 11, .16);
}

.nl-auth-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.nl-auth-brand,
.nl-auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #fff;
}

.nl-auth-brand {
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 30px rgba(49, 18, 7, .2);
}

.nl-auth-logo {
    display: block;
    width: 260px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.nl-auth-brand-mark {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 13px 28px rgba(49, 18, 7, .28);
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.nl-auth-brand-copy strong,
.nl-auth-brand-copy small {
    display: block;
}

.nl-auth-brand-copy strong {
    font-size: 20px;
    line-height: 1;
    letter-spacing: -.045em;
}

.nl-auth-brand-copy small {
    margin-top: 5px;
    color: rgba(255, 247, 237, .7);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.nl-auth-aside-content {
    max-width: 520px;
    margin: auto 0;
    padding: 72px 0 70px;
}

.nl-auth-overline,
.nl-auth-card-eyebrow {
    margin: 0 0 15px;
    color: #fdba74;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nl-auth-aside h1 {
    max-width: 520px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(39px, 4vw, 61px);
    line-height: .98;
    letter-spacing: -.07em;
}

.nl-auth-aside h1 span {
    color: #fdba74;
}

.nl-auth-aside-description {
    max-width: 465px;
    margin: 0;
    color: rgba(255, 247, 237, .78);
    font-size: 16px;
    line-height: 1.7;
}

.nl-auth-benefits {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.nl-auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 247, 237, .88);
    font-size: 13px;
    font-weight: 700;
}

.nl-auth-benefits li span {
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    place-items: center;
    border-radius: 50%;
    background: rgba(251, 146, 60, .2);
    color: #fed7aa;
    font-size: 11px;
}

.nl-auth-aside-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 247, 237, .57);
    font-size: 11px;
    font-weight: 700;
}

.nl-auth-signal {
    display: flex;
    align-items: center;
    gap: 7px;
}

.nl-auth-signal b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 5px rgba(110, 231, 183, .12);
}

.nl-auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 40px clamp(28px, 7vw, 115px);
    background:
        radial-gradient(circle at 94% 7%, rgba(251, 146, 60, .11), transparent 24%),
        linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}

.nl-auth-mobile-brand {
    display: none;
    margin-bottom: 35px;
    color: var(--nl-auth-ink);
}

.nl-auth-mobile-brand .nl-auth-logo {
    width: 228px;
}

.nl-auth-mobile-brand .nl-auth-brand-mark {
    color: #fff;
}

.nl-auth-mobile-brand .nl-auth-brand-copy small {
    color: #8b96a8;
}

.nl-auth-card {
    width: min(100%, 525px);
    margin: 0 auto;
}

.nl-auth-card-head {
    margin-bottom: 25px;
}

.nl-auth-card-eyebrow {
    margin-bottom: 11px;
    color: var(--nl-auth-orange-dark);
}

.nl-auth-card h2 {
    margin: 0 0 10px;
    color: var(--nl-auth-ink);
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.03;
    letter-spacing: -.06em;
}

.nl-auth-card-head p {
    max-width: 430px;
    margin: 0;
    color: var(--nl-auth-muted);
    font-size: 15px;
    line-height: 1.6;
}

.nl-auth-form {
    margin-top: 25px;
}

.nl-auth-field {
    margin-bottom: 17px;
}

.nl-auth-field label {
    display: block;
    margin: 0 0 7px;
    color: #42516a;
    font-size: 12px;
    font-weight: 850;
}

.nl-auth-field .form-control,
.nl-auth-field input {
    display: block;
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, .94);
    color: var(--nl-auth-ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nl-auth-field .form-control::placeholder,
.nl-auth-field input::placeholder {
    color: #a0aabb;
}

.nl-auth-field .form-control:focus,
.nl-auth-field input:focus {
    border-color: #fb923c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}

.nl-auth-field .form-control[readonly] {
    background: #fff7ed;
    color: #9a3412;
}

.nl-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.nl-auth-form-grid .nl-auth-field-full {
    grid-column: 1 / -1;
}

.nl-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 53px;
    margin-top: 7px;
    padding: 13px 20px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 14px 28px rgba(234, 88, 12, .22);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.nl-auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(234, 88, 12, .3);
}

.nl-auth-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.nl-auth-submit span {
    margin-left: 9px;
    font-size: 18px;
    line-height: 0;
}

.nl-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 18px;
    color: #a0aabb;
    font-size: 11px;
    font-weight: 700;
}

.nl-auth-divider::before,
.nl-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--nl-auth-line);
}

.nl-auth-secondary {
    display: block;
    text-align: center;
    color: #73819a;
    font-size: 13px;
}

.nl-auth-secondary a,
.nl-auth-back {
    color: var(--nl-auth-orange-dark);
    font-weight: 900;
}

.nl-auth-secondary a:hover,
.nl-auth-back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nl-auth-back {
    display: block;
    margin: 30px auto 0;
    text-align: center;
    color: #8894a7;
    font-size: 12px;
}

.nl-auth-back span {
    margin-right: 5px;
    color: var(--nl-auth-orange);
}

.nl-auth-invite {
    margin: -7px 0 20px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 11px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.5;
}

.nl-auth-trial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 7px 11px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 11px;
    font-weight: 850;
}

.nl-auth-trial::before {
    content: "✦";
    color: #f97316;
}

.nl-auth-notice {
    margin: 0 0 18px;
}

.nl-auth-notice:empty {
    display: none;
}

.nl-auth-notice .alert,
.nl-auth-notice #noticeSP,
.nl-auth-notice > div {
    display: block;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #fed7aa;
    border-radius: 11px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.5;
}

.nl-auth-token-status {
    margin: 8px 0 12px;
    color: #5c6a80;
    font-size: 12px;
}

.nl-auth-hidden {
    display: none;
}

.nl-auth-body .preloader {
    background: #fffaf5;
}

@media (max-width: 900px) {
    .nl-auth-shell {
        display: block;
    }

    .nl-auth-aside {
        display: none;
    }

    .nl-auth-main {
        min-height: 100vh;
        padding: 32px 22px 38px;
    }

    .nl-auth-mobile-brand {
        display: inline-flex;
    }

    .nl-auth-mobile-brand .nl-auth-brand-copy strong {
        color: var(--nl-auth-ink);
    }
}

@media (max-width: 560px) {
    .nl-auth-main {
        padding: 25px 17px 32px;
    }

    .nl-auth-card {
        width: 100%;
    }

    .nl-auth-form-grid {
        display: block;
    }

    .nl-auth-card h2 {
        font-size: 35px;
    }
}
