/**
 * Lost Password widget.
 *
 * The DEFAULT look lives here, not in control defaults: every colour/style
 * control in lost-password.php defaults to '' so a per-instance value can
 * override this stylesheet without ever being permanently outspecified.
 */

.ractro-lostpassword {
	width: 100%;
}

.ractro-lostpassword__box {
	width: 100%;
	box-sizing: border-box;
}

.ractro-lostpassword__preview-note {
	margin: 0 0 16px;
	padding: 6px 12px;
	display: inline-block;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ractro-lostpassword__intro {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(15, 23, 42, 0.65);
}

.ractro-lostpassword__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ractro-lostpassword__field {
	margin: 0;
}

.ractro-lostpassword__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.ractro-lostpassword__field input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ractro-lostpassword__field input:focus {
	outline: none;
	border-color: var(--ractro-lostpassword-accent, #1d4ed8);
}

.ractro-lostpassword__field--inline {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}

.ractro-lostpassword__lostpass {
	font-size: 13px;
	color: #1d4ed8;
	text-decoration: none;
}

.ractro-lostpassword__lostpass:hover {
	text-decoration: underline;
}

.ractro-lostpassword__submit {
	margin: 0;
}

.ractro-lostpassword__button {
	display: inline-block;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: var(--ractro-lostpassword-accent, #0f172a);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ractro-lostpassword__button:hover {
	background: #1e293b;
	color: #fff;
}

.ractro-lostpassword__button[disabled] {
	opacity: 0.65;
	cursor: default;
}

.ractro-lostpassword-notice {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
}

.ractro-lostpassword-notice:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.ractro-lostpassword-notice--error {
	background: rgba(220, 38, 38, 0.08);
	color: #b91c1c;
}

.ractro-lostpassword-notice--success {
	background: rgba(22, 163, 74, 0.08);
	color: #15803d;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.ractro-lostpassword-notice--success:empty {
	display: none;
}

.ractro-lostpassword__logout {
	color: #15803d;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.ractro-lostpassword__logout:hover {
	text-decoration: underline;
}
