/*
 * Module: Profile — styles
 * Colors come only from the tokens in mcms-global.css.
 *
 * SECTIONS
 *   1. Page width
 *   2. Password section spacing
 *      (.mcms-check and the password field .mcms-pw moved to mcms-global.css,
 *       sections 18–19, because the login page uses them too.)
 *   3. Re-login message
 */

/* ==================================================================
   1. PAGE WIDTH — a form reads better narrower than a list.
   ================================================================== */
.mcms-profile .mcms-page {
	max-width: 560px;
}

/* ==================================================================
   2. PASSWORD SECTION
   ================================================================== */
.mcms-pw__section {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--mcms-line);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mcms-pw__fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ==================================================================
   3. RE-LOGIN MESSAGE (replaces the form after a password/username change)
   ================================================================== */
.mcms-relogin {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 40px 24px;
	text-align: center;
}

.mcms-relogin__title {
	font-size: var(--mcms-text-lg);
	font-weight: 800;
	color: var(--mcms-brand-strong);
}

.mcms-relogin__text {
	font-size: var(--mcms-text-md);
	color: var(--mcms-text-muted);
	margin-bottom: 8px;
}