/* MDdocJobs — Physician dashboard styles */

.mddoc-dashboard {
	margin: 0 auto;
	max-width: 920px;
}

.mddoc-card {
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
}

.mddoc-card h2 {
	margin-top: 0;
	font-size: 1.15rem;
}

/* Overall progress */
.mddoc-overall {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mddoc-overall__figure {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	color: #1a7f5a;
	min-width: 72px;
}

.mddoc-bar {
	flex: 1 1 220px;
	height: 12px;
	background: #eef1f5;
	border-radius: 999px;
	overflow: hidden;
}

.mddoc-bar__fill {
	height: 100%;
	background: linear-gradient(90deg, #1a7f5a, #27ae60);
	border-radius: 999px;
	transition: width .3s ease;
}

/* Per-section progress list */
.mddoc-sections {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.mddoc-sections li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-top: 1px solid #f0f2f5;
}

.mddoc-sections .mddoc-bar {
	flex: 1 1 auto;
	height: 8px;
}

.mddoc-sections__label {
	flex: 0 0 200px;
	font-weight: 600;
}

.mddoc-sections__pct {
	flex: 0 0 48px;
	text-align: right;
	color: #5a6573;
	font-variant-numeric: tabular-nums;
}

/* Visibility status chips */
.mddoc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.mddoc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 600;
}

.mddoc-chip--on  { background: #e6f5ee; color: #1a7f5a; }
.mddoc-chip--off { background: #fdecea; color: #b4322a; }

/* Privacy toggle form */
.mddoc-toggles {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mddoc-toggles li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid #f0f2f5;
}

.mddoc-toggles small {
	display: block;
	color: #5a6573;
}

.mddoc-notice {
	background: #e6f5ee;
	border: 1px solid #b8e0cd;
	color: #1a7f5a;
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
}

.mddoc-notice--err {
	background: #fdecea;
	border-color: #f3c2bd;
	color: #b4322a;
}

/* Next-step nudges */
.mddoc-nudges {
	margin-top: 16px;
	padding: 12px 14px;
	background: #fff8e6;
	border: 1px solid #f0e0b0;
	border-radius: 6px;
}

.mddoc-nudges ul {
	margin: 8px 0 0;
	padding-left: 18px;
}

.mddoc-nudges li { padding: 2px 0; }

/* Accordion sections (<details>) */
details.mddoc-accordion > summary {
	cursor: pointer;
	list-style: none;
	font-size: 1.15rem;
	font-weight: 700;
	margin: -4px 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

details.mddoc-accordion > summary::-webkit-details-marker { display: none; }

details.mddoc-accordion > summary::after {
	content: "\25BE"; /* down chevron */
	font-size: .8em;
	color: #8a93a0;
	transition: transform .2s ease;
}

details.mddoc-accordion:not([open]) > summary::after {
	transform: rotate(-90deg);
}

/* Account settings fields */
.mddoc-field { margin: 0 0 14px; }

.mddoc-field label { display: block; margin-bottom: 4px; }

.mddoc-field input[type="email"],
.mddoc-field input[type="password"] {
	width: 100%;
	max-width: 420px;
}

@media (max-width: 600px) {
	.mddoc-sections__label { flex-basis: 120px; }
	.mddoc-card { padding: 16px; }
}
