/**
 * IELTS Pro — Auth styles.
 * Scoped under .ieltspro-auth. Self-contained (no framework, no dependency).
 */

.ieltspro-auth,
.ieltspro-auth * { box-sizing: border-box; }

.ieltspro-auth {
	--ip-navy: #0f2747;
	--ip-navy-700: #143358;
	--ip-bg: #eef2f9;
	--ip-card: #ffffff;
	--ip-border: #e2e8f0;
	--ip-text: #1e293b;
	--ip-muted: #64748b;
	--ip-accent: #2563eb;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ip-text);
	margin: 0;
	min-height: 100vh;
	font-size: 15px;
	line-height: 1.5;
}

.ieltspro-auth__shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 18px;
}

.ieltspro-auth__card {
	width: 100%;
	max-width: 420px;
	background: var(--ip-card);
	border: 1px solid var(--ip-border);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(15,39,71,0.12);
	padding: 32px;
}

.ieltspro-auth__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ip-navy);
	font-weight: 700;
	margin-bottom: 18px;
}

.ieltspro-auth__title { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--ip-navy); }
.ieltspro-auth__lead { color: var(--ip-muted); margin: 0 0 22px; }

.ieltspro-form { display: flex; flex-direction: column; gap: 14px; }

.ieltspro-label { display: block; font-size: 13px; font-weight: 600; color: var(--ip-text); }

.ieltspro-input {
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border: 1px solid var(--ip-border);
	border-radius: 10px;
	font-size: 15px;
	color: var(--ip-text);
	background: #fff;
}
.ieltspro-input:focus { outline: none; border-color: var(--ip-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

.ieltspro-input-wrap { position: relative; display: block; }
.ieltspro-input-wrap .ieltspro-input { padding-right: 44px; }
.ieltspro-reveal {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY( calc( -50% + 3px ) );
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ip-muted);
	padding: 6px;
	border-radius: 8px;
}
.ieltspro-reveal:hover { color: var(--ip-navy); background: var(--ip-bg); }

.ieltspro-form__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ieltspro-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ip-muted); font-weight: 500; }

.ieltspro-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
.ieltspro-btn--primary { background: var(--ip-navy); color: #fff; }
.ieltspro-btn--primary:hover { background: var(--ip-navy-700); color: #fff; }
.ieltspro-btn--ghost { background: #fff; border-color: var(--ip-border); color: var(--ip-text); }
.ieltspro-btn--block { width: 100%; }

.ieltspro-link { color: var(--ip-accent); text-decoration: none; font-weight: 600; }
.ieltspro-link:hover { text-decoration: underline; }

.ieltspro-auth__foot { margin: 18px 0 0; text-align: center; color: var(--ip-muted); font-size: 14px; }

.ieltspro-alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 8px; }
.ieltspro-alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.ieltspro-alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Honeypot: keep in DOM, hide from humans. */
.ieltspro-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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