@charset "utf-8";

/* Default values for items that can be customized */
[data-tag*="styles:input"],
[data-tag*="styles:prominent_button"],
[data-tag*="styles:main_button"],
[data-tag*="styles:basic_button"] {
	--light-background-color: #fff;
	--light-text-color: #000;
	--light-border-color: transparent;

	--dark-background-color: var(--light-background-color);
	--dark-text-color: var(--light-text-color);
	--dark-border-color: var(--light-border-color);

	--light-disabled-background-color: var(--light-background-color);
	--light-disabled-opacity: 0.25;
	--dark-disabled-background-color: var(--light-disabled-background-color);
	--dark-disabled-opacity: var(--light-disabled-opacity);

	background-color: var(--light-background-color);
	color: var(--light-text-color);
	border: 0px solid var(--light-border-color);

}

body.nnl-dark-mode [data-tag*="styles:input"],
body.nnl-dark-mode [data-tag*="styles:prominent_button"],
body.nnl-dark-mode [data-tag*="styles:main_button"],
body.nnl-dark-mode [data-tag*="styles:basic_button"] {
	background-color: var(--dark-background-color);
	color: var(--dark-text-color);
	border-color: var(--dark-border-color);
}

[data-tag*="styles:prominent_button"][disabled],
[data-tag*="styles:main_button"][disabled],
[data-tag*="styles:basic_button"][disabled] {
    background-color: var(--light-disabled-background-color);
	opacity: var(--light-disabled-opacity);
}

body.nnl-dark-mode [data-tag*="styles:prominent_button"][disabled],
body.nnl-dark-mode [data-tag*="styles:main_button"][disabled],
body.nnl-dark-mode [data-tag*="styles:basic_button"][disabled] {
	background-color: var(--dark-disabled-background-color);
	opacity: var(--dark-disabled-opacity);
}

[data-tag*="styles:input"] {
	--light-background-color: #00000000;
	--light-text-color: #313940;
	--light-border-color: #D5D3D3;
	--dark-text-color: #ffffff;

	border-width: 2px;
	border-radius: 10px;
}

[data-tag*="styles:prominent_button"] {
	--light-background-color: #AF272F;
	--light-text-color: #FFFFFF;

	border-radius: 10px;
}

[data-tag*="styles:main_button"] {
	--light-background-color: #313940;
	--light-text-color: #FFFFFF;

	border-radius: 10px;
	text-align: center;
}

[data-tag*="styles:basic_button"] {
	--light-background-color: #ECECEC;
	--light-text-color: #313940;
	--dark-background-color: #BEBEBE;

	border-radius: 10px;
	text-align: center;
}

[data-tag*="styles:minor_button"],
[data-tag*="styles:minor_button"]:hover,
[data-tag*="styles:cancel_button"],
[data-tag*="styles:cancel_button"]:hover {
	color: var(--light-text-color);
	text-decoration-line: underline;
}

body.nnl-dark-mode [data-tag*="styles:minor_button"],
body.nnl-dark-mode [data-tag*="styles:cancel_button"] {
	color: var(--dark-text-color);
}

[data-tag*="styles:minor_button"] {
	--light-text-color: #313940;
	--dark-text-color: #AEB0B3;
}

[data-tag*="styles:cancel_button"] {
	--light-text-color: #AF272F;
	--dark-text-color: #D71418;
}

[data-tag*="styles:toggle"] {
	--light-thumb-enabled-color: #313940;
	--light-thumb-disabled-color: #656B70;
	--light-track-enabled-color: #00000000;
	--light-track-disabled-color: #00000000;
	--light-border-color: #313940;

	--dark-thumb-enabled-color: var(--light-thumb-enabled-color);
	--dark-thumb-disabled-color: var(--light-thumb-disabled-color);
	--dark-track-enabled-color: var(--light-track-enabled-color);
	--dark-track-disabled-color: var(--light-track-disabled-color);
	--dark-border-color: var(--light-border-color);

	--toggle-border-radius: 16px;
	--toggle-border-width: 1px;
}

