/**
 * Public Styles for Healthcare Doctors Directory Plugin
 *
 * Provides responsive styling for directory master tables,
 * clinic doctor tables, and doctor specialty tables using BEM methodology.
 */

:root {
	--hdd-border-color: #4a9d7c;
	--hdd-header-bg: #d9edf7;
	--hdd-label-bg: #eef7f4;
	--hdd-zebra-bg: #f9fbf9;
	--hdd-text-color: #2c3338;
	--hdd-heading-color: #1d2327;
	--hdd-primary-accent: #2271b1;
	--hdd-card-bg: #ffffff;
	--hdd-toggle-color: #263382;
	--hdd-toggle-bg: #ffffff;
	--hdd-toggle-hover-bg: #56b093;
	--hdd-toggle-hover-color: #ffffff;
	--hdd-filter-bg: #f6faf8;
	--hdd-filter-border: #c5ded3;
	--hdd-filter-control-bg: #ffffff;
	--hdd-filter-control-border: #b8c9c1;
	--hdd-filter-shadow: 0 8px 24px rgba(29, 35, 39, 0.12);
}

/* Visually hidden utility (accessible to screen readers) */
.hdd-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Container */
.hdd-container {
	margin: 1.5em 0;
	font-family: inherit;
	color: var(--hdd-text-color);
}

/* Responsive Table Wrapper */
.hdd-table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1em 0;
}

/* BEM Table */
.hdd-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--hdd-border-color);
	background-color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.5;
	text-align: left;
}

.hdd-table__head {
	background-color: var(--hdd-header-bg);
}

.hdd-table__cell--head {
	font-weight: 700;
	color: var(--hdd-heading-color);
	padding: 12px 16px;
	border: 1px solid var(--hdd-border-color);
}

.hdd-table__cell {
	padding: 12px 16px;
	border: 1px solid var(--hdd-border-color);
	color: var(--hdd-text-color);
	vertical-align: top;
	overflow-wrap: break-word;
	word-break: break-word;
}

.hdd-table__cell a {
	color: inherit;
}

.hdd-table__cell a:hover {
	color: var(--hdd-primary-accent);
}

/* Zebra Striping */
.hdd-table__row:nth-child(even) {
	background-color: var(--hdd-zebra-bg);
}

.hdd-table__row:hover {
	background-color: #f0f7f4;
}

.hdd-table__cell--name {
	font-weight: 600;
}

.hdd-table__cell--label {
	background-color: #f6f7f7;
	font-weight: 600;
	color: var(--hdd-heading-color);
	width: 200px;
	text-align: left;
}

.hdd-table__cell--value {
	background-color: #ffffff;
}

/* Specialty Table: Property Grid Layout */
.hdd-table--specialty .hdd-table__row:nth-child(even) {
	background-color: transparent;
}

.hdd-table--specialty .hdd-table__row:hover {
	background-color: #f0f7f4;
}

.hdd-table--specialty tbody {
	border-bottom: 3px solid #8c8f94;
}

.hdd-table--specialty tbody tr:last-child td,
.hdd-table--specialty tbody tr:last-child th {
	border-bottom: 3px solid #8c8f94;
}

.hdd-table--specialty .hdd-table__cell--name {
	background-color: var(--hdd-zebra-bg);
	vertical-align: top;
	width: 240px;
}

/*
 * Zebra Striping for Specialty Property Grid
 *
 * Each doctor has its own <tbody> with 4 <tr> rows.
 * Odd rows (1, 3) get zebra background; even rows (2, 4) stay white.
 * Applied at the cell level to override the static --label/#fff backgrounds.
 */
.hdd-table--specialty tbody tr:nth-child(odd) > .hdd-table__cell--label,
.hdd-table--specialty tbody tr:nth-child(odd) > .hdd-table__cell--value {
	background-color: var(--hdd-zebra-bg);
}

.hdd-table--specialty tbody tr:nth-child(even) > .hdd-table__cell--label,
.hdd-table--specialty tbody tr:nth-child(even) > .hdd-table__cell--value {
	background-color: #ffffff;
}

.hdd-table__description {
	font-size: 0.85rem;
	color: #646970;
	margin-top: 4px;
	font-weight: normal;
}

/* Doctor List & Name/Bio Typography inside Specialty Table */
.hdd-doctor-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 1em 0;
}

