.login form {
    position: relative;
}

.lmn_magic_link_login {
    position: relative;
}

.lmn_magic_link_login_bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 9980;
}

.lmn_magic_link_login_bg.is-active {
    opacity: 1;
    pointer-events: auto;
}

.lmn_magic_link_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(420px, calc(100% - 32px));
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.18);
    padding: 36px 32px 32px;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.lmn_magic_link_modal.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.lmn_magic_link_dismiss {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 999px;
    width: 34px;
    height: 34px;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lmn_magic_link_dismiss:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #0f172a;
}

.lmn_magic_link_step {
    display: none;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.lmn_magic_link_step.is-active {
    display: flex;
}

.lmn_magic_link_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lmn_magic_link_badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lmn_magic_link_header h2 {
    font-size: 28px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
}

.lmn_magic_link_header p {
    margin: 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.lmn_magic_link_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lmn_magic_link_label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #1e293b;
}

.lmn_magic_link_label input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #cbd5f5;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lmn_magic_link_label input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.lmn_magic_link_feedback {
    display: none;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.lmn_magic_link_feedback[data-status] {
    display: block;
}

.lmn_magic_link_feedback[data-status="info"] {
    color: #2563eb;
}

.lmn_magic_link_feedback[data-status="error"] {
    color: #dc2626;
}

.lmn_magic_link_feedback[data-status="success"] {
    color: #16a34a;
}

.lmn_magic_link_label input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.lmn_magic_link_login_send_link {
    position: relative;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 52px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

.lmn_magic_link_login_send_link .lmn_btn_spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    animation: lmn_spin 0.8s linear infinite;
    display: none;
}

.lmn_magic_link_login_send_link.is-loading .lmn_btn_spinner {
    display: inline-flex;
}

.lmn_magic_link_login_send_link.is-loading .lmn_btn_label {
    opacity: 0.7;
}

.lmn_magic_link_secondary {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lmn_magic_link_secondary:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: #cbd5f5;
}

.lmn_magic_link_secondary.lmn_btn {
    box-shadow: none;
}

.lmn_magic_link_security {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px;
}

.lmn_magic_link_security svg {
    color: #2563eb;
}

.lmn_magic_link_success_icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    margin: 0 auto;
}

.lmn_magic_link_step[data-step="success"] {
    text-align: center;
    align-items: center;
}

.lmn_magic_link_step[data-step="success"] h2 {
    font-size: 26px;
    margin: 0;
    color: #0f172a;
}

.lmn_magic_link_step[data-step="success"] p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.lmn_magic_link_success_email {
    font-weight: 600;
    color: #1d4ed8;
}

.lmn_magic_link_actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.lmn_magic_link_actions .lmn_btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .lmn_magic_link_actions {
        flex-direction: row;
    }

    .lmn_magic_link_actions .lmn_btn,
    .lmn_magic_link_actions .lmn_magic_link_secondary {
        width: auto;
        flex: 1;
    }
}

body.lmn_modal_open {
    overflow: hidden;
}

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

.lmn_phone_otp_login {
    position: relative;
}

.lmn_phone_otp_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 24, 40, 0.65);
    backdrop-filter: blur(2px);
    z-index: 9980;
}

.lmn_phone_otp_overlay.is-active {
    display: block;
}

.lmn_phone_otp_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(420px, calc(100% - 32px));
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.2);
    padding: 32px 28px 28px;
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lmn_phone_otp_modal.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lmn_phone_otp_close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
}

.lmn_phone_otp_header {
    text-align: center;
    margin-bottom: 24px;
}

.lmn_phone_otp_header h2 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #0f172a;
}

.lmn_phone_otp_header p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

.lmn_phone_otp_body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lmn_phone_otp_step {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.lmn_phone_otp_step.is-active {
    display: flex;
}

.lmn_phone_otp_label {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    font-size: 14px;
    color: #1e293b;
}

.lmn_phone_otp_label input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5f5;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lmn_phone_otp_label input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.lmn_phone_otp_primary {
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-height: 52px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.lmn_phone_otp_code {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 360px;
}

.lmn_phone_otp_digit {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid #cbd5f5;
    border-radius: 10px;
    background: #f8fafc;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    width: 45px;
    height: 45px;
    flex: 0 0 32px;
    text-align: center;
    padding: 0;
}

.lmn_phone_otp_digit:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.lmn_phone_otp_digit.has-value {
    background: #e0ecff;
    border-color: #2563eb;
}

.lmn_phone_otp_hint {
    margin: 0;
    font-size: 15px;
    color: #475569;
    text-align: center;
}

.lmn_phone_otp_actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #475569;
}

.lmn_phone_otp_help {
    text-align: center;
}

.lmn_phone_otp_link {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    color: #2563eb;
    cursor: pointer;
    text-decoration: underline;
}

.lmn_phone_otp_link[disabled] {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

.lmn_phone_otp_timer {
    font-weight: 500;
    color: #0f172a;
}

.lmn_phone_otp_message {
    min-height: 20px;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.lmn_phone_otp_message.is-success {
    color: #16a34a;
}

.lmn_phone_otp_message.is-error {
    color: #dc2626;
}

.lmn_phone_otp_message.is-info {
    color: #1d4ed8;
}

@media (max-width: 480px) {
    .lmn_phone_otp_modal {
        padding: 24px 20px 20px;
    }

    .lmn_phone_otp_header h2 {
        font-size: 22px;
    }

    .lmn_phone_otp_code {
        gap: 8px;
        margin: 16px auto;
    }

    .lmn_phone_otp_digit {
        padding: 10px 0;
        height: 52px;
        flex-basis: 48px;
    }
}

.lmn_btn {
        border: 1px solid transparent;
        border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	/* padding: 10px 15px; */
	background-color: #1C73E7;
	color: #fff;
	cursor: pointer;
	min-height: 45px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.lmn_btn:hover, 
.lmn_btn:focus, 
.lmn_btn:active {
	opacity: 0.7;
	color: #fff;
}

.lmn_btn .svg-bg {
	border-radius: 50%;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px;
}

.lmn_btn.lmn_facebook_login_button {
	background-color: #4267B2;
}

.lmn_btn.lmn_magic_link_login_button,
.lmn_btn.lmn_phone_otp_trigger {
	background-color: #000000;
}

.lmn_btn.lmn_facebook_login_button .svg-bg,
.lmn_btn.lmn_magic_link_login_button .svg-bg  {
	background-color: transparent;
}

.lmn_btn span {
	margin-left: 8px;
	font-size: 14px;
    color: #fff;
}

.lmn_btn.button-disable {
	background: #ddd;
	cursor: not-allowed;
}

#wp-login-login-me-now-buttons {
	display: flex;
	flex-direction:
	column;gap: 8px;
}

.directorist-registration-wrapper #wp-login-login-me-now-buttons {
	margin-bottom: 10px;
}

#lmn-redirect-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    background-color: RGBA(0, 0, 0, .32);;
}

#lmn-redirect-overlay-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
}

#lmn-redirect-overlay-spinner {
    content: '';
    display: block;
    margin: 20px;
    border: 9px solid RGBA(0, 0, 0, .6);
    border-top: 9px solid #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px RGBA(0, 0, 0, .6), 0 0 0 1px RGBA(0, 0, 0, .6);
    width: 40px;
    height: 40px;
    animation: lmn-loader-spin 2s linear infinite;
}

@keyframes lmn-loader-spin {
    0% {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}

#lmn-redirect-overlay-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #3C434A;
}

#lmn-redirect-overlay-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    text-align: center;
    font-size: 14px;
    color: #3C434A;
}

/* Redirect END*/