[data-tag*="styles:view_background"],
[data-tag*="styles:dialog_background"],
[data-tag*="styles:row_background"] {
	background-color: var(--light-background-color);
}

body.nnl-dark-mode[data-tag*="styles:view_background"],
body.nnl-dark-mode [data-tag*="styles:view_background"],
body.nnl-dark-mode [data-tag*="styles:dialog_background"],
body.nnl-dark-mode [data-tag*="styles:row_background"] {
	background-color: var(--dark-background-color);
}

[data-tag*="styles:view_background"] {
	--light-background-color: #00000000;
	--dark-background-color: #00000000;
}

[data-tag*="styles:dialog_background"] {
	--light-background-color: #FFFFFF;
	--dark-background-color: #555555;
	border-radius: 10px;
}

[data-tag*="styles:row_background"] {
	--light-background-color: #FFFFFF;
	--dark-background-color: #999999;
	border-radius: 10px;
}

[data-tag*="styles:title"],
[data-tag*="styles:subtitle"],
[data-tag*="styles:heading"],
[data-tag*="styles:subheading"],
[data-tag*="styles:text"],
[data-tag*="styles:error_text"] {
	color: var(--light-text-color);
	--dark-text-color: var(--light-text-color);
}

body.nnl-dark-mode [data-tag*="styles:title"],
body.nnl-dark-mode [data-tag*="styles:subtitle"],
body.nnl-dark-mode [data-tag*="styles:heading"],
body.nnl-dark-mode [data-tag*="styles:subheading"],
body.nnl-dark-mode [data-tag*="styles:text"],
body.nnl-dark-mode [data-tag*="styles:error_text"] {
	color: var(--dark-text-color);
}

[data-tag*="styles:title"] {
	--light-text-color: #313940;
	--dark-text-color: #ffffff;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

[data-tag*="styles:subtitle"] {
	--light-text-color: #313940;
	--dark-text-color: #ffffff;
}

[data-tag*="styles:heading"] {
	--light-text-color: #827D7D;
	--dark-text-color: #ffffff60;
}

[data-tag*="styles:subheading"] {
	--light-text-color: #313940;
	--dark-text-color: #ffffff;
}

[data-tag*="styles:text"] {
	--light-text-color: #313940;
	--dark-text-color: #ffffff;
}

[data-tag*="styles:error_text"] {
	--light-text-color: #AF272F;
}

[data-tag*="level:progress_bar_view"] {
	--light-background-color: #000000CC;
	--dark-background-color: #FFFFFF;
}

[data-tag*="level:progress_bar_view"] [data-tag*="styles:progress_bar"] {
	--light-progress-color: #FFFFFF;
	--dark-progress-color: #000000CC;
	color: var(--light-progress-color);
}

body.nnl-dark-mode [data-tag*="level:progress_bar_view"] [data-tag*="styles:progress_bar"] {
	color: var(--dark-progress-color);
}

[data-tag*="level:progress_bar_view"] [data-tag*="styles:text"] {
	--light-text-color: #FFFFFF;
	--dark-text-color: #000000CC;
}

[data-tag*="level:message_bar_view"] {
	--light-background-color: #000000CC;
	--dark-background-color: #FFFFFF;
}

[data-tag*="level:message_bar_view"] [data-tag*="styles:text"] {
	--light-text-color: #FFFFFF;
	--dark-text-color: #000000CC;
}

[data-tag*="images:cancel_button"] {
	content: url('nnl_dialog_close.png');
	max-height: 1em;
}

[data-tag*="images:next_button"] {
	content: url('arrow-right.svg');
	max-height: 1.375em;
}

[data-tag*="images:passkey_icon"] {
	content: url('passkey-icon-inverse.png');
	max-height: 1.375em;
}

[data-tag*="images:back_button"] {
	content: url('sign-in-back.svg');
	max-height: 100%;
}

[data-tag*="images:add_reg_icon"] {
	content: url('nnl_plus_icon.svg');
	max-height: 100%;
}

[data-tag*="images:remove_reg_icon"] {
	content: url('nnl_remove_method_icon.svg');
	max-height: 100%;
}

/* overrides in specific views */
[data-tag*="level:user_name_view"] [data-tag*="styles:main_button"],
[data-tag*="level:methods_view"] [data-tag*="styles:main_button"],
[data-tag*="level:sign_up_view"] [data-tag*="styles:main_button"],
[data-tag*="level:provide_otp_view"] [data-tag*="styles:main_button"] {
	--light-background-color: #313940;
	--light-text-color: #ffffff;
	text-align: left;
}

[data-tag*="level:manage_regs_view"] [data-tag*="styles:heading"] {
	--light-text-color: #434343;
	--dark-text-color: #ffffff;
}

[data-tag*="level:remove_registration_view"] [data-tag*="styles:subtitle"] {
	--light-text-color: #AF272F;
	--dark-text-color: #ffffff;
}

[data-tag*="level:confirmation_view"] [data-tag*="styles:basic_button"] {
	--light-background-color: #ECECEC;
	--dark-background-color: #BEBEBE;
	--light-text-color: #313940;
	text-align: left;
}

[data-tag*="level:confirmation_view"] [data-tag*="images:cancel_button"] {
	content: url('cancel-x-icon.svg');
	max-height: 1.375em;
}

/* Default styles for all elements in the SDK views. */
[data-tag*="level:"] * {
	font-size: 1rem;
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
}

[data-tag*="level:"] input:placeholder-shown {
	text-overflow: ellipsis;
}


/* Popup dialog styles */
.nnl-dialog-wrapper {
	display: none;
	overflow-x: hidden;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1150;
	-ms-overflow-style: none;
	scrollbar-width: none; 
}
.nnl-dialog-wrapper::-webkit-scrollbar { 
    display: none;
}

/* if backdrop support: very transparent and blurred */
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .nnl-dialog-wrapper {
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }
}

