/*!
 * Drilling Sentinel — Login Shield captcha + lockout styles.
 * Loaded on /wp-login.php and (because the modal lives in the theme footer)
 * on every front-end page that includes the Drilling Sentinel theme footer.
 * The whole stylesheet is scoped to .dsls-* / .dsls-captcha and never bleeds
 * into any other element.
 */

.dsls-captcha {
	margin: 14px 0 18px;
	padding: 12px 14px;
	background: rgba(46, 184, 212, 0.06);
	border: 1px solid rgba(46, 184, 212, 0.25);
	border-radius: 6px;
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dsls-captcha-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #2eb8d4;
	margin-bottom: 8px;
}

.dsls-captcha-image-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.dsls-captcha-image {
	display: block;
	border: 1px solid rgba(180, 200, 220, 0.45);
	border-radius: 4px;
	max-width: 240px;
	height: auto;
	background: #f5f7fa;
}

.dsls-captcha-refresh {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(180, 200, 220, 0.45);
	border-radius: 4px;
	background: #fff;
	color: #2eb8d4;
	font-size: 18px;
	cursor: pointer;
	padding: 0;
}
.dsls-captcha-refresh:hover {
	background: rgba(46, 184, 212, 0.08);
	border-color: rgba(46, 184, 212, 0.5);
}
.dsls-captcha-refresh:focus {
	outline: 2px solid rgba(46, 184, 212, 0.45);
	outline-offset: 1px;
}

.dsls-captcha-answer {
	width: 100%;
	box-sizing: border-box;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 16px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 10px 12px;
	border: 1px solid rgba(180, 200, 220, 0.55);
	border-radius: 4px;
	background: #fff;
	color: #0d1420;
}
.dsls-captcha-answer:focus {
	outline: none;
	border-color: #2eb8d4;
	box-shadow: 0 0 0 2px rgba(46, 184, 212, 0.25);
}

.dsls-captcha-hint {
	margin: 8px 0 0;
	font-size: 11.5px;
	color: #6b7d96;
}

.dsls-notice {
	margin: 14px 0;
	padding: 10px 12px;
	background: rgba(212, 96, 48, 0.08);
	border-left: 3px solid #d46030;
	color: #8a3c14;
	font-size: 13px;
	line-height: 1.45;
	border-radius: 2px;
}

.dsls-lock-banner {
	margin: 14px 0;
	padding: 14px 16px;
	background: rgba(190, 60, 60, 0.10);
	border: 1px solid rgba(190, 60, 60, 0.45);
	color: #5e1a1a;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.55;
}
.dsls-lock-banner strong {
	display: block;
	margin-bottom: 4px;
	color: #8a1818;
}

/* Slight shimmer-on-load for the captcha image — gives users the cue that
   it's a freshly generated challenge. */
@keyframes dslsFadeIn {
	from { opacity: 0; transform: translateY(2px); }
	to   { opacity: 1; transform: translateY(0); }
}
.dsls-captcha-image {
	animation: dslsFadeIn 220ms ease-out;
}
