:root {
	--page-bg: #f7f8fa;
	--card-bg: #ffffff;
	--muted: #6b6f76;
	--primary: #2d66d9;
	--border: #e6e8eb;
	--accent: #f5f6f8;
	--yellow: #f5b700;
}

html,
body {
	height: 100%;
	background: var(--page-bg);
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	color: #222;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

.topbar {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 10px 18px;
}

.brand {
	font-weight: 700;
	color: #1f59b8;
	letter-spacing: -0.7px;
	font-size: 26px;
}

.page-wrap {
	max-width: 1180px;
	margin: 28px auto;
	padding: 0 18px 80px;
}

.side-nav .list-unstyled li {
	padding: 10px 0;
	color: #444;
	font-size: 14px;
}

.side-nav .list-unstyled li a {
	color: #444;
	text-decoration: none;
}

.main-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-tabs .nav-link {
	color: #6b6f76;
	font-weight: 600;
	padding: 10px 12px;
	border: none;
	border-radius: 8px;
	margin-right: 6px;
}

.nav-tabs .nav-link.active {
	color: #000;
	background: #d8a80e;
	border: 0px solid var(--border);
}

.view-profile-btn {
	border-radius: 22px;
	background: #d8a80e;
	color: #000;
	border: 1px solid #d8a80e;
	padding: 6px 14px;
	font-weight: 700;
	font-size: 13px;
}

.profile-top {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 12px 6px;
}

.avatar {
	width: 84px;
	height: 84px;
	border-radius: 12px;
	background: #f2f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-weight: 700;
	font-size: 36px;
	border: 1px solid var(--border);
}

.profile-meta h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.profile-meta p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 13px;
}

.profile-actions {
	margin-left: auto;
	display: flex;
	gap: 8px;
	align-items: center;
}

.inner-box {
	background: #fff;
	border: 1px dashed #e8eaec;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
	position: relative;
}

.inner-box .box-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-weight: 600;
}

.plus-pill,
.edit-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e6e8eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #444;
}

.tab-inner {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 22px;
	align-items: flex-start;
	padding-top: 12px;
}

.right-card {
	background: #fffbe8;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 12px;
}

.mini-box {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 10px;
	margin-bottom: 10px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.gallery-card {
	border: 1px dashed #e8eaec;
	border-radius: 8px;
	padding: 10px;
	min-height: 90px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.mbox {
	border: 1px dashed #c4c4c4;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 10px;
	position: relative;
	background: #fff;
}

.muted {
	color: var(--muted);
	font-size: 13px;
}

.small-muted {
	color: var(--muted);
	font-size: 12px;
}

.box-edit {
	position: absolute;
	right: 10px;
	top: 10px;
	display: inline-flex;
}

.link-blue {
	color: #d8a80e;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
}

.link-blue:hover {
	text-decoration: underline;
}

.bottom-space {
	height: 72px;
}

/* yellow pill Save button */
.btn-save-pill {
	background: var(--yellow);
	color: #000;
	font-weight: 700;
	border: none;
	border-radius: 100px;
	padding: 10px 22px;
	box-shadow: 0 3px 8px rgba(245, 183, 0, 0.18);
}

.btn-cancel-outline {
	border-radius: 100px;
	padding: 10px 22px;
	border: 1px solid #dcdcdc;
	background: transparent;
	color: #333;
}

/* responsive tweaks */
@media (max-width: 1100px) {
	.layout {
		grid-template-columns: 200px 1fr;
	}

	.tab-inner {
		grid-template-columns: 1fr;
	}

	.right-card {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.layout {
		grid-template-columns: 1fr;
	}

	.side-nav {
		order: -1;
		margin-bottom: 12px;
	}

	.profile-actions {
		margin-top: 8px;
	}

	.avatar {
		width: 64px;
		height: 64px;
		font-size: 24px;
	}

	.page-wrap {
		padding: 12px;
	}
}

.modal-body {
	background: #fff;
	font-family: 'Manrope', sans-serif;
	color: #222;
}

.form-check-label {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.form-check {
	margin-bottom: 4px;
}

.modal-body h4 {
	font-weight: 700;
}

.modal-body p.text-muted {
	font-size: 14px;
	color: #6b7280;
}

.star-icon {
	font-size: 18px;
	color: #ccc;
	cursor: pointer;
}

.star-icon.active {
	color: #f5b700;
}

.page-template-therapist .page-wrap {
	padding: 40px 0px 20px;
}