/* MAIN MODAL */
.nnfp-open-login{
	border: none;
    background: #586de8;
    color: #fff;
    padding: 4px 8px 4px 8px;
    border-radius: 25px;
}
.nnfp-open-login:hover{
    background: #3e53d2;
}
.nnfp-logout-link{
	border: none;
    background: #ff3333;
    color: #fff;
    padding: 8px 16px 8px 16px;
    border-radius: 50px;
}
.nnfp-logout-link:hover{
    color: #fff;
}
.nnfp-modal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
}
.nnfp-modal-inner {
	background: #fff;
	padding: 22px;
	width: 100%;
	max-width: 420px;
	border-radius: 8px;
	box-shadow: 0 6px 30px rgba(0,0,0,0.2);
	position: relative;
}
.nnfp-close {
    position: absolute;
    top: 1px;
    right: 0px;
    cursor: pointer;
    font-size: 22px;
    border: none;
    background: none;
}
.nnfp-title{
	color: #000;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 0;
}
.nnfp-input {
	width: 90%;
	padding: 10px;
	margin: 8px 0;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.nnfp-email,.nnfp-inline-email{
	padding: 8px!important;
    outline: none;
    margin: 0;
}
.nnfp-status{
	margin-top: 5px;
    font-size: 14px;
}
.nnfp-inline-status{
	margin-top: 5px;
    font-size: 14px;
}
.nnfp-regp-status{
	margin-top: 5px;
    font-size: 14px;
}
.nnfp-btn {
	padding: 10px 16px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	margin-top: 10px;
}
.nnfp-btn-primary {
	background: #21759b;
	color: #fff;
}
.nnfp-otp-boxes {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 10px;
}
.nnfp-otp-box {
	width: 44px;
	height: 44px;
	text-align: center;
	font-size: 20px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.nnfp-timer {
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
}
.nnfp-regp-timer{
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
}
.nnfp-inline-timer{
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
}
.nnfp-register-timer{
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
}
#nnfp-page-login{
	width: 50%;
    height: auto;
    margin: 0 auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    background: #fff;
    padding: 20px;
}
.nnfp-inline-verify-otp,.nnfp-inline-resend-otp{
    margin-top: 10px;
}
.nnfp-inline-status{
	text-align: center;
	margin-top: 5px;
}
.nnfp-register-status{
	margin-top: 5px;
    font-size: 14px;
}
.nnfp-inline-send-otp-container .nnfp-inline-status{
	text-align: left;
	margin-top: 5px;
}
.nnfp-txt-center{
	text-align: center;
}
.nnfp-verify-otp-containet{
	text-align: center;
}
.nnfp-inline-wrap{
	width: 50%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.nnfp-register-verify-otp-wrap{
	text-align: center;
}

.nnfp-inline-wrap input[type="text"],
.nnfp-inline-wrap input[type="email"],
.nnfp-inline-wrap input[type="number"],
.nnfp-inline-wrap input[type="password"],
.nnfp-inline-wrap input[type="url"],
.nnfp-inline-wrap input[type="tel"] {
	width: 100%;
    padding: 6px !important;
    margin: 8px 0px;
    outline: none;
}
.nnfp-registration-pop-wrap input[type="text"],
.nnfp-registration-pop-wrap input[type="email"],
.nnfp-registration-pop-wrap input[type="number"],
.nnfp-registration-pop-wrap input[type="password"],
.nnfp-registration-pop-wrap input[type="url"],
.nnfp-registration-pop-wrap input[type="tel"] {
	width: 100%;
    padding: 6px !important;
    margin: 8px 0px;
    outline: none;
}
.nnfp-regp-verify-otp-wrap{
	text-align: center;
}

.nnfp-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: nnfpSpin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes nnfpSpin {
    to { transform: rotate(360deg); }
}
.nnfp-required-field{
	margin-left: 4px;
}

.nnfp-modal {
    animation: nnfpFadeUp .35s ease;
}

@keyframes nnfpFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nnfp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nnfp-badge {
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 600;
}

.nnfp-title {
    margin: 12px 0 4px;
    font-size: 22px;
}

.nnfp-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

.nnfp-field {
    margin-bottom: 16px;
}

.nnfp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.nnfp-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.nnfp-footer {
    margin-top: 16px;
    text-align: center;
    color: #777;
}


/* =========================================================
   SWIFTWEAR INLINE EMAIL OTP LOGIN
   Applies only to the inline form rendered by [nnfp_login_form]
   ========================================================= */

#nnfp-page-login {
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#nnfp-page-login,
#nnfp-page-login * {
    box-sizing: border-box;
}

#nnfp-page-login .nnfp-inline-card {
    position: relative;
    width: 100%;
    padding: 38px 38px 32px;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
    text-align: left;
}

#nnfp-page-login .nnfp-inline-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf4ff;
    color: #2f6dcc;
}

#nnfp-page-login .nnfp-inline-card-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