.hdd-doctor-card__name {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--hdd-heading-color);
}

.hdd-doctor-card__bio {
	font-size: 0.9rem;
	color: #50575e;
	margin-top: 4px;
	font-weight: normal;
}

/* Directory Notices */
.hdd-notice {
	padding: 14px 18px;
	border-left: 4px solid var(--hdd-border-color);
	background-color: var(--hdd-label-bg);
	margin: 1.5em 0;
	border-radius: 2px;
	color: var(--hdd-text-color);
}

.hdd-notice p {
	margin: 0;
}

.hdd-notice--warning {
	border-left-color: #dba617;
	background-color: #fcf9e8;
}

.hdd-notice--info {
	border-left-color: var(--hdd-border-color);
	background-color: var(--hdd-label-bg);
}

/* Table Cell Content Resets */
.hdd-table ul,
.hdd-table ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Tabs Navigation & Panels */

/* Tabs Reset: override WordPress theme list styles */
.hdd-tabs .hdd-tabs__nav,
.hdd-tabs .hdd-tabs__nav.hdd-tabs__nav {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 -1px 0 !important;
	padding: 0 !important;
	background: transparent;
	border: none;
}

.hdd-tabs .hdd-tabs__nav .hdd-tabs__item,
.hdd-tabs .hdd-tabs__nav li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Remove any ::before / ::marker pseudo-element injected by theme */
.hdd-tabs .hdd-tabs__nav .hdd-tabs__item::before,
.hdd-tabs .hdd-tabs__nav .hdd-tabs__item::marker,
.hdd-tabs .hdd-tabs__nav li::before,
.hdd-tabs .hdd-tabs__nav li::marker {
	content: none !important;
	display: none !important;
}

.hdd-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0 0 -1px 0;
	padding: 0;
	position: relative;
	z-index: 2;
	border-bottom: none;
}

.hdd-tabs__item {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}

