/* Membership profile, and the already-active Saturday notice. Scoped so the lesson player is unchanged. */

body.pmpro-member-profile-edit {
	--pmpro--color--accent: #00A759;
	--pmpro--color--contrast: #333931;
	--pmpro--color--base: #ffffff;
	--pmpro--color--border: #d5dddc;
}

body.pmpro-member-profile-edit .main-content {
	background: #F3F5F5;
	padding: 2rem 1rem 3rem;
}

body.pmpro-member-profile-edit .pmpro {
	max-width: 46rem;
	margin: 0 auto;
	color: #333931;
	font-family: "Sora", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

body.pmpro-member-profile-edit .pmpro h2,
body.pmpro-member-profile-edit .pmpro .pmpro_form_heading,
body.pmpro-member-profile-edit .mbp-profile-learner > legend {
	color: #0E2A46;
	font-family: "Epilogue", sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
}

body.pmpro-member-profile-edit .pmpro .pmpro_card {
	background: #fff;
	border: 1px solid #e2e8e6;
	border-radius: 12px;
	box-shadow: none;
}

body.pmpro-member-profile-edit .pmpro .pmpro_card_content {
	padding: 1.25rem 1.25rem 1.5rem;
}

body.pmpro-member-profile-edit .pmpro .pmpro_form_label,
body.pmpro-member-profile-edit .mbp-learner-fields > p > label,
body.pmpro-member-profile-edit .mbp-learner-fields fieldset > p > label {
	color: #0E2A46;
	display: block;
	font-family: "Sora", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
}

body.pmpro-member-profile-edit .pmpro .pmpro_form_input,
body.pmpro-member-profile-edit .mbp-learner-fields input[type="text"],
body.pmpro-member-profile-edit .mbp-learner-fields input[type="tel"],
body.pmpro-member-profile-edit .mbp-learner-fields input[type="email"],
body.pmpro-member-profile-edit .mbp-learner-fields select,
body.pmpro-member-profile-edit .mbp-learner-fields textarea {
	background: #fff;
	border: 1px solid #cfd6d5;
	border-radius: 8px;
	box-sizing: border-box;
	color: #333931;
	font-family: "Sora", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	width: 100%;
}

body.pmpro-member-profile-edit .pmpro .pmpro_form_input:focus,
body.pmpro-member-profile-edit .mbp-learner-fields input:focus,
body.pmpro-member-profile-edit .mbp-learner-fields select:focus,
body.pmpro-member-profile-edit .mbp-learner-fields textarea:focus {
	border-color: #00A759;
	box-shadow: 0 0 0 3px rgba(0, 167, 89, 0.2);
	outline: none;
}

body.pmpro-member-profile-edit .mbp-learner-fields p {
	margin: 0 0 1rem;
}

body.pmpro-member-profile-edit .mbp-profile-learner {
	border: 0;
	margin: 1.5rem 0 0;
	padding: 0;
}

body.pmpro-member-profile-edit .mbp-profile-learner > legend {
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
	padding: 0;
}

body.pmpro-member-profile-edit .mbp-profile-note {
	color: #333931;
	margin: 0 0 1rem;
}

body.pmpro-member-profile-edit .mbp-learner-fields fieldset {
	border: 1px solid #e2e8e6;
	border-radius: 8px;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem 1rem;
}

body.pmpro-member-profile-edit .mbp-learner-fields fieldset > legend {
	color: #0E2A46;
	font-family: "Epilogue", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	padding: 0 0.25rem;
}

body.pmpro-member-profile-edit .mbp-learner-fields fieldset > label {
	align-items: flex-start;
	color: #333931;
	display: flex;
	font-weight: 400;
	gap: 0.55rem;
	margin: 0.4rem 0;
	min-height: 1.75rem;
}

body.pmpro-member-profile-edit .mbp-learner-fields input[type="checkbox"],
body.pmpro-member-profile-edit .mbp-learner-fields input[type="radio"] {
	accent-color: #00A759;
	flex: 0 0 auto;
	height: 1.1rem;
	margin-top: 0.15rem;
	width: 1.1rem;
}

body.pmpro-member-profile-edit .mbp-learner-fields img {
	border-radius: 8px;
	display: block;
	height: 120px;
	margin: 0 0 0.5rem;
	object-fit: cover;
	width: 120px;
}

body.pmpro-member-profile-edit .mbp-learner-fields input[type="file"] {
	font-family: "Sora", sans-serif;
	font-size: 16px;
	max-width: 100%;
}

body.pmpro-member-profile-edit .pmpro .pmpro_message {
	border-radius: 8px;
	font-family: "Sora", sans-serif;
}

body.pmpro-member-profile-edit .pmpro .pmpro_btn {
	background: #00A759;
	border: 1px solid #00A759;
	border-radius: 3px;
	color: #fff;
	font-family: "Sora", sans-serif;
	font-size: 16px;
	font-weight: 500;
	padding: 14px 24px;
}

body.pmpro-member-profile-edit .pmpro .pmpro_btn:hover,
body.pmpro-member-profile-edit .pmpro .pmpro_btn:focus {
	background: #0E2A46;
	border-color: #0E2A46;
	color: #fff;
}

body.pmpro-member-profile-edit .pmpro .pmpro_btn-cancel {
	background: transparent;
	border-color: #0E2A46;
	color: #0E2A46;
}

body.pmpro-member-profile-edit .pmpro .pmpro_btn-cancel:hover,
body.pmpro-member-profile-edit .pmpro .pmpro_btn-cancel:focus {
	background: #0E2A46;
	color: #fff;
}

body.pmpro-member-profile-edit .pmpro .pmpro_form_submit {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.mbp-saturday-already {
	color: #333931;
	font-family: "Sora", sans-serif;
	margin: 1.5rem auto;
	max-width: 40rem;
}

.mbp-saturday-already h2 {
	color: #0E2A46;
	font-family: "Epilogue", sans-serif;
}

.mbp-saturday-already a.pmpro_btn {
	background: #00A759;
	border: 1px solid #00A759;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-family: "Sora", sans-serif;
	font-weight: 500;
	padding: 14px 24px;
	text-decoration: none;
}

.mbp-saturday-already a.pmpro_btn:hover,
.mbp-saturday-already a.pmpro_btn:focus {
	background: #0E2A46;
	border-color: #0E2A46;
	color: #fff;
}

@media (max-width: 700px) {
	body.pmpro-member-profile-edit .main-content {
		padding: 1rem 0.75rem 2rem;
	}

	body.pmpro-member-profile-edit .pmpro .pmpro_cols-2 {
		flex-direction: column;
	}

	body.pmpro-member-profile-edit .pmpro .pmpro_cols-2 > * {
		width: 100%;
	}

	body.pmpro-member-profile-edit .pmpro .pmpro_form_submit {
		flex-direction: column;
	}

	body.pmpro-member-profile-edit .pmpro .pmpro_btn,
	.mbp-saturday-already a.pmpro_btn {
		box-sizing: border-box;
		text-align: center;
		width: 100%;
	}

	body.pmpro-member-profile-edit .pmpro .pmpro_card_content {
		padding: 1rem;
	}
}
