/*
 * Respite Provider Manager — Public Provider Profile
 * Standalone full-page design at /providers/{slug}/
 * Uses some shared styles from packet.css (loaded first).
 */

.rpm-profile-body {
	background: #fff;
	margin: 0;
	padding: 0;
}

.rpm-profile-container {
	min-height: 100vh;
}

/* ---------- Brand header ---------- */
.rpm-profile-brand-header {
	background: #fff;
	border-bottom: 1px solid #f0e6f0;
	padding: 16px 24px;
	position: sticky;
	top: 0;
	z-index: 10;
}
.rpm-profile-brand-inner {
	max-width: 960px;
	margin: 0 auto;
}
.rpm-profile-brand-link {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #660066;
	text-decoration: none;
	letter-spacing: 0.3px;
}
.rpm-profile-brand-link:hover {
	color: #500057;
}

/* ---------- Hero section ---------- */
.rpm-profile-hero {
	background: linear-gradient(135deg, #faf4fa 0%, #f7f4fd 50%, #eef4fd 100%);
	padding: 56px 24px 64px;
	border-bottom: 1px solid #f0e6f0;
}
.rpm-profile-hero-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	gap: 40px;
	align-items: center;
	flex-wrap: wrap;
}

.rpm-profile-photo-wrap {
	position: relative;
	flex-shrink: 0;
}
.rpm-profile-photo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	border: 6px solid #fff;
	box-shadow: 0 12px 32px rgba(102, 0, 102, 0.18);
	display: block;
}
.rpm-profile-photo--placeholder {
	background: linear-gradient(135deg, #660066 0%, #009ee2 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 96px;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
}
.rpm-profile-verified-stamp {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 48px;
	height: 48px;
	background: #c0cf02;
	color: #fff;
	border: 5px solid #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rpm-profile-ident {
	flex: 1;
	min-width: 280px;
	font-family: 'Poppins', sans-serif;
}
.rpm-profile-name {
	font-size: 48px;
	font-weight: 700;
	color: #330033;
	margin: 0 0 16px;
	line-height: 1.1;
	letter-spacing: -0.5px;
}
.rpm-profile-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	color: #444;
	font-size: 16px;
}
.rpm-profile-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4;
}
.rpm-profile-meta-item svg {
	color: #660066;
	flex-shrink: 0;
}
.rpm-profile-meta-item--verified {
	color: #596301;
	font-weight: 600;
}
.rpm-profile-meta-item--verified svg {
	color: #596301;
}

/* ---------- Main content ---------- */
.rpm-profile-main {
	max-width: 960px;
	margin: 0 auto;
	padding: 48px 24px;
}

.rpm-profile-section {
	margin-bottom: 40px;
	font-family: 'Poppins', sans-serif;
}
.rpm-profile-section-title {
	font-size: 24px;
	font-weight: 700;
	color: #660066;
	margin: 0 0 20px;
	line-height: 1.3;
}
.rpm-profile-subtitle {
	font-size: 13px;
	font-weight: 700;
	color: #660066;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.rpm-profile-subtitle svg {
	opacity: 0.8;
}

/* Bio */
.rpm-profile-section--bio {
	padding-bottom: 32px;
	border-bottom: 2px solid #f0e6f0;
	margin-bottom: 40px;
}
.rpm-profile-bio {
	font-size: 18px;
	line-height: 1.75;
	color: #333;
	max-width: 760px;
}
.rpm-profile-bio p {
	margin: 0 0 20px;
}
.rpm-profile-bio p:last-child {
	margin-bottom: 0;
}

/* Two-column grid for info */
.rpm-profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
.rpm-profile-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.rpm-profile-col .rpm-profile-section {
	margin-bottom: 0;
}

/* Tags */
.rpm-profile-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.rpm-profile-tag {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}
.rpm-profile-tag--skill {
	background: #e0f4fc;
	color: #004184;
}
.rpm-profile-tag--qual {
	background: #f7eee1;
	color: #894303;
}

/* Availability */
.rpm-profile-availability {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rpm-profile-avail-row {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	flex-wrap: wrap;
}
.rpm-profile-avail-label {
	width: 70px;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: #6c6c7a;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding-top: 10px;
}
.rpm-profile-avail-value {
	flex: 1;
	color: #333;
	padding-top: 8px;
	font-size: 15px;
	line-height: 1.5;
}
.rpm-profile-day-grid {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rpm-profile-day {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	background: #f0e6f0;
	color: #a8a2b0;
}
.rpm-profile-day--active {
	background: #660066;
	color: #fff;
}

/* Verified section */
.rpm-profile-section--verified {
	background: #f4f8e6;
	padding: 24px;
	border-radius: 16px;
	border-top: 4px solid #c0cf02;
}
.rpm-profile-subtitle--on-green {
	color: #596301;
}
.rpm-profile-subtitle--on-green svg {
	color: #596301;
}
.rpm-profile-verified-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}
.rpm-profile-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #fff;
	border: 1.5px solid #c0cf02;
	color: #596301;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}
.rpm-profile-check svg {
	color: #c0cf02;
}
.rpm-profile-verified-note {
	font-size: 13px;
	color: #596301;
	margin: 0;
	opacity: 0.9;
	line-height: 1.5;
}

/* Footer */
.rpm-profile-footer {
	border-top: 1px solid #f0e6f0;
	padding: 32px 24px;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	color: #6c6c7a;
	font-size: 13px;
}
.rpm-profile-footer p {
	margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.rpm-profile-hero { padding: 32px 20px 40px; }
	.rpm-profile-hero-inner { gap: 24px; justify-content: center; text-align: center; }
	.rpm-profile-photo { width: 140px; height: 140px; border-width: 4px; }
	.rpm-profile-photo--placeholder { font-size: 64px; }
	.rpm-profile-verified-stamp { width: 36px; height: 36px; border-width: 3px; }
	.rpm-profile-verified-stamp svg { width: 18px; height: 18px; }
	.rpm-profile-name { font-size: 32px; }
	.rpm-profile-meta { justify-content: center; font-size: 14px; }
	.rpm-profile-main { padding: 32px 20px; }
	.rpm-profile-section-title { font-size: 20px; }
	.rpm-profile-bio { font-size: 16px; }
	.rpm-profile-grid { grid-template-columns: 1fr; gap: 32px; }
	.rpm-profile-avail-row { flex-direction: column; gap: 4px; }
	.rpm-profile-avail-label { padding-top: 0; }
}