/* Inactive Tab */
.hdd-tabs .hdd-tabs__header,
.hdd-tabs__header,
.hdd-tabs__header:not(.active) {
	background-color: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 2px 2px 0 0;
	color: #50575e;
	padding: 10px 20px;
	font-size: 100%;
	font-weight: 500;
	cursor: pointer;
	line-height: 1.4;
	display: inline-block;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	outline: none;
	position: relative;
	z-index: 1;
	vertical-align: bottom;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.hdd-tabs .hdd-tabs__header:not(.active):hover,
.hdd-tabs__header:not(.active):hover {
	background-color: #f6f7f7;
	color: #1d2327;
}

.hdd-tabs .hdd-tabs__header:focus-visible,
.hdd-tabs__header:focus-visible {
	outline: 2px solid var(--hdd-primary-accent, #2271b1);
	outline-offset: -2px;
}

/* Active Tab */
.hdd-tabs .hdd-tabs__header.active,
.hdd-tabs__header.active,
.hdd-tabs__header--active,
.hdd-tabs__item.active > .hdd-tabs__header,
.hdd-tabs__item--active > .hdd-tabs__header {
	background-color: #ffffff;
	color: #1d2327;
	border-top: 1px solid #dcdcde;
	border-left: 1px solid #dcdcde;
	border-right: 1px solid #dcdcde;
	border-bottom: 1px solid #ffffff;
	border-radius: 2px 2px 0 0;
	position: relative;
	z-index: 3;
	cursor: default;
}

/* Main Content Box */
.hdd-tabs__pane {
	border: 1px solid #dcdcde;
	background-color: #ffffff;
	position: relative;
	z-index: 1;
	animation: hddFadeIn 0.2s ease-in-out;
}

.hdd-tabs__pane[hidden] {
	display: none;
}

.hdd-tabs__pane .hdd-table-responsive {
	margin: 0;
	padding: 20px 20px 0 20px;
}

/* Neutralize .hdd-doctor-list flex/gap/margin inside panes */
.hdd-tabs__pane .hdd-doctor-list {
	display: block;
	gap: 0;
	margin: 0;
}

.hdd-tabs__pane .hdd-table {
	border: none;
}

/* Standalone Specialty Table (Without Tabs) */
.hdd-tabs__content--standalone,
.hdd-tabs__pane--no-tabs {
	border: none;
	background-color: transparent;
}

.hdd-tabs__pane--no-tabs .hdd-table-responsive,
.hdd-tabs__content--standalone .hdd-table-responsive {
	padding: 0;
}

.hdd-tabs__pane--no-tabs .hdd-table,
.hdd-tabs__content--standalone .hdd-table {
	border: 1px solid var(--hdd-border-color);
}

@keyframes hddFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Clinic Doctors Collapsible Rows & Expand/Collapse Toggle (Progressive Enhancement) */
.hdd-container--clinic-doctors.hdd-container--js-ready:not(.hdd-container--expanded):not(.hdd-container--filtered) .hdd-table__row--collapsible {
	display: none;
}

.hdd-container--clinic-doctors.hdd-container--js-ready.hdd-container--expanded .hdd-table__row--collapsible {
	animation: hddFadeIn 0.2s ease-in-out;
}

.hdd-container--clinic-doctors:not(.hdd-container--js-ready) .hdd-table-toggle,
.hdd-container--clinic-doctors.hdd-container--filtered .hdd-table-toggle {
	display: none;
}

/* Interactive Filter Bar (Progressive Enhancement) */
.hdd-container:not(.hdd-container--js-ready) .hdd-filters,
.hdd-filters[hidden],
.hdd-dropdown__panel[hidden],
.hdd-dropdown__badge[hidden],
.hdd-container .hdd-filters .hdd-search .hdd-search__clear[hidden],
.hdd-filters__reset[hidden],
.hdd-filters__status[hidden],
.hdd-filters__empty[hidden],
.hdd-filters br,
.hdd-filters p:empty {
	display: none;
}

.hdd-container--empty .hdd-table-responsive {
	display: none;
}

.hdd-table .hdd-table__row--filtered-out {
	display: none;
}

/* Preserve clean zebra striping across hidden rows while filtering */
.hdd-container--filtered .hdd-table__row:nth-child(even) {
	background-color: transparent;
}

.hdd-container--filtered .hdd-table__row.hdd-table__row--visible-even {
	background-color: var(--hdd-zebra-bg);
}

.hdd-container--filtered .hdd-table__row:hover {
	background-color: #f0f7f4;
}

.hdd-filters {
	background-color: var(--hdd-filter-bg);
	border: 1px solid var(--hdd-filter-border);
	border-radius: 6px;
	padding: 12px 14px;
	margin-bottom: 1em;
	box-sizing: border-box;
}

.hdd-filters *,
.hdd-filters *::before,
.hdd-filters *::after {
	box-sizing: border-box;
}

/* Shield filter bar labels/containers from page-scoped theme ::before/visibility overrides */
.hdd-container .hdd-filters label,
.hdd-container .hdd-filters .hdd-dropdown__option {
	visibility: visible !important;
}

.hdd-container .hdd-filters::before,
.hdd-container .hdd-filters::after,
.hdd-container .hdd-filters label::before,
.hdd-container .hdd-filters label::after,
.hdd-container .hdd-filters .hdd-search::before,
.hdd-container .hdd-filters .hdd-search::after {
	content: none !important;
	display: none !important;
}

.hdd-filters__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.hdd-filters__group {
	position: relative;
}

.hdd-filters__group--dropdown {
	flex: 0 0 auto;
}

.hdd-filters__group--search {
	flex: 1 1 240px;
	min-width: 200px;
}

/* Multi-select Dropdown */
.hdd-dropdown {
	position: relative;
}

.hdd-dropdown__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 40px;
	padding: 8px 12px;
	background-color: var(--hdd-filter-control-bg);
	color: var(--hdd-text-color);
	border: 1px solid var(--hdd-filter-control-border);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.hdd-dropdown__trigger:hover {
	border-color: var(--hdd-border-color);
	color: var(--hdd-heading-color);
}

.hdd-dropdown__trigger:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 2px;
}

.hdd-dropdown--open > .hdd-dropdown__trigger,
.hdd-dropdown--active > .hdd-dropdown__trigger {
	border-color: var(--hdd-border-color);
	background-color: var(--hdd-label-bg);
	color: var(--hdd-heading-color);
}

.hdd-dropdown__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background-color: var(--hdd-border-color);
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1;
}

.hdd-dropdown__chevron {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 1.75px solid currentColor;
	border-bottom: 1.75px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.15s ease-in-out;
	flex-shrink: 0;
}