#nnfp-page-login .nnfp-inline-card-icon-lock {
    background: #eef8f2;
    color: #238653;
}

#nnfp-page-login .nnfp-inline-card-title {
    margin: 0;
    color: #1d2433;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

#nnfp-page-login .nnfp-inline-card-subtitle {
    max-width: 410px;
    margin: 10px auto 28px;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
}

#nnfp-page-login .nnfp-inline-email-summary {
    display: inline-block;
    color: #344054;
    overflow-wrap: anywhere;
}

#nnfp-page-login .nnfp-inline-label {
    display: block;
    margin: 0 0 8px;
    color: #344054;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

#nnfp-page-login .nnfp-inline-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#nnfp-page-login .nnfp-inline-input-icon {
    position: absolute;
    left: 16px;
    z-index: 1;
    display: flex;
    color: #98a2b3;
    pointer-events: none;
}

#nnfp-page-login .nnfp-inline-input-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

#nnfp-page-login .nnfp-inline-email {
    width: 100% !important;
    min-height: 54px;
    margin: 0 !important;
    padding: 12px 16px 12px 48px !important;
    color: #1d2433;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

#nnfp-page-login .nnfp-inline-email::placeholder {
    color: #98a2b3;
}

#nnfp-page-login .nnfp-inline-email:hover {
    border-color: #98a2b3;
}

#nnfp-page-login .nnfp-inline-email:focus {
    border-color: #2f6dcc;
    box-shadow: 0 0 0 4px rgba(47, 109, 204, 0.12);
}

#nnfp-page-login .nnfp-btn {
    min-height: 52px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#nnfp-page-login .nnfp-inline-send-otp,
#nnfp-page-login .nnfp-inline-verify-otp {
    width: 100%;
    margin-top: 14px;
    color: #fff;
    background: #2f6dcc;
    border-color: #2f6dcc;
    box-shadow: 0 8px 18px rgba(47, 109, 204, 0.20);
}

#nnfp-page-login .nnfp-inline-send-otp:hover,
#nnfp-page-login .nnfp-inline-verify-otp:hover {
    color: #fff;
    background: #255bad;
    border-color: #255bad;
    transform: translateY(-1px);
}

#nnfp-page-login .nnfp-inline-send-otp:disabled,
#nnfp-page-login .nnfp-inline-verify-otp:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

#nnfp-page-login .nnfp-inline-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 0;
    color: #7a8394;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

#nnfp-page-login .nnfp-inline-status {
    min-height: 22px;
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

#nnfp-page-login .nnfp-inline-back {
    position: absolute;
    top: 18px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    border: 0;
    cursor: pointer;
}

#nnfp-page-login .nnfp-inline-back:hover {
    color: #2f6dcc;
}

#nnfp-page-login .nnfp-otp-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 390px;
    margin: 6px auto 0;
}

#nnfp-page-login .nnfp-otp-box {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0 !important;
    color: #1d2433;
    font-size: 23px;
    line-height: 58px;
    font-weight: 700;
    text-align: center;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#nnfp-page-login .nnfp-otp-box:focus {
    border-color: #2f6dcc;
    box-shadow: 0 0 0 4px rgba(47, 109, 204, 0.12);
    transform: translateY(-1px);
}

#nnfp-page-login .nnfp-inline-timer {
    min-height: 22px;
    margin: 14px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
}

#nnfp-page-login .nnfp-inline-action-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 390px;
    margin: 18px auto 0;
}

#nnfp-page-login .nnfp-inline-action-row .nnfp-btn {
    flex: 1 1 0;
}

#nnfp-page-login .nnfp-inline-action-row .nnfp-inline-verify-otp {
    margin-top: 0;
}

#nnfp-page-login .nnfp-inline-resend-otp {
    color: #344054;
    background: #f2f4f7;
    border-color: #eaecf0;
}

#nnfp-page-login .nnfp-inline-resend-otp:hover {
    color: #1d2433;
    background: #e9edf2;
    border-color: #d7dce3;
}

@media (max-width: 600px) {
    #nnfp-page-login {
        width: 100%;
    }

    #nnfp-page-login .nnfp-inline-card {
        padding: 32px 20px 26px;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(17, 24, 39, 0.10);
    }

    #nnfp-page-login .nnfp-inline-card-title {
        font-size: 23px;
    }

    #nnfp-page-login .nnfp-inline-card-subtitle {
        margin-bottom: 22px;
        font-size: 14px;
    }

    #nnfp-page-login .nnfp-otp-boxes {
        gap: 6px;
    }

    #nnfp-page-login .nnfp-otp-box {
        height: 50px;
        font-size: 20px;
        line-height: 50px;
        border-radius: 8px;
    }

    #nnfp-page-login .nnfp-inline-action-row {
        flex-direction: column;
    }

    #nnfp-page-login .nnfp-inline-back {
        top: 12px;
        left: 12px;
    }
}
