/**
 * Sermon Exchange PMPro-page button styles.
 *
 * Loaded ONLY on the PMPro front-end login page and the PMPro
 * member pages (account and member profile edit; see
 * SE_Access::is_pmpro_login_page() and is_pmpro_member_page()).
 * Family identity: navy #1F3864, gold #c9a227 used sparingly,
 * Helvetica. All selectors are scoped under .se-login-exit and
 * .se-member- classes so theme and PMPro styles for other content
 * are untouched.
 *
 * Positioning: the buttons sit in a flex row prepended to the page
 * content, above the form. An in-flow row (rather than absolute
 * positioning against the theme/PMPro markup, whose containers vary)
 * keeps the buttons visible at every viewport width, including
 * mobile, and can never overlap the page title or the form fields.
 */

.se-login-exit-row {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 0.75rem;
}

.se-login-exit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 2rem;
	line-height: 1;
	color: #1f3864;
	background: #ffffff;
	border: 1px solid #bfbfbf;
	border-radius: 0;
	text-decoration: none;
}

.se-login-exit:hover {
	color: #1f3864;
	background: #f2f2f2;
	border-color: #1f3864;
	text-decoration: none;
}

.se-login-exit:focus-visible {
	outline: 2px solid #1f3864;
	outline-offset: 2px;
}

/* Member action buttons (0.4.1): My Dashboard + the same exit,
   right-aligned at the top of the PMPro account and member
   profile edit pages. */

.se-member-actions {
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
}

.se-member-dash {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1rem;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 700;
	color: #ffffff;
	background: #1f3864;
	border: 1px solid #1f3864;
	text-decoration: none;
}

.se-member-dash:hover {
	color: #ffffff;
	background: #16294a;
	text-decoration: none;
}

.se-member-dash:focus-visible {
	outline: 2px solid #1f3864;
	outline-offset: 2px;
}

/* My Memberships type sizes (0.4.2): PMPro's account-page
   membership section runs large (its font-x-large / font-large
   classes). Tom asked for smaller type (2026-11-17). Scoped to
   the membership section of the account page only; the My
   Account profile card above it keeps PMPro's sizes. */

#pmpro_account-membership .pmpro_section_title {
	font-size: 1.35rem;
}

#pmpro_account-membership .pmpro_card_title {
	font-size: 1.1rem;
}

#pmpro_account-membership .pmpro_card_content {
	font-size: 0.925rem;
}

#pmpro_account-membership .pmpro_card_actions {
	font-size: 0.925rem;
}