.nnl-dialog-scroll {
	position: relative;
	top: 200px;
	left: 0;
	right: 0;
	z-index: 1151;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nnl-dialog-opened {
	overflow: hidden;
}

.nnl-dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    flex: 1 0 100%;
    z-index: 1150;
    padding: 20px 30px 30px;
}

.nnl-dialog .nnl-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
    margin-right: -10px;
}

.nnl-dialog .nnl-dialog-header .nnl-dialog-close {
	float: right;
	cursor: pointer;
    width: 15px;
    height: 15px;
    opacity: .5;
    margin-left: auto;
}

.nnl-dialog .nnl-dialog-header .nnl-dialog-close:hover {
	opacity: 1;
}

.nnl-dialog .nnl-dialog-body {
	text-align: center;
    margin-top: 12px;
}

.nnl-dialog .nnl-dialog-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 20px;
}

.nnl-dialog .nnl-dialog-body input,
.nnl-input,
.nnl-dialog .nnl-dialog-body select,
.nnl-select {
	display: block;
    padding: 5px 20px;
    font-weight: 400;
    line-height: 1.5;
    margin: 10px auto;
    box-sizing: border-box;
}

.nnl-dialog .nnl-dialog-body input {
    width: 100%;
    height: 50px;
    padding: 5px 20px;
}

.nnl-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
	padding: 10px 20px;
	margin: 15px auto 5px;
	box-shadow: none;
	min-width: 0;
}

.nnl-button .nnl-button-text {
	flex-grow: 1;
	text-align: inherit;
	font-size: inherit;
	min-width: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.nnl-button[disabled] {
    pointer-events: none;
}

.nnl-dialog .nnl-button {
	min-height: 45px;
}

.nnl-dialog-description {
   margin-top: 20px;
}

.nnl-dialog-title {
    font-size: 1.1rem;
    line-height: 28px;
    text-align: center;
    min-width: 0;
}

.nnl-dialog-body .nnl-dialog-title {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

#nnl-transaction-ui button {
	width: 100%;
	max-width: 255px;
	text-align: left;
}

.nnl-dialog .nnl-dialog-footer button {
    margin: 5px 10px;
}

.nnl-dialog-shadow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1140;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5;
}