.hdd-dropdown--open .hdd-dropdown__chevron {
	transform: translateY(2px) rotate(-135deg);
}

.hdd-dropdown__panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 40;
	min-width: 250px;
	max-width: min(340px, calc(100vw - 32px));
	background-color: var(--hdd-card-bg);
	border: 1px solid var(--hdd-border-color);
	border-radius: 6px;
	box-shadow: var(--hdd-filter-shadow);
	overflow: hidden;
	animation: hddFadeIn 0.15s ease-in-out;
}

.hdd-dropdown__panel--compact {
	min-width: 190px;
}

.hdd-dropdown__panel--align-right {
	left: auto;
	right: 0;
}

.hdd-dropdown__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	background-color: var(--hdd-zebra-bg);
	border-bottom: 1px solid #e2ece7;
}

.hdd-dropdown__action {
	background: transparent;
	border: none;
	padding: 2px 0;
	margin: 0;
	min-height: 0;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hdd-toggle-color);
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
}

.hdd-dropdown__action:hover {
	color: var(--hdd-border-color);
	text-decoration: underline;
}

.hdd-dropdown__action:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 2px;
	border-radius: 2px;
}

.hdd-dropdown__list {
	max-height: 240px;
	overflow-y: auto;
	padding: 6px 0;
}

.hdd-dropdown__option {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 7px 12px;
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--hdd-text-color);
	cursor: pointer;
	user-select: none;
	transition: background-color 0.12s ease-in-out;
}

.hdd-dropdown__option:hover {
	background-color: var(--hdd-label-bg);
}

.hdd-container .hdd-filters input[type="checkbox"].hdd-dropdown__checkbox {
	-webkit-appearance: checkbox;
	appearance: auto;
	position: static;
	opacity: 1;
	visibility: visible;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 2px 0 0 0;
	accent-color: var(--hdd-border-color);
	cursor: pointer;
}

.hdd-container .hdd-filters input[type="checkbox"].hdd-dropdown__checkbox:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 2px;
}

.hdd-dropdown__option-text {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Doctor Name Search Input (self-contained flex box immune to theme input/svg offsets) */
.hdd-container .hdd-filters .hdd-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 40px;
	padding: 0 8px 0 11px;
	margin: 0;
	background-color: var(--hdd-filter-control-bg);
	border: 1px solid var(--hdd-filter-control-border);
	border-radius: 4px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hdd-container .hdd-filters .hdd-search:hover {
	border-color: var(--hdd-border-color);
}

.hdd-container .hdd-filters .hdd-search:focus-within {
	border-color: var(--hdd-border-color);
	box-shadow: 0 0 0 2px rgba(74, 157, 124, 0.22);
}

.hdd-container .hdd-filters .hdd-search__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	line-height: 0;
	color: #646970;
	visibility: visible;
	cursor: text;
}

.hdd-container .hdd-filters .hdd-search__icon {
	display: block;
	position: static;
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	margin: 0;
	padding: 0;
	visibility: visible;
	flex-shrink: 0;
	pointer-events: none;
}

.hdd-container .hdd-filters .hdd-search input.hdd-search__input,
.hdd-container .hdd-filters .hdd-search input.hdd-search__input:hover,
.hdd-container .hdd-filters .hdd-search input.hdd-search__input:focus {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 8px 0;
	margin: 0;
	background: transparent;
	background-image: none;
	color: var(--hdd-text-color);
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.3;
	box-shadow: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.hdd-container .hdd-filters .hdd-search input.hdd-search__input::placeholder {
	color: #646970;
	opacity: 1;
}

.hdd-container .hdd-filters .hdd-search .hdd-search__clear {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	min-height: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	border-radius: 50%;
	color: #646970;
	font-family: inherit;
	font-size: 1.2rem;
	line-height: 1;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
	transition: background-color 0.12s ease-in-out, color 0.12s ease-in-out;
}

.hdd-container .hdd-filters .hdd-search .hdd-search__clear:hover {
	background-color: #e4ede9;
	color: var(--hdd-heading-color);
}

.hdd-container .hdd-filters .hdd-search .hdd-search__clear:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 1px;
}

