.mmc-member-portal-header {
	align-items: center;
	border-bottom: 1px solid var(--mmc-portal-line);
	display: flex;
	gap: 24px;
	justify-content: flex-start;
	padding: 0 0 24px;
}

.mmc-member-portal-header h1,
.mmc-member-portal-state h1 {
	color: var(--mmc-portal-navy);
	font-size: 36px;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0 0 12px;
}

.mmc-member-portal-eyebrow {
	color: var(--mmc-portal-teal);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.mmc-member-portal-photo,
.mmc-member-portal-photo-placeholder {
	background: #e8eef3;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px var(--mmc-portal-line);
	flex: 0 0 128px;
	height: 128px;
	object-fit: cover;
	width: 128px;
}

.mmc-member-portal-photo-placeholder {
	align-items: center;
	display: flex;
	justify-content: center;
}

.mmc-member-portal-logo {
	object-fit: contain;
}

.mmc-member-portal-photo-placeholder span {
	color: var(--mmc-portal-navy);
	font-size: 46px;
	font-weight: 700;
}

.mmc-member-portal-statuses {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mmc-member-portal-status {
	background: #f1f3f5;
	border-left: 3px solid #7b8794;
	color: #1f2933;
	font-size: 14px;
	font-weight: 600;
	padding: 5px 9px;
}

.mmc-member-portal-status-member-new {
	background: #e9f2ff;
	border-left-color: #2b6cb0;
}

.mmc-member-portal-status-member-active,
.mmc-member-portal-status-dues-paid {
	background: #e8f5ed;
	border-left-color: #24855a;
}

.mmc-member-portal-status-member-suspended,
.mmc-member-portal-status-dues-outstanding {
	background: #fff4d6;
	border-left-color: #d49b16;
}

.mmc-member-portal-status-member-withdrawn,
.mmc-member-portal-status-dues-none {
	background: #f1f3f5;
	border-left-color: #7b8794;
}

.mmc-member-portal-status-member-deleted,
.mmc-member-portal-status-dues-overdue {
	background: #fdecea;
	border-left-color: #c0392b;
}

.mmc-member-portal-status-dues-corporate,
.mmc-member-portal-status-dues-sponsored {
	background: #eaf1ff;
	border-left-color: #3468c0;
}

.mmc-member-portal-status-dues-exempt,
.mmc-member-portal-status-dues-waived {
	background: #edf2f7;
	border-left-color: #526d82;
}

.mmc-member-portal-tabs {
	border-bottom: 1px solid var(--mmc-portal-line);
	display: flex;
	margin: 0 0 28px;
}

.mmc-member-portal-tabs a {
	border-bottom: 3px solid transparent;
	color: var(--mmc-portal-navy);
	font-weight: 700;
	padding: 14px 18px 11px;
	text-decoration: none;
}

.mmc-member-portal-tabs a:hover,
.mmc-member-portal-tabs a:focus,
.mmc-member-portal-tabs a[aria-current="page"] {
	border-bottom-color: var(--mmc-portal-teal);
	color: var(--mmc-portal-teal);
}

.mmc-member-portal-summary {
	background: var(--mmc-portal-surface);
	border: 1px solid var(--mmc-portal-line);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 34px;
}

.mmc-member-portal-summary > div {
	border-right: 1px solid var(--mmc-portal-line);
	padding: 18px 20px;
}

.mmc-member-portal-summary > div:last-child {
	border-right: 0;
}

.mmc-member-portal-summary span,
.mmc-member-portal-summary strong {
	display: block;
}

.mmc-member-portal-summary span {
	color: var(--mmc-portal-muted);
	font-size: 13px;
	margin-bottom: 5px;
}

.mmc-member-portal-summary strong {
	color: var(--mmc-portal-navy);
	font-size: 17px;
}

.mmc-member-portal-section {
	border-top: 1px solid var(--mmc-portal-line);
	padding: 26px 0 10px;
}

.mmc-member-portal-section h2 {
	color: var(--mmc-portal-navy);
	font-size: 24px;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 20px;
}

.mmc-member-portal-details {
	display: grid;
	gap: 0 36px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.mmc-member-portal-details > div {
	border-bottom: 1px solid #e8ecef;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.4fr);
	padding: 13px 0;
}

.mmc-member-portal-details dt {
	color: var(--mmc-portal-muted);
	font-weight: 600;
}

.mmc-member-portal-details dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.mmc-member-portal-state {
	border-left: 4px solid var(--mmc-portal-teal);
	padding: 18px 0 18px 24px;
}

.mmc-member-portal-invoices {
	border-top: 0;
	padding-top: 0;
}

.mmc-member-portal-table-wrap {
	overflow-x: auto;
}

.mmc-member-portal-invoice-table {
	border-collapse: collapse;
	font-size: 14px;
	width: 100%;
}

.mmc-member-portal-invoice-table th,
.mmc-member-portal-invoice-table td {
	border-bottom: 1px solid var(--mmc-portal-line);
	padding: 13px 11px;
	text-align: left;
	vertical-align: middle;
}

.mmc-member-portal-invoice-table th {
	background: var(--mmc-portal-surface);
	color: var(--mmc-portal-navy);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.mmc-member-portal-invoice-table tbody tr:hover {
	background: #f8fbfc;
}

.mmc-member-portal-invoice-year {
	color: var(--mmc-portal-muted);
	display: block;
	font-size: 12px;
	margin-top: 2px;
}

.mmc-member-portal-invoice-status {
	align-items: center;
	color: #1f2933;
	display: inline-flex;
	font-weight: 600;
	gap: 7px;
	white-space: nowrap;
}

.mmc-member-portal-invoice-status > span {
	background: #7b8794;
	border-radius: 50%;
	height: 9px;
	width: 9px;
}

.mmc-member-portal-invoice-status-paid > span {
	background: #24855a;
}

.mmc-member-portal-invoice-status-pending > span {
	background: #d49b16;
}

.mmc-member-portal-invoice-status-overdue > span {
	background: #c0392b;
}

.mmc-member-portal-invoice-action {
	text-align: right !important;
}

.mmc-member-portal-invoice-action .fusion-button {
	align-items: center;
	display: inline-flex;
	gap: 7px;
	justify-content: center;
	white-space: nowrap;
}

.mmc-member-portal-invoice-action .fusion-button > i {
	line-height: 1;
}

.mmc-member-portal-empty {
	background: var(--mmc-portal-surface);
	border-left: 3px solid var(--mmc-portal-teal);
	margin: 0;
	padding: 16px 18px;
}

.mmc-member-portal-feedback {
	border-left: 4px solid #24855a;
	margin: 0 0 24px;
	padding: 13px 16px;
}

.mmc-member-portal-feedback-success {
	background: #edf8f1;
}

.mmc-member-portal-feedback-error {
	background: #fceeed;
	border-left-color: #c0392b;
}

.mmc-member-portal-settings-section:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.mmc-member-portal-form {
	max-width: 880px;
}

.mmc-member-portal-error-summary {
	background: #fceeed;
	border-left: 4px solid #c0392b;
	margin: 0 0 24px;
	padding: 16px 18px;
}

.mmc-member-portal-error-summary:focus {
	outline: 3px solid rgba(192, 57, 43, 0.28);
	outline-offset: 2px;
}

.mmc-member-portal-error-summary h2 {
	color: #7d241b;
	font-size: 18px;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.mmc-member-portal-error-summary ul {
	margin: 0;
	padding-left: 20px;
}

.mmc-member-portal-error-summary a {
	color: #7d241b;
	font-weight: 600;
}

.mmc-member-portal-form fieldset {
	border: 0;
	margin: 0 0 26px;
	padding: 0;
}

.mmc-member-portal-form legend {
	color: var(--mmc-portal-navy);
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 12px;
}

.mmc-member-portal-choice-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mmc-member-portal-choice {
	align-items: flex-start;
	border: 1px solid var(--mmc-portal-line);
	cursor: pointer;
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 14px;
}

.mmc-member-portal-choice:has(input:checked) {
	border-color: var(--mmc-portal-teal);
	box-shadow: inset 0 0 0 1px var(--mmc-portal-teal);
}

.mmc-member-portal-choice input {
	margin-top: 3px;
}

.mmc-member-portal-choice strong,
.mmc-member-portal-choice small {
	display: block;
}

.mmc-member-portal-choice small {
	color: var(--mmc-portal-muted);
	font-size: 12px;
	line-height: 1.4;
	margin-top: 3px;
}

.mmc-member-portal-checkbox {
	align-items: center;
	display: flex;
	gap: 9px;
	margin: 0 0 10px;
}

.mmc-member-portal-membership-description {
	background: var(--mmc-portal-surface);
	border-left: 3px solid var(--mmc-portal-teal);
	margin: 0 0 20px;
	padding: 13px 15px;
}

.mmc-member-portal-form > label {
	display: block;
	margin-bottom: 18px;
	max-width: 620px;
}

.mmc-member-portal-form > label > span {
	display: block;
	font-weight: 700;
	margin-bottom: 7px;
}

.mmc-member-portal-form > .mmc-member-portal-checkbox {
	align-items: center;
	display: flex;
	max-width: none;
}

.mmc-member-portal-form > .mmc-member-portal-checkbox > span {
	display: inline-block;
	margin: 0;
}

.mmc-member-portal-form > .mmc-member-portal-birthdate-confirmation {
	align-items: center;
	display: inline-flex;
	max-width: none;
}

.mmc-member-portal-form > .mmc-member-portal-birthdate-confirmation > input,
.mmc-member-portal-form > .mmc-member-portal-birthdate-confirmation > span {
	display: inline-block;
	margin: 0;
}

.mmc-member-portal-form select,
.mmc-member-portal-form textarea,
.mmc-member-portal-form input[type="text"],
.mmc-member-portal-form input[type="email"],
.mmc-member-portal-form input[type="url"],
.mmc-member-portal-form input[type="tel"],
.mmc-member-portal-form input[type="date"],
.mmc-member-portal-form input[type="file"] {
	border: 1px solid #aeb8c2;
	border-radius: 0;
	box-sizing: border-box;
	color: #1f2933;
	padding: 10px 12px;
	width: 100%;
}

.mmc-member-portal-form input[readonly] {
	background: #eef2f4;
	color: #52606d;
	cursor: not-allowed;
}

.mmc-member-portal-form input[type="url"] {
	height: var(--form_input_height, 44px);
}

.mmc-member-portal-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
}

.mmc-member-portal-form-grid > label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.mmc-member-portal-form-grid > label > span {
	font-weight: 700;
}

.mmc-member-portal-form-grid > label > small {
	color: #5d6670;
	font-size: 13px;
	line-height: 1.4;
}

.mmc-member-portal-form-grid > label.is-error {
	scroll-margin-top: 24px;
}

.mmc-member-portal-form-grid > label.is-error input,
.mmc-member-portal-form-grid > label.is-error select,
.mmc-member-portal-form-grid > label.is-error textarea {
	border-color: #c0392b;
	box-shadow: 0 0 0 1px #c0392b;
}

.mmc-member-portal-form-grid > label > .mmc-member-portal-field-error {
	color: #9f2f24;
	font-weight: 600;
}

.mmc-member-portal-field-wide {
	grid-column: 1 / -1;
}

.mmc-member-portal-profile-actions {
	display: flex;
	justify-content: flex-end;
	margin: 16px 0 0;
}

.mmc-member-portal-profile-actions .fusion-button,
.mmc-member-portal-form-actions .fusion-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mmc-member-portal-attachment-panels {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mmc-member-portal-attachment-panel {
	background: #fff;
	border: 1px solid var(--mmc-portal-line);
	border-left: 4px solid var(--mmc-portal-teal);
	border-radius: 4px;
	min-width: 0;
	padding: 18px;
}

.mmc-member-portal-attachment-panel > header {
	margin-bottom: 16px;
}

.mmc-member-portal-attachment-panel h3,
.mmc-member-portal-attachment-panel header p {
	margin: 0;
}

.mmc-member-portal-attachment-panel h3 {
	color: var(--mmc-portal-navy);
	font-size: 20px;
}

.mmc-member-portal-attachment-panel header p {
	color: var(--mmc-portal-muted);
	font-size: 14px;
	margin-top: 5px;
}

.mmc-member-portal-attachment-files {
	display: grid;
	gap: 12px;
}

.mmc-member-portal-attachment-file {
	align-items: center;
	border-top: 1px solid var(--mmc-portal-line);
	display: grid;
	gap: 12px;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	padding-top: 12px;
}

.mmc-member-portal-attachment-file:first-child {
	border-top: 0;
	padding-top: 0;
}

.mmc-member-portal-attachment-thumbnail {
	align-items: center;
	background: var(--mmc-portal-surface);
	border: 1px solid var(--mmc-portal-line);
	border-radius: 3px;
	display: flex;
	height: 72px;
	justify-content: center;
	overflow: hidden;
	width: 72px;
}

.mmc-member-portal-attachment-thumbnail img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mmc-member-portal-attachment-thumbnail > i {
	color: var(--mmc-portal-muted);
	font-size: 30px;
}

.mmc-member-portal-attachment-details {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mmc-member-portal-attachment-details a {
	font-weight: 700;
	overflow-wrap: anywhere;
}

.mmc-member-portal-attachment-details span {
	color: var(--mmc-portal-muted);
	font-size: 14px;
}

.mmc-member-portal-attachment-download {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	min-height: 38px;
	min-width: 42px;
	padding: 8px;
}

.mmc-member-portal-upload-form {
	background: #f3f7f8;
	border: 1px solid #ccd9dc;
	margin-top: 28px;
	padding: 20px;
}

.mmc-member-portal-upload-form h3 {
	font-size: 20px;
	margin: 0 0 18px;
}

.mmc-member-portal-upload-form.mmc-member-portal-type-upload {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

.mmc-member-portal-file-drop {
	border: 1px dashed #7c979d;
	padding: 12px;
	transition: background-color 150ms ease, border-color 150ms ease;
}

.mmc-member-portal-file-drop.is-dragging {
	background: #e3f3f5;
	border-color: #087d86;
}

.mmc-member-portal-request-actions,
.mmc-member-portal-modal-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mmc-member-portal-request-actions .fusion-button,
.mmc-member-portal-modal-actions .fusion-button {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
}

.mmc-member-portal-request-actions .fusion-button > i {
	line-height: 1;
}

.mmc-member-portal .mmc-member-portal-button-danger {
	background: #b42318;
	border-color: #b42318;
	color: #fff;
}

.mmc-member-portal .mmc-member-portal-button-danger:hover,
.mmc-member-portal .mmc-member-portal-button-danger:focus {
	background: #8f1c13;
	border-color: #8f1c13;
	color: #fff;
}

.mmc-member-portal-modal {
	background: #fff;
	border: 1px solid var(--mmc-portal-line);
	box-shadow: 0 16px 48px rgba(16, 42, 67, 0.22);
	box-sizing: border-box;
	color: #1f2933;
	max-height: calc(100vh - 48px);
	max-width: 640px;
	padding: 0;
	width: calc(100% - 32px);
}

.mmc-member-portal-modal::backdrop {
	background: rgba(16, 42, 67, 0.58);
}

.mmc-member-portal-modal-header {
	align-items: center;
	border-bottom: 1px solid var(--mmc-portal-line);
	display: flex;
	justify-content: space-between;
	padding: 18px 22px;
}

.mmc-member-portal-modal-header h3 {
	color: var(--mmc-portal-navy);
	font-size: 21px;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.mmc-member-portal-modal-close {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--mmc-portal-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 36px;
	justify-content: center;
	padding: 0;
	text-decoration: none;
	width: 36px;
}

.mmc-member-portal-modal-close:hover,
.mmc-member-portal-modal-close:focus,
.mmc-member-portal-modal-close:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--mmc-portal-navy);
	text-decoration: none;
}

.mmc-member-portal-modal-close:focus-visible {
	outline: 2px solid var(--mmc-portal-teal);
	outline-offset: 2px;
}

.mmc-member-portal-modal > .mmc-member-portal-form {
	box-sizing: border-box;
	max-width: none;
	padding: 22px;
}

.mmc-member-portal-modal-actions {
	border-top: 1px solid var(--mmc-portal-line);
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 18px;
}

.mmc-member-portal-form-actions {
	display: flex;
	justify-content: flex-end;
}

.mmc-member-portal-account-row {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1.5fr);
	margin-bottom: 18px;
	max-width: 620px;
}

.mmc-member-portal-account-row span {
	color: var(--mmc-portal-muted);
}

.mmc-corporate-affiliate-code-row {
	align-items: center;
	gap: 24px;
	grid-template-columns: minmax(215px, max-content) minmax(0, 1fr);
}

.mmc-corporate-affiliate-code {
	background: var(--mmc-portal-surface);
	border: 1px solid var(--mmc-portal-teal);
	border-radius: 4px;
	color: var(--mmc-portal-navy);
	display: inline-block;
	font-size: 1.08em;
	letter-spacing: 0.08em;
	padding: 8px 12px;
}

@media (max-width: 760px) {
	.mmc-member-portal-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.mmc-member-portal-header h1,
	.mmc-member-portal-state h1 {
		font-size: 30px;
	}

	.mmc-member-portal-summary,
	.mmc-member-portal-details,
	.mmc-member-portal-choice-grid,
	.mmc-member-portal-form-grid,
	.mmc-member-portal-attachment-panels {
		grid-template-columns: 1fr;
	}

	.mmc-member-portal-field-wide {
		grid-column: auto;
	}

	.mmc-corporate-affiliate-code-row {
		gap: 8px;
		grid-template-columns: 1fr;
	}

	.mmc-member-portal-tabs {
		overflow-x: auto;
	}

	.mmc-member-portal-tabs a {
		white-space: nowrap;
	}

	.mmc-member-portal-summary > div {
		border-bottom: 1px solid var(--mmc-portal-line);
		border-right: 0;
	}

	.mmc-member-portal-summary > div:last-child {
		border-bottom: 0;
	}

	.mmc-member-portal-invoice-table,
	.mmc-member-portal-invoice-table tbody,
	.mmc-member-portal-invoice-table tr,
	.mmc-member-portal-invoice-table td {
		display: block;
		width: 100%;
	}

	.mmc-member-portal-invoice-table thead {
		display: none;
	}

	.mmc-member-portal-invoice-table tr {
		border-bottom: 2px solid var(--mmc-portal-line);
		padding: 10px 0;
	}

	.mmc-member-portal-invoice-table td {
		border-bottom: 0;
		display: grid;
		gap: 16px;
		grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1.3fr);
		padding: 7px 4px;
	}

	.mmc-member-portal-invoice-table td::before {
		color: var(--mmc-portal-muted);
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
	}

	.mmc-member-portal-invoice-action {
		display: flex !important;
		justify-content: flex-end;
		padding-top: 12px !important;
	}

	.mmc-member-portal-invoice-action::before {
		display: none;
	}
}

@media (max-width: 460px) {
	.mmc-member-portal-attachment-file {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.mmc-member-portal-attachment-thumbnail {
		height: 56px;
		width: 56px;
	}

	.mmc-member-portal-attachment-download {
		grid-column: 2;
		justify-self: start;
	}

	.mmc-member-portal-details > div {
		gap: 4px;
		grid-template-columns: 1fr;
	}
}
