/**
 * Profiles — user vs admin zones (wp-admin profile screens + front-end [prf_profile]).
 */

.prf-profile-zone {
	margin: 1.25em 0;
	padding: 1em 1.25em;
	border-radius: 4px;
	box-sizing: border-box;
}

.prf-profile-zone h2 {
	margin-top: 0;
}

.prf-profile-zone--user {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
}

.prf-profile-zone--admin {
	background: #e8ecf0;
	border: 3px solid #1d2327;
}

/* Front-end shortcode */
.prf-profile-front-wrap {
	width: calc(100% - 20px);
	max-width: 100%;
	margin-left: 10px;
	margin-right: 10px;
	box-sizing: border-box;
}

.prf-profile-front-wrap .prf-profile-zone--user {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
}

/* [prf_profile] / [prf_profile_form] section fragments (.prf-profile-section--*) */
.prf-profile-front-form .prf-profile-section {
	margin: 1.25em 0 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

.prf-profile-front-form .prf-profile-section:first-of-type {
	margin-top: 0.75em;
}

.prf-profile-front-form .prf-profile-section__title {
	margin: 0 0 0.5em;
	font-size: 1.1em;
	font-weight: 600;
}

.prf-profile-front-form .prf-profile-section__body > p:last-child {
	margin-bottom: 0;
}

.prf-profile-front-wrap .prf-profile-zone--admin {
	background: #e8ecf0;
	border: 3px solid #1d2327;
}

.prf-profile-saved-notice {
	padding: 0.5em 0.75em;
	margin-bottom: 1em;
	background: #edfaef;
	border: 1px solid #00a32a;
	border-radius: 4px;
}

.prf-profile-login-prompt a {
	text-decoration: underline;
}

/* Hide duplicate core fields when Profiles replaces them (body classes from PRF_Profile_Admin). */
body.profile-php.prf-hide-core-display-name .user-display-name-wrap,
body.user-edit-php.prf-hide-core-display-name .user-display-name-wrap {
	display: none !important;
}

body.profile-php.prf-hide-core-bio .user-description-wrap,
body.user-edit-php.prf-hide-core-bio .user-description-wrap {
	display: none !important;
}

body.profile-php.prf-hide-core-email .user-email-wrap,
body.user-edit-php.prf-hide-core-email .user-email-wrap {
	display: none !important;
}

/* Profile features matrix (admin) */
.prf-feature-matrix-wrap {
	overflow-x: auto;
	max-width: 100%;
	margin-top: 1em;
}

table.prf-feature-matrix th,
table.prf-feature-matrix td {
	vertical-align: top;
	padding: 10px 12px;
}

table.prf-feature-matrix td input[type="checkbox"] {
	margin: 0;
}