/* Reset Buttons & Live Status */
.hdd-filters__reset,
.hdd-filters__empty-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	background-color: var(--hdd-toggle-bg);
	color: var(--hdd-toggle-color);
	border: 1px solid var(--hdd-toggle-color);
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.hdd-filters__reset:hover,
.hdd-filters__empty-reset:hover {
	background-color: var(--hdd-toggle-hover-bg);
	border-color: var(--hdd-toggle-hover-bg);
	color: var(--hdd-toggle-hover-color);
}

.hdd-filters__reset:focus-visible,
.hdd-filters__empty-reset:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 2px;
}

.hdd-filters__status {
	margin-top: 8px;
	font-size: 0.85rem;
	color: #50575e;
	line-height: 1.4;
}

.hdd-filters__status.hdd-sr-only {
	margin: -1px;
}

.hdd-filters__empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hdd-filters__empty-text {
	margin: 0;
}

.hdd-table-toggle {
	display: flex;
	justify-content: center;
	margin-top: 0.75em;
}

.hdd-table-toggle__button {
	background-color: var(--hdd-toggle-bg);
	color: var(--hdd-toggle-color);
	border: 1px solid var(--hdd-toggle-color);
	border-radius: 4px;
	padding: 8px 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	box-shadow: none;
	text-shadow: none;
	min-height: 0;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.hdd-table-toggle__button:hover {
	background-color: var(--hdd-toggle-hover-bg);
	border-color: var(--hdd-toggle-hover-bg);
	color: var(--hdd-toggle-hover-color);
}

.hdd-table-toggle__button:focus-visible {
	outline: 2px solid var(--hdd-primary-accent);
	outline-offset: 2px;
}

/* Responsive Breakpoints (declared last so overrides always win the cascade) */
@media screen and (max-width: 768px) {
	.hdd-filters {
		padding: 10px 12px;
	}

	.hdd-filters__controls {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.hdd-filters__group--dropdown,
	.hdd-filters__group--search {
		min-width: 0;
	}

	.hdd-filters__group--clinic,
	.hdd-filters__group--search,
	.hdd-filters__reset {
		grid-column: 1 / -1;
	}

	.hdd-dropdown__trigger,
	.hdd-filters__reset {
		width: 100%;
		min-height: 40px;
	}

	.hdd-dropdown__panel,
	.hdd-dropdown__panel--compact,
	.hdd-dropdown__panel--align-right {
		left: 0;
		right: 0;
		width: 100%;
		min-width: 0;
		max-width: none;
	}

	.hdd-table {
		font-size: 0.85rem;
	}

	.hdd-table__cell,
	.hdd-table__cell--head,
	.hdd-table .hdd-table__cell--name {
		padding: 8px 6px;
	}

	.hdd-table--specialty .hdd-table__cell--name {
		width: 170px;
	}

	.hdd-table--specialty .hdd-table__cell--label {
		width: 130px;
	}

	.hdd-table__description {
		font-size: 0.8rem;
	}
}

@media screen and (max-width: 480px) {
	.hdd-filters__controls {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.hdd-dropdown__trigger,
	.hdd-container .hdd-filters .hdd-search,
	.hdd-filters__reset,
	.hdd-filters__empty-reset {
		min-height: 44px;
	}

	.hdd-container .hdd-filters .hdd-search input.hdd-search__input,
	.hdd-container .hdd-filters .hdd-search input.hdd-search__input:hover,
	.hdd-container .hdd-filters .hdd-search input.hdd-search__input:focus {
		font-size: 16px;
	}

	.hdd-dropdown__option {
		padding: 9px 12px;
	}

	.hdd-dropdown__list {
		max-height: 220px;
	}

	.hdd-filters__empty {
		flex-direction: column;
		align-items: flex-start;
	}

	.hdd-filters__empty-reset {
		width: 100%;
	}

	.hdd-table__cell,
	.hdd-table__cell--head,
	.hdd-table .hdd-table__cell--name {
		padding: 6px 4px;
	}

	.hdd-table--specialty .hdd-table__cell--name {
		width: 125px;
	}

	.hdd-table--specialty .hdd-table__cell--label {
		width: 100px;
	}

	.hdd-tabs__nav {
		gap: 2px;
	}

	.hdd-tabs .hdd-tabs__header,
	.hdd-tabs__header,
	.hdd-tabs__header:not(.active) {
		padding: 8px 12px;
		font-size: 0.88rem;
	}

	.hdd-table-toggle__button {
		padding: 7px 18px;
	}
}
