/* Blocksy account modal — email-only signup styles */

.ct-register-form .ctch-pass-meter-wrap {
	display: block;
	margin-top: 8px;
}

.ct-register-form .ctch-pass-bars {
	display: flex;
	gap: 4px;
}

.ct-register-form .ctch-pass-bar {
	height: 5px;
	flex: 1 1 0;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.12);
	transition: background-color 0.2s ease;
}

.ct-register-form .ctch-pass-bar.is-on.ctch-weak {
	background: #e02b2b;
}
.ct-register-form .ctch-pass-bar.is-on.ctch-fair {
	background: #f59e0b; /* orange */
}
.ct-register-form .ctch-pass-bar.is-on.ctch-good {
	background: #3aa75a; /* green */
}
.ct-register-form .ctch-pass-bar.is-on.ctch-strong {
	background: #1e7e34; /* strong green */
}

.ct-register-form .ctch-pass-text {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	line-height: 1.4;
}
.ct-register-form .ctch-pass-text.ctch-weak {
	color: #e02b2b;
}
.ct-register-form .ctch-pass-text.ctch-fair {
	color: #d97706;
}
.ct-register-form .ctch-pass-text.ctch-good {
	color: #3aa75a;
}
.ct-register-form .ctch-pass-text.ctch-strong {
	color: #1e7e34;
}

.ct-register-form .ctch-pass-reqs {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 1.6;
}
.ct-register-form .ctch-pass-reqs li {
	position: relative;
	padding-left: 20px;
	color: #6b7280;
}
.ct-register-form .ctch-pass-reqs li::before {
	content: "\25CB"; /* ○ */
	position: absolute;
	left: 0;
	color: #9ca3af;
}
.ct-register-form .ctch-pass-reqs li.is-met {
	color: #3aa75a;
}
.ct-register-form .ctch-pass-reqs li.is-met::before {
	content: "\2713"; /* ✓ */
	color: #3aa75a;
}

.ct-register-form .ctch-pass-match {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
}
.ct-register-form .ctch-pass-match.is-ok {
	color: #3aa75a;
}
.ct-register-form .ctch-pass-match.is-bad {
	color: #e02b2b;
}

.ct-register-form .ctch-form-error {
	display: none;
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	background: rgba(224, 43, 43, 0.08);
	color: #b91c1c;
	font-size: 13px;
}
.ct-register-form .ctch-form-error ul {
	margin: 0;
	padding-left: 18px;
}

/* ---------------------------------------------------------------------------
 * Login tab — "Remember Me" checkbox.
 * Theme renders it appearance:none with a white border on a white background,
 * so it is invisible. Force a visible grey border when unchecked; keep the
 * theme's accent fill when checked.
 * ------------------------------------------------------------------------- */
.ct-account-modal .login-remember input[type="checkbox"]#rememberme {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	min-width: 16px;
	border: 1px solid #9ca3af !important; /* grey */
	border-radius: 3px;
	background-color: #fff;
	cursor: pointer;
}

.ct-account-modal .login-remember input[type="checkbox"]#rememberme:hover {
	border-color: #6b7280 !important; /* darker grey on hover */
}

.ct-account-modal .login-remember input[type="checkbox"]#rememberme:checked {
	border-color: var(--theme-form-selection-field-active-color, #2563eb) !important;
	background-color: var(--theme-form-selection-field-active-color, #2563eb);
}

/* ---------------------------------------------------------------------------
 * Tutor LMS course card — hide the bottom instructor row.
 * Tutor's loop/meta.php template renders the avatar, "By <author>" and
 * "In <category>" as a single `.tutor-meta.tutor-mt-auto` block. We hide it
 * as a whole so we don't leave dangling "By" / "In" text behind.
 * Scope is intentionally tight: only matches the bottom meta INSIDE a
 * `.tutor-course-card .tutor-card-body`, so single-course pages and the
 * archive header are untouched.
 * ------------------------------------------------------------------------- */
.tutor-course-card .tutor-card-body > .tutor-meta.tutor-mt-auto {
	display: none !important;
}
