/**
 * Login / register (front-end auth) - matches my-account shell tone.
 */

.fbr-auth-page {
	max-width: none;
	margin: 0;
	padding: clamp(0.75rem, 2.25vw, 1.5rem) 0 3rem;
	width: 100%;
	box-sizing: border-box;
	background: #f8fafc;
	min-height: 50vh;
}

.fbr-auth-page__inner {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.fbr-auth-card {
	width: 100%;
	max-width: 26rem;
	margin: 1.5rem auto 0;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.fbr-auth-card__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.fbr-auth-card__lead {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #475569;
}

.fbr-auth-card__notice {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.45;
}

.fbr-auth-card__notice--ok {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.fbr-auth-card__notice--err {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.fbr-auth-card__footer {
	margin: 1.25rem 0 0;
	font-size: 0.875rem;
	text-align: center;
	color: #64748b;
}

.fbr-auth-card__footer a {
	color: #0d9488;
	font-weight: 600;
	text-decoration: none;
}

.fbr-auth-card__footer a:hover,
.fbr-auth-card__footer a:focus-visible {
	text-decoration: underline;
}

.fbr-auth-card__sep {
	color: #94a3b8;
	font-weight: 400;
}

.fbr-auth-form__field {
	margin: 0 0 1rem;
}

.fbr-auth-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
}

.fbr-auth-form__field input[type="text"],
.fbr-auth-form__field input[type="email"],
.fbr-auth-form__field input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.75rem;
	font-size: 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
}

.fbr-auth-form__field input:focus {
	outline: none;
	border-color: #0d9488;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.fbr-auth-form__remember {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: #475569;
}

.fbr-auth-form__remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	cursor: pointer;
}

.fbr-auth-form__submit {
	margin: 0;
}

.fbr-auth-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.65rem 1rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #0d9488, #0f766e);
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

.fbr-auth-form__btn:hover,
.fbr-auth-form__btn:focus-visible {
	filter: brightness(1.05);
}

.fbr-auth-form__btn:focus-visible {
	outline: 2px solid #0f766e;
	outline-offset: 2px;
}
