/* ============================================================
   BPS Account Security — bps-auth.css
   Reuses the theme's existing --ac-* auth-page tokens (see the
   child theme's account.css) so this never looks like a bolted-on
   plugin UI. Falls back to sane defaults if those vars are absent.
   ============================================================ */

/* ── Status banners (My Account page) ───────────────────────── */
.bps-as-notice {
	display: block;
	margin: 0 0 20px;
	padding: 12px 16px;
	border-radius: var(--ac-r, 10px);
	font-size: 13px;
	line-height: 1.6;
	border: 1px solid transparent;
}
.bps-as-notice--info {
	background: var(--ac-acc-s, rgba(239, 176, 125, .08));
	border-color: rgba(239, 176, 125, .3);
	color: var(--ac-t1, #f0ede8);
}
.bps-as-notice--success {
	background: rgba(74, 222, 128, .08);
	border-color: rgba(74, 222, 128, .3);
	color: var(--ac-ok, #4ade80);
}
.bps-as-notice--error {
	background: rgba(248, 113, 113, .08);
	border-color: rgba(248, 113, 113, .3);
	color: var(--ac-err, #f87171);
}
.bps-as-notice a,
.bps-as-notice button.bps-resend-trigger {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

/* ── Social sign-in buttons (replaces Nextend's .nsl-button) ───── */
.bps-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 48px;
	border-radius: var(--ac-r, 10px);
	border: 1.5px solid var(--ac-bd, #2e2b42);
	background: var(--ac-s2, #1a1826);
	color: var(--ac-t1, #f0ede8);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all .2s;
	cursor: pointer;
}
.bps-social-btn:hover {
	border-color: var(--ac-bdh, #403c5c);
	background: var(--ac-s3, #221f30);
	transform: translateY(-1px);
	color: var(--ac-t1, #f0ede8);
}
.bps-social-btn--google:hover  { border-color: rgba(66, 133, 244, .5); }
.bps-social-btn--discord:hover { border-color: rgba(88, 101, 242, .5); }
.bps-social-btn--github:hover  { border-color: rgba(255, 255, 255, .3); }
.bps-social-icon { display: flex; align-items: center; flex-shrink: 0; }

/* ── "Confirm your email to finish" mini form ───────────────── */
.bps-social-complete-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 20px;
	background: var(--ac-s1, #111018);
	border: 1px solid var(--ac-bd, #2e2b42);
	border-radius: var(--ac-rl, 16px);
}
.bps-social-complete-form label {
	font-size: 12px;
	font-weight: 600;
	color: var(--ac-t2, #9a8e7e);
	text-transform: uppercase;
	letter-spacing: .05em;
}
.bps-social-complete-form input[type="email"] {
	background: var(--ac-s2, #1a1826);
	border: 1.5px solid var(--ac-bd, #2e2b42);
	border-radius: var(--ac-r, 10px);
	color: var(--ac-t1, #f0ede8);
	font-size: 14px;
	padding: 12px 14px;
	font-family: inherit;
	outline: none;
}
.bps-social-complete-form input[type="email"]:focus {
	border-color: var(--ac-acc, #efb07d);
	box-shadow: 0 0 0 3px var(--ac-acc-g, rgba(239, 176, 125, .15));
}

/* ── Linked accounts (My Account → Account Details) ─────────── */
.bps-linked-accounts {
	border: 1px solid var(--ac-bd, #2e2b42);
	border-radius: var(--ac-rl, 16px);
	padding: 20px;
	margin: 0 0 24px;
}
.bps-linked-accounts legend {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--ac-t2, #9a8e7e);
	padding: 0 6px;
}
.bps-linked-list { display: flex; flex-direction: column; gap: 2px; }
.bps-linked-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 4px;
	border-bottom: 1px solid var(--ac-bd, #2e2b42);
}
.bps-linked-row:last-child { border-bottom: none; }
.bps-linked-icon { display: flex; flex-shrink: 0; }
.bps-linked-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--ac-t1, #f0ede8); }
.bps-linked-action {
	background: var(--ac-s2, #1a1826);
	border: 1px solid var(--ac-bd, #2e2b42);
	border-radius: 8px;
	color: var(--ac-t1, #f0ede8);
	font-size: 12px;
	font-weight: 600;
	padding: 7px 14px;
	cursor: pointer;
	text-decoration: none;
	transition: all .2s;
}
.bps-linked-action:hover { border-color: var(--ac-acc, #efb07d); color: var(--ac-acc, #efb07d); }
.bps-unlink-trigger:hover { border-color: var(--ac-err, #f87171); color: var(--ac-err, #f87171); }
