/* NutriPlan AI — Auth pages */

/* ===== Premium primary button (brand-consistent: navy gradient + neon glow) ===== */
.np-auth-card .np-btn,
.np-auth-card .np-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; height: 52px; margin-top: 24px;
	border: none !important; border-radius: 14px;
	background: linear-gradient(135deg, #00012B 0%, #14144a 55%, #1c1450 100%) !important;
	color: #fff !important; font-size: 15.5px; font-weight: 600; letter-spacing: 0.2px;
	font-family: 'Sora', sans-serif; cursor: pointer; position: relative; overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 1, 43, 0.28), 0 0 18px rgba(0, 255, 135, 0.16);
	transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s ease, filter 0.18s ease;
}
/* Neon sweep on hover */
.np-auth-card .np-btn::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(0, 255, 135, 0.25) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform 0.55s ease;
}
.np-auth-card .np-btn:hover::after { transform: translateX(120%); }
.np-auth-card .np-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 1, 43, 0.32), 0 0 28px rgba(0, 255, 135, 0.38);
}
.np-auth-card .np-btn:active { transform: translateY(0); filter: brightness(0.96); }
.np-auth-card .np-btn:disabled { opacity: 0.55; pointer-events: none; box-shadow: none; }

/* Ghost / secondary button (auth pages) */
.np-auth-card .np-btn.np-btn-ghost {
	background: #fff !important; color: #00012B !important;
	border: 1.5px solid #E5E7EB !important; box-shadow: none; height: 46px;
}
.np-auth-card .np-btn.np-btn-ghost:hover {
	border-color: #00FF87 !important; box-shadow: 0 0 12px rgba(0, 255, 135, 0.25); transform: translateY(-1px);
}

/* ===== Step wizard (register 2-step flow) ===== */
.np-wiz-steps { display: flex; align-items: center; gap: 10px; margin: 2px 0 26px; }
.np-wiz-step {
	display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
	color: #9aa0ae; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.2s ease;
}
.np-wiz-dot {
	width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: #F0F0F0; color: #9aa0ae; font-size: 12px; font-weight: 700; transition: all 0.25s ease;
}
.np-wiz-step.active .np-wiz-dot { background: #00012B; color: #00FF87; box-shadow: 0 0 12px rgba(0, 255, 135, 0.4); }
.np-wiz-step.active { color: #00012B; }
.np-wiz-step.done .np-wiz-dot { background: rgba(0, 255, 135, 0.15); color: #00b25e; }
.np-wiz-line { flex: 1; height: 2px; background: #F0F0F0; border-radius: 2px; position: relative; overflow: hidden; }
.np-wiz-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00FF87, #00c46a); box-shadow: 0 0 8px rgba(0,255,135,0.5); transition: width 0.4s ease; }
.np-wiz-line.done i { width: 100%; }

.np-wiz-pane { display: none; }
.np-wiz-pane.on { display: block; animation: npPaneIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes npPaneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Plan picker (step 2) */
.np-auth-card .np-plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 8px; }
.np-auth-card .np-plan-opt {
	position: relative; border: 1.5px solid #F0F0F0; border-radius: 14px; padding: 16px 8px 14px; text-align: center;
	cursor: pointer; transition: all 0.2s ease; font-size: 12.5px; background: #FBFCFD;
	display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.np-auth-card .np-plan-opt strong { display: block; font-size: 14.5px; }
.np-auth-card .np-plan-opt .np-plan-sub { font-size: 11.5px; color: #6a7080; }
.np-auth-card .np-plan-opt:hover { border-color: #00FF87; box-shadow: 0 0 10px rgba(0, 255, 135, 0.3); transform: translateY(-1px); }
.np-auth-card .np-plan-opt.active { border-color: #00FF87; box-shadow: 0 0 14px rgba(0, 255, 135, 0.4); background: #f0fdf6; }
.np-auth-card .np-plan-opt.active::before {
	content: '✓'; position: absolute; top: -9px; right: -7px; width: 20px; height: 20px;
	background: #00FF87; color: #00012B; border-radius: 50%; font-size: 11px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(0, 255, 135, 0.55);
}
.np-auth-card .np-plan-opt.np-plan-free { border-style: dashed; }

/* Password show/hide + guide */
.np-auth-card .np-pass-wrap { position: relative; }
.np-auth-card .np-pass-wrap .np-input { padding-right: 46px; }
.np-auth-card .np-pass-toggle {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 34px; height: 34px; border: none; background: transparent; border-radius: 8px;
	cursor: pointer; font-size: 16px; transition: background .2s ease;
}
.np-auth-card .np-pass-toggle:hover { background: rgba(0,255,135,.12); }
.np-pass-guide { list-style: none; padding: 0; margin: 10px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.np-pass-guide li { font-size: 12.5px; color: #9aa0ae; transition: color .2s ease; }
.np-pass-guide li::before { content: '○ '; }
.np-pass-guide li.ok { color: #00b25e; }
.np-pass-guide li.ok::before { content: '● '; }

/* Forgot password link + pane */
.np-auth-forgot-row { text-align: right; margin-top: -8px; }
.np-auth-forgot-row a { font-size: 13px; color: #6C47FF; font-weight: 500; text-decoration: none; }
.np-auth-forgot-row a:hover { text-decoration: underline; }
.np-auth-alt { text-align: center; font-size: 14px; color: #6a7080; margin-top: 20px; }
.np-auth-alt a { color: #6C47FF; font-weight: 500; text-decoration: none; }
.np-auth-msg { border-left: 3px solid #EF4444; background: rgba(239,68,68,0.07); border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-bottom: 6px; }
.np-auth-msg.ok { border-left-color: #00FF87; background: rgba(0,255,135,0.08); }
.np-auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #6a7080; text-decoration: none; margin-bottom: 16px; transition: color 0.15s ease; }
.np-auth-back:hover { color: #00b25e; }