#nnl-otp-ui-submit .nnl-otp-code-form .nnl-otp-verify {
    text-align: left;
    margin: 10px 0 30px;
    width: 100%;
    min-height: 57px;
}

.nnl-otp-confirm-data {
    margin-bottom: 10px;
    font-weight: bold;
}

#nnl-otp-ui-confirm .nnl-otp-confirm-button,
#nnl-otp-ui-submit .nnl-otp-resend {
	width: 100%;
	min-height: 52px;
}

#nnl-authentication-dialog .nnl-method-selection-list .nnl-button {
    min-height: 41px;
}

#nnl-authentication-dialog .nnl-sign-in-page-wrapper {
	padding: 0;
}

#nnl-authentication-dialog .nnl-dialog-body {
	margin: 0;
}

.nnl-method-selection-page,
.nnl-method-selection-page .nnl-button {
	text-align: left;
}

#nnl-authentication-dialog .nnl-dialog-footer {
    justify-content: right;
}

.nnl-dialog .nnl-dialog-footer .nnl-dialog-cancel {
    min-height: 41px;
    margin: 0;
}

.nnl-method-selection-page .nnl-reason-code-section {
    margin: 12px 0;
}

.nnl-method-selection-page .nnl-reason-confirm-button {
	text-align: center;
}

.nnl-method-selection-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#nnl-suggest-register-methods-ui .nnl-button {
    text-align: center;
}

.nnl-method-with-icon {
	display: flex;
	align-items: center;
	position: relative;
}

.nnl-method-with-icon img {
	max-height: 1.375em;
	margin-right: 10px;
}

.nnl-method-with-icon[data-text-align="center"] img {
	position: absolute;
}

.nnl-method-with-icon span {
	flex-grow: 1;
    text-align: inherit;
}

.nnl-sign-in-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
}

.nnl-page-title {
	line-height: 1.5em;
	text-align: left;
	min-width: 0;
	flex: 1 1 50%;
}

.nnl-page-title span {
	font-weight: bold;
	font-size: 1.250rem;	
}

.nnl-page-sub-title {
	margin: 1em 0 0 0;
    font-size: 1.125rem;
    text-align: left;
}

.nnl-sign-in-page-wrapper {
	position: relative;
	padding: 0 20px;
}

.nnl-method-selection-back {
	display: flex;
	position: absolute;
	left: 0;
	width: 20px;
	background: none;
	border: none;
	padding: 0;
	align-items: center;
	justify-content: start;
	cursor: pointer;
}

#nnl-authentication-dialog .nnl-method-selection-back {
	left: -20px;
}

.nnl-method-selection-list .nnl-button {
	width: 100%;
    min-height: 50px;
	margin-top: 0.25em;
}

.nnl-sign-up-button {
	margin: 0;
	min-width: 0;
	max-width: 50%;
}

.nnl-external-auth-form .nnl-input,
.nnl-sign-in-container .nnl-input,
.nnl-sign-in-container .nnl-button,
.nnl-external-auth-form .nnl-button {
	width: 100%;
    min-height: 54px;
    text-align: left;
}

.nnl-sign-in-container .nnl-oob-sign-in-button {
	width: auto;
	margin-top: 4em;
	text-align: center;
}

@media (max-width: 576px), (max-height: 665px) {
	.nnl-dialog-scroll {
		top: 0;
		min-height: 100%;
		padding: 10px;
	}
}

/* Progress animation */
#nnl-progress-wrapper {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99999;
}

#nnl-progress-background {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99998;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
}

#nnl-progress {
	display: flex;
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 4px;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#nnl-progress .nnl-progress-animation {
    border: 4px solid;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    -webkit-animation: nnl-progress-spin 2s linear infinite;
    animation: nnl-progress-spin 2s linear infinite;
}

#nnl-progress .nnl-progress-text {
    margin-left: 10px;
}

