/* 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;
}

/* PepHub login page layout */
#nnfp-page-login {
    width: 416px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 24px auto 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Remove the Login title */
#nnfp-page-login .nnfp-title,
#nnfp-page-login h1,
#nnfp-page-login h2,
#nnfp-page-login h3,
#nnfp-page-login legend {
    display: none !important;
}

/* Remove labels if the script adds one */
#nnfp-page-login label {
    display: none !important;
}

/* Email input */
#nnfp-page-login input[type="email"],
#nnfp-page-login input[type="text"],
#nnfp-page-login .nnfp-input,
#nnfp-page-login .nnfp-email,
#nnfp-page-login .nnfp-inline-email {
    width: 100% !important;
    height: 56px !important;
    padding: 0 18px !important;
    margin: 0 0 14px 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 16px !important;
    background: #f4f4f4 !important;
    color: #111 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

#nnfp-page-login input::placeholder {
    color: #999 !important;
}

/* Button */
#nnfp-page-login button,
#nnfp-page-login input[type="submit"],
#nnfp-page-login .nnfp-btn,
#nnfp-page-login .nnfp-btn-primary {
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #8f8f8f !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

#nnfp-page-login button:hover,
#nnfp-page-login input[type="submit"]:hover,
#nnfp-page-login .nnfp-btn:hover,
#nnfp-page-login .nnfp-btn-primary:hover {
    background: #858585 !important;
}

#nnfp-page-login .nnfp-send-otp,
#nnfp-page-login .nnfp-inline-send-otp {
    font-size: 0 !important;
}

#nnfp-page-login .nnfp-send-otp::after,
#nnfp-page-login .nnfp-inline-send-otp::after {
    content: "Sign in or sign up";
    font-size: 16px !important;
}

.terms {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.terms a {
    color: #555;
    text-decoration: underline;
}

.terms a:hover {
    color: #111;
}