/* Staff Forgot Password — shared by employee and admin (extends staff-login styles in style.css) */

.sf-aside-note {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(31, 210, 230, 0.15);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.sf-aside-note i {
	color: #1fd2e6;
	margin-right: 6px;
}

.sf-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.sf-step {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding-bottom: 8px;
	border-bottom: 3px solid #dce4ef;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #8a94a6;
}

.sf-step span {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	background: #e8edf5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}

.sf-step.is-active {
	color: #020e2a;
	border-color: #1fd2e6;
}

.sf-step.is-active span {
	background: #020e2a;
	color: #1fd2e6;
}

.sf-step.is-done {
	color: #1a9f5c;
	border-color: #1a9f5c;
}

.sf-step.is-done span {
	background: #1a9f5c;
	color: #fff;
}

.sf-panel[hidden] {
	display: none;
}

.sf-code {
	font-family: Montserrat, sans-serif;
	font-size: 18px !important;
	font-weight: 700;
	letter-spacing: 0.5em;
}

.sf-link {
	border: 0;
	background: none;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: #0aa8ba;
	cursor: pointer;
}

.sf-link:hover {
	color: #020e2a;
}

.sf-link:disabled {
	color: #9aa6b8;
	cursor: not-allowed;
}

.sf-link i {
	margin-right: 4px;
}

.sf-meter {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}

.sf-meter-bar {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: #e8edf5;
	overflow: hidden;
}

.sf-meter-fill {
	display: block;
	height: 100%;
	width: 0;
	transition: width 0.2s ease, background 0.2s ease;
}

.sf-meter-text {
	min-width: 44px;
	font-size: 11px;
	font-weight: 700;
	text-align: right;
}

.sf-rules {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 12px;
	list-style: none;
	margin: -4px 0 14px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #dce4ef;
	border-radius: 6px;
}

.sf-rules li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #6b7a90;
}

.sf-rules li i {
	width: 14px;
	text-align: center;
	color: #b8c3d3;
}

.sf-rules li.is-met,
.sf-rules li.is-met i {
	color: #1a9f5c;
}

.sf-match {
	display: block;
	min-height: 16px;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 700;
}

.sf-match.is-ok {
	color: #1a9f5c;
}

.sf-match.is-bad {
	color: #c0392b;
}

.staff-input input.is-invalid {
	border-color: #c0392b;
}

.staff-submit:disabled {
	background: #dce4ef !important;
	color: #8a94a6 !important;
	cursor: not-allowed;
}

.sf-done {
	text-align: center;
	padding: 10px 0;
}

.sf-done-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: rgba(26, 159, 92, 0.12);
	color: #1a9f5c;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.sf-done h2 {
	font-family: Montserrat, sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: #020e2a;
	margin: 0 0 6px;
}

.sf-done p {
	font-size: 14px;
	color: #555;
	margin: 0 0 18px;
}

.sf-done-btn {
	display: block;
	text-align: center;
}

.sf-done-btn:hover {
	text-decoration: none;
}

.sf-foot-link {
	margin: 16px 0 0;
	font-size: 13px;
	color: #6b7a90;
	text-align: center;
}

.sf-foot-link a {
	font-weight: 700;
	color: #0aa8ba;
}

.sf-foot-link a:hover {
	color: #020e2a;
}

@media (max-width: 575px) {
	.sf-step {
		font-size: 11px;
	}

	.sf-rules {
		grid-template-columns: 1fr;
	}
}