@-webkit-keyframes nnl-progress-spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes nnl-progress-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Toast message */
#nnl-toast {
	display: none;
}
.nnl-toast {
    position: fixed;
    bottom: 10%;
    right: 10%;
    left: 10%;
    padding: 10px;
    text-align: center;
    overflow-wrap: break-word;
    border-radius: 10px;
    z-index: 1180;
    opacity: 0;
    transition: opacity 0.2s linear;
}
.nnl-toast.nnl-toast-visible {
	transition: opacity 0.2s linear, margin-bottom 0.2s 0.1s ease-out;
}

/* Custom styles for OTP UI */
.nnl-otp-data-form {
	margin: 0 auto;
}

.nnl-otp-code-form {
	margin: 20px auto 10px;
}

.nnl-otp-error {
	text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.nnl-otp-hint-sms_email {
	font-size: 0.75rem;
}

/* Custom styles for OOB UI */
.nnl-oob-operation-title-reg,
.nnl-oob-operation-title-auth,
.nnl-oob-push-section,
.nnl-oob-qr-section,
.nnl-oob-qr-hint,
.nnl-oob-qr-hint-app,
.nnl-oob-qr-hint-web,
.nnl-oob-device-info,
.nnl-applink {
	display: none;
}

#nnl-oob-ui[data-op="reg"] .nnl-oob-operation-title-reg,
#nnl-oob-ui[data-op="auth"] .nnl-oob-operation-title-auth,
#nnl-oob-ui[data-mode="push"] .nnl-oob-push-section,
#nnl-oob-ui[data-mode="qr"] .nnl-oob-qr-section,
#nnl-oob-ui[data-mode="qr"] .nnl-oob-qr-hint,
#nnl-oob-ui[data-qr-mode="app"] .nnl-oob-qr-hint-app,
#nnl-oob-ui[data-qr-mode="web"] .nnl-oob-qr-hint-web,
#nnl-oob-ui[data-mode="info"] .nnl-oob-device-info,
#nnl-oob-ui[data-browser="mobile"] .nnl-applink {
	display: block;
}

.nnl-oob-push-section,
.nnl-oob-qr-hint,
.nnl-oob-expiry-text {
  font-size: 0.8rem;
}

.nnl-oob-device-info,
.nnl-oob-expiry-text{
    margin: 12px 0;
}

.nnl-oob-qr-section {
    margin: 0px -30px;
    max-width: unset;
}

.nnl-oob-qr-section img {
	margin:auto;
}

.nnl-applink {
	padding-bottom: 20px;
}

/* Registration UI */
.nnl-method {
    margin-bottom: 10px;
    padding: 20px;
    min-height: 76px;
	display: flex;
	flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.04);
}

.nnl-manage-regs-list .nnl-manage-reg-item {
    margin: 12px 0;
    padding: 20px;
    min-height: 76px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.04);
}

.nnl-pending-auths-list .nnl-pending-auth-item {
    margin: 12px 0;
    padding: 20px;
    box-shadow: 0 4px 6px rgb(0, 0, 0, 0.04);
}

.nnl-pending-auths-list .nnl-pending-auth-description {
	margin-bottom: 10px;
}

.nnl-manage-reg-item {
	display: flex;
	flex-direction: column;
    justify-content: center;
}

.nnl-registration {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	position: relative;
}

.nnl-dpk-list-wrapper {
	transition: height 0.3s;
	overflow: hidden;
}

.nnl-dpk-list .nnl-registration {
	margin: 10px 0 0 20px;
	border-top: 1px solid #dddd;
	padding-top: 10px;
}

.nnl-method-text {
	flex-grow: 1;
	text-align: left;
	word-break: break-word;
}

.nnl-method-icon {
	width: 1.75em;
	height: 1.75em;
	object-fit: contain;
}

.nnl-method-icon-darken {
	filter: brightness(0)
}

.nnl-method-buttons,
.nnl-registration-actions,
.nnl-pending-auth-actions {
	display: flex;
	gap: 10px;
}

.nnl-registration-actions {
	justify-content: flex-end;
	margin-left: auto;
	min-width: 0;
}

.nnl-method-add-del-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.nnl-method-add-del-buttons[disabled] {
	opacity: 0.25;
}

.nnl-method-add-del-buttons span {
	max-height: 100%;
}

