/* ============================================================
   FAME RECRUITMENT — Login / Register Styles
   File: assets/css/login-register.css
   ============================================================ */
/* ── Wrapper ─────────────────────────────────────────────── */
.fame-auth-wrap {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 40px 16px 60px;
}

/* ── Card ────────────────────────────────────────────────── */
.fame-auth-card {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
	padding: 40px 44px 36px;
	width: 100%;
	max-width: 480px;
}

/* ── Title ───────────────────────────────────────────────── */
.fame-auth-title {
	font-size: 26px;
	font-weight: 700;
	color: #1e2d4d;
	text-align: center;
	margin: 0 0 24px;
	letter-spacing: -0.3px;
}

/* ── Form Groups ─────────────────────────────────────────── */
.fame-form-group {
	margin-bottom: 16px;
}

.fame-label {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 6px;
}

.fame-input {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	font-size: 14px;
	color: #1f2937;
	background: #fff;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.fame-input::placeholder {
	color: #b0b7c3;
}

.fame-input:focus {
	border-color: #2d4a7a;
	box-shadow: 0 0 0 3px rgba(45, 74, 122, 0.1);
}

/* ── Password wrapper ────────────────────────────────────── */
/* ── Password wrapper ────────────────────────────────────── */
.fame-input-wrap {
	position: relative;
}

.fame-input-wrap .fame-input {
	padding-right: 46px;
}

.fame-eye-btn {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #9ca3af;
	display: flex;
	align-items: center;
	line-height: 1;
}

.fame-eye-btn:hover {
	color: #2d4a7a;
}



/* ── Checkbox ────────────────────────────────────────────── */
.fame-checkbox-row {
	margin: 4px 0 20px;
}

.fame-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 3px;
	font-size: 13px;
	color: #4b5563;
	cursor: pointer;
	line-height: 1.5;
}

.fame-checkbox-label input[type="checkbox"] {
	display: none;
}

.fame-checkmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	min-width: 17px;
	border: 1.5px solid #d1d5db;
	border-radius: 4px;
	background: #fff;
	margin-top: 1px;
	transition: background 0.15s, border-color 0.15s;
}

.fame-checkbox-label input[type="checkbox"]:checked + .fame-checkmark {
	background: #2d4a7a;
	border-color: #2d4a7a;
}

.fame-checkbox-label input[type="checkbox"]:checked + .fame-checkmark::after {
	content: '';
	display: block;
	width: 5px;
	height: 9px;
	border: 2px solid #fff;
	border-top: none;
	border-left: none;
	transform: rotate(45deg) translateY(-1px);
}

.fame-checkbox-label a {
	color: #2d4a7a;
	text-decoration: none;
	font-weight: 500;
}

.fame-checkbox-label a:hover {
	text-decoration: underline;
}

/* ── Sign In options row ─────────────────────────────────── */
.fame-signin-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 4px 0 20px;
}

.fame-forgot-link {
	font-size: 13px;
	color: #2d4a7a;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

.fame-forgot-link:hover {
	text-decoration: underline;
}

/* ── Primary Button ──────────────────────────────────────── */
/* ── Primary Button ──────────────────────────────────────── */
.fame-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px;
	background: #2d4a7a;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
	gap: 8px;
	letter-spacing: 0.2px;
}

.fame-btn-primary:hover {
	background: #1e3560;
}

.fame-btn-primary:active {
	transform: scale(0.985);
}

.fame-btn-primary:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* loader spinner */
.fame-btn-loader {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: fame-spin 0.7s linear infinite;
}

@keyframes fame-spin {
	to { transform: rotate(360deg); }
}

/* ── Divider ─────────────────────────────────────────────── */
.fame-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #d1d5db;
	font-size: 13px;
}

.fame-divider::before,
.fame-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

.fame-divider span {
	color: #9ca3af;
	font-size: 13px;
}

/* ── Google Button ───────────────────────────────────────── */
.fame-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	color: #374151;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.fame-google-btn:hover {
	border-color: #c5c5c5;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	color: #374151;
	text-decoration: none;
}

/* ── Auth Switch Link ────────────────────────────────────── */
.fame-auth-switch {
	text-align: center;
	margin-top: 22px;
	font-size: 13.5px;
	color: #6b7280;
}

.fame-auth-switch a {
	color: #2d4a7a;
	font-weight: 600;
	text-decoration: none;
}

.fame-auth-switch a:hover {
	text-decoration: underline;
}

/* ── Messages ────────────────────────────────────────────── */
.fame-form-message {
	margin-bottom: 12px;
	font-size: 13.5px;
	padding: 0;
	border-radius: 8px;
	min-height: 0;
	transition: all 0.2s;
}

.fame-form-message.error {
	background: #fef2f2;
	color: #dc2626;
	padding: 10px 14px;
	border: 1px solid #fecaca;
}

.fame-form-message.success {
	background: #f0fdf4;
	color: #16a34a;
	padding: 10px 14px;
	border: 1px solid #bbf7d0;
}

/* ── Live Validation ─────────────────────────────────────── */
.fame-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.fame-input-valid {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
}

.fame-field-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 5px;
}
@keyframes onAutoFillStart { from {} to {} }

#fame-signin-form input:-webkit-autofill {
    animation-name: onAutoFillStart;
    animation-duration: 1ms;
}
/* ─── MFA Verification Page Custom Styles ─── */
.fame-auth-card p.fame-mfa-text {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}
.fame-auth-card p.fame-mfa-text strong {
    color: #1f2937;
}
.fame-mfa-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
    color: #4b5563;
}
.fame-mfa-resend-row a {
    color: #2f4f73;
    text-decoration: none;
    font-weight: 600;
}
.fame-mfa-resend-row a.disabled {
    color: #9ca3af;
    pointer-events: none;
    cursor: default;
}
.fame-mfa-cancel-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}
.fame-mfa-cancel-link:hover {
    text-decoration: underline;
}
