/* Dosage Charts Frontend Styles — NO !important */

.dosage-charts-wrapper {
	font-family: var(--pcs-font-body, 'Inter', sans-serif);
	width: 100%;
}

.pcs-charts-header-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
}

.pcs-charts-header-row h3 {
	font-family: var(--pcs-font-heading, 'Inter', sans-serif);
	font-weight: 600;
	color: var(--pcs-text-color, #333);
	margin: 0;
}

.pcs-charts-view-all {
	color: #666;
	font-size: 14px;
	text-decoration: underline;
}

.pcs-chart-container {
	background-color: #f5f8fa;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.pcs-chart-title {
	font-size: 16px;
	font-weight: 600;
	color: #36618e;
	margin: 0 0 15px 0;
}

.pcs-chart-toggle {
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 5px 15px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
	cursor: pointer;
	margin-bottom: 15px;
}

.pcs-chart-table-wrap {
	overflow-x: auto;
}

.pcs-chart-table-wrap .pcs-table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	background: #fff;
}

.pcs-chart-table-wrap .pcs-table th {
	font-family: inherit;
	background-color: #36618e;
	color: #fff;
	padding: 10px;
	font-weight: 500;
}

.pcs-chart-table-wrap .pcs-table td {
	font-family: inherit;
	padding: 10px;
	border: 1px solid #dee2e6;
	color: #333;
}

.pcs-chart-table-wrap .pcs-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

/* ============================================================
   RESPONSIVE
   Tablet : max-width 1024px | Mobile : max-width 767px
   ============================================================ */

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.pcs-chart-container {
		padding: 16px;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.pcs-charts-header-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.pcs-chart-container {
		padding: 14px;
		margin-bottom: 20px;
	}
	.pcs-chart-title {
		font-size: 15px;
	}
	.pcs-chart-table-wrap .pcs-table th,
	.pcs-chart-table-wrap .pcs-table td {
	font-family: inherit;
		padding: 8px;
		font-size: 13px;
		white-space: nowrap;
	}
}

/* ---------- Small mobile fine‑tuning ---------- */
@media (max-width: 380px) {
	.pcs-chart-container {
		padding: 10px;
	}
	.pcs-chart-table-wrap .pcs-table th,
	.pcs-chart-table-wrap .pcs-table td {
	font-family: inherit;
		padding: 6px;
		font-size: 12px;
	}
}