.nnl-method-add-del-buttons:not([disabled]) span {
	cursor: pointer;
}

.nnl-expand-toggle {
	display: none;
	position: absolute;
	right: 0;
	top: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    padding: 0px;
}

.nnl-expand-toggle input {
	opacity: 0;
    width: 0;
    height: 0;
}

.nnl-expand-toggle span {
    position: absolute;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(nnl_buttons.png) no-repeat;
    background-position: -108px 0px;
    transition: transform 0.3s;
}

.nnl-expand-toggle input:checked + span {
	transform: rotate(180deg);
}

.nnl-parent-registration {
	padding: 28px 28px 0 0;
}

.nnl-parent-registration .nnl-registration-description {
	margin-top: -28px;
}

.nnl-parent-registration .nnl-registration-actions {
	margin-right: -28px;
}

.nnl-parent-registration .nnl-expand-toggle {
	display: block;
}

.nnl-manage-regs-title-section {
    margin: 30px 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.nnl-manage-regs-title {
    font-size: 1.5rem;
    min-width: 0;
}

#nnl-remove-all-registrations {
    min-height: 50px;
	margin: 0 0 0 auto;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Toggle switch */
.nnl-method-toggle {
	margin: 0px;
}

.nnl-method-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.nnl-method-toggle span {
	height: 20px;
	width: 36px;
	border-radius: var(--toggle-border-radius);
	border: var(--toggle-border-width) solid var(--light-border-color);
	box-sizing: content-box;
	background-color: var(--light-track-disabled-color);
	transition: .4s;
	cursor: pointer;
	position: relative;
	display: block;
}

.nnl-method-toggle span:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 2px;
	top: 2px;
	border-radius: inherit;
	background-color: var(--light-thumb-disabled-color);
	transition: .4s;
}

.nnl-method-toggle input:checked + span {
	background-color: var(--light-track-enabled-color);
}

.nnl-method-toggle input:checked + span:before {
	transform: translateX(16px);
	background-color: var(--light-thumb-enabled-color);
}

body.nnl-dark-mode .nnl-method-toggle span {
	border-color: var(--dark-border-color);
	background-color: var(--dark-track-disabled-color);
}

body.nnl-dark-mode .nnl-method-toggle span:before {
	background-color: var(--dark-thumb-disabled-color);
}

body.nnl-dark-mode .nnl-method-toggle input:checked + span {
	background-color: var(--dark-track-enabled-color);
}

body.nnl-dark-mode .nnl-method-toggle input:checked + span:before {
	background-color: var(--dark-thumb-enabled-color);
}

#nnl-suggest-register-methods-ui .nnl-method-selection-page {
    text-align: center;
}

#nnl-suggest-register-methods-ui .nnl-dialog-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nnl-never-ask-wrapper {
	text-align: center;
	margin: 10px 0;
}

.nnl-small-button {
    width: auto;
    margin: 0;
    font-size: 0.875rem;
    padding: 2px 12px;
}

.nnl-registration-used-time, 
.nnl-pending-auth-push-status,
.nnl-pending-auth-push-status-prefix,
.nnl-pending-auth-remaining-time-min-value,
.nnl-pending-auth-remaining-time-sec-value,
.nnl-pending-auth-remaining-time-min-text,
.nnl-pending-auth-remaining-time-sec-text,
.nnl-pending-auth-remaining-time-prefix {
    font-size: 0.7rem;
}

.nnl-registration-description {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}

.nnl-reg-rename-input {
	width: 100%;
    max-width: 22em;
    height: 47px;
}

#nnl-reg-remove-confirmation .nnl-remove-single-reg,
#nnl-reg-remove-confirmation[data-remove-all] .nnl-remove-all-regs {
	display: block;
}

#nnl-reg-remove-confirmation[data-remove-all] .nnl-remove-single-reg,
#nnl-reg-remove-confirmation .nnl-remove-all-regs {
	display: none;
}

#nnl-reg-remove-confirmation .nnl-remove-single-reg-name,
#nnl-method-remove-confirmation .nnl-remove-methods {
	display: block;
	font-weight: bold;
	margin: 20px 0;
}

