#signInPanel.panel.content-wrapper {
    background-color: #176fa2;
    background-image: url(/ui/assets/Pexels_JanVanDerWolf.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#signInPanelContent.panel.content.nlco-sign-in-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 67px);
    min-height: calc(100dvh - 67px);
    padding: 24px 12px;
}

.nlco-sign-in-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1068px;
}

.nlco-form {
    position: relative;
    width: 100%;
    max-width: 512px;
    padding: 24px;
    border-radius: 24px;
    color: var(--toolbarText);
    background: var(--toolbarButtonBackground);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -10px 10px rgba(255, 255, 255, 0.08),
        0 6px 30px rgba(0, 0, 0, 0.1);
}

.nlco-form::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: var(--toolbarButtonBorderWidth);
    border-radius: inherit;
    pointer-events: none;
    background: var(--toolbarButtonBorder);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.nlco-input-block,
.nlco-input-group,
.nlco-input-wrapper {
    width: 100%;
}

.nlco-input-block,
.nlco-input-group,
.nlco-input-wrapper {
    display: flex;
    flex-direction: column;
}

.nlco-input-group,
.nlco-input-wrapper {
    gap: 6px;
}

.nlco-input-wrapper input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--primaryBorder);
    border-radius: 999px;
    outline: none;
    color: var(--primaryAccent);
    background: var(--toolbarButtonBackground);
    font: inherit;
    font-size: 14px;
    transition: var(--primaryInteraction);
}

.nlco-input-wrapper input::placeholder {
    color: var(--secondaryText);
    font-size: 12px;
}

.nlco-input-wrapper input:focus {
    padding: 20px 24px;
    color: var(--focusText);
    background: var(--sectionBackground);
    font-size: 16px;
}

.nlco-callout-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px 12px;
    border-bottom: 1px solid var(--primaryBorder);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.nlco-toggle-wrapper {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 32px;
}

.nlco-toggle-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    appearance: none;
    cursor: pointer;
    opacity: 0;
}

.nlco-toggle-control {
    position: relative;
    display: block;
    width: 52px;
    height: 32px;
    border: 1px solid var(--primaryBorder);
    border-radius: 999px;
    background: var(--sectionInsetBackground);
    transition:
        background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nlco-toggle-control::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sectionBackground);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nlco-toggle-input:checked + .nlco-toggle-control {
    border-color: var(--primaryConfirm);
    background: var(--primaryConfirm);
}

.nlco-toggle-input:checked + .nlco-toggle-control::after {
    transform: translateX(20px);
}

.nlco-toggle-input:focus-visible + .nlco-toggle-control {
    box-shadow: 0 0 0 3px var(--tintAccent);
}

.nlco-action-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
}

.nlco-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    margin-top: 12px;
    padding: 12px 32px;
    border: 0;
    border-radius: 25px;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.nlco-action-prefer {
    color: var(--tintAccent);
    background: var(--primaryAccent);
}

.nlco-action-prefer:hover {
    background: var(--focusAccent);
}

.nlco-action-fill {
    width: 100%;
}

.nlco-action:disabled {
    cursor: wait;
    opacity: 0.55;
}

.nlco-form-status {
    min-height: 18px;
    margin: 12px 18px 0;
    color: var(--primaryWarning);
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.nlco-form-status:empty {
    display: none;
}

.nlco-helper {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
    margin-top: 24px;
}

.nlco-link {
    color: var(--primaryAccent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nlco-link sup {
    font-size: 13px;
}

@media only screen and (max-width: 767px) {
    #signInPanelContent.panel.content.nlco-sign-in-content {
        align-items: flex-start;
        padding-top: max(24px, env(safe-area-inset-top));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .nlco-sign-in-shell {
        min-height: calc(100dvh - 115px);
    }

    .nlco-form {
        padding: 18px;
    }

    .nlco-action {
        min-width: 30px;
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nlco-toggle-control,
    .nlco-toggle-control::after {
        transition: none;
    }
}