#nnl-suggest-register-buttons {
	display: flex;
}

.nnl-sign-up-page-wrapper {
	width: 100%;
}

#nnl-sign-up-form-dialog .nnl-dialog-title,
#nnl-sign-up-confirmation-dialog .nnl-dialog-title {
	font-weight: bold;
	font-size: 1.3rem;
}

.nnl-sign-up-form .nnl-sign-up-form-section {
	text-align: left;
	margin: 15px 0;
}

.nnl-sign-up-form .nnl-sign-up-form-section:last-child {
	margin-bottom: 0;
}

.nnl-sign-up-form label {
	line-height: 1;
}

.nnl-dialog-body .nnl-sign-up-form input {
	width: 100%;
	margin: 0;
}

.nnl-sign-up-form button[type="submit"] {
    width: 100%;
    margin: 0;
    padding: 1em;
}

#nnl-sign-up-form-dialog button[type="submit"] {
	max-width: 250px;
}

.nnl-sign-up-form .nnl-sign-up-error {
    font-size: 0.875rem;
    margin: 0;
    padding: 0;
}
.nnl-sign-up-form .nnl-sign-up-error span {
    display: none;
}
.nnl-sign-up-form .nnl-sign-up-error-invalid .nnl-sign-up-error-invalid,
.nnl-sign-up-form .nnl-sign-up-error-required .nnl-sign-up-error-required,
.nnl-sign-up-form .nnl-sign-up-error-account-exists .nnl-sign-up-error-account-exists,
.nnl-sign-up-form .nnl-sign-up-error-connection .nnl-sign-up-error-connection,
.nnl-sign-up-form .nnl-sign-up-error-generic .nnl-sign-up-error-generic,
.nnl-sign-up-form .nnl-sign-up-error-custom .nnl-sign-up-error-custom{
	display: inline;
}

#nnl-sign-up-confirmation-dialog .nnl-sign-up-method {
	display: none;
}

#nnl-sign-up-confirmation-dialog .nnl-sign-up-photo-id-hint {
    font-size: 0.8rem;
    line-height: 1.5em;
    background: rgba(222, 223, 225, 0.25);
    border-radius: 10px;
    padding: 1em;
}

#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-passkey div.nnl-sign-up-method-passkey,
#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-security-key div.nnl-sign-up-method-security-key,
#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-photo-id div.nnl-sign-up-method-photo-id {
	display: block;
}

#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-passkey .nnl-button-text.nnl-sign-up-method-passkey,
#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-security-key .nnl-button-text.nnl-sign-up-method-security-key,
#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-photo-id .nnl-button-text.nnl-sign-up-method-photo-id {
	display: -webkit-box;
}

#nnl-sign-up-confirmation-dialog.nnl-sign-up-method-photo-id .nnl-dialog {
    max-width: 500px;
}

#nnl-session-remaining-time {
	font-size: 0.8rem;
}

input[type=text]:focus,
input[type=tel]:focus,
input[type='number']:focus,
input[type=checkbox]:focus,
input[type='password']:focus {
    outline-color: #e0e0e0;
}

@media (max-width: 576px) {
	.nnl-registration-actions,
	.nnl-pending-auth-actions {
		flex-wrap: wrap;
	}

	.nnl-dialog .nnl-dialog-footer button {
		margin: 5px;
	}
}

/* Fallback rules for Safari 14.1 and earlier that does not support flexbox gap */
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
	.nnl-button span:not(:last-child),
	.nnl-method > *:not(:last-child),
	.nnl-registration-description {
		margin-right: 10px;
	}
	.nnl-sign-up-button,
	.nnl-method-buttons,
	.nnl-method-delete,
	.nnl-reject-pending-auth {
		margin-left: 10px;
	}
	.nnl-registration-actions {
		margin: 0 -10px -10px auto;
	}
	.nnl-parent-registration .nnl-registration-actions {
	    margin-right: -38px;
	}
	.nnl-manage-regs-title,
	.nnl-registration-actions button {
		margin: 0 10px 10px 0;
	}
}