/* Határozat Drive Pro – frontend stílus */

.hdp {
	--hdp-navy: #0e2f56;
	--hdp-blue: #0b5d91;
	--hdp-gold: #f6b801;
	--hdp-line: #dfe5ec;
	--hdp-soft: #f4f6f9;
	--hdp-text: #21323f;
	color: var(--hdp-text);
	font-size: 16px;
	line-height: 1.5;
	max-width: 100%;
	overflow-wrap: break-word;
}

/* A sablon gombstílusai ne fessék át a bővítmény gombjait. */
.hdp button {
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	background-image: none !important;
	color: inherit !important;
	border: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	white-space: normal !important;
	border-radius: 0 !important;
	font: inherit;
	line-height: 1.4;
	width: auto;
	min-height: 0;
	transition: none;
}

.hdp button:hover,
.hdp button:focus {
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

/* ---------------------------------------------------------------- szűrők */

.hdp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-end;
	background: var(--hdp-soft);
	border: 1px solid var(--hdp-line);
	padding: 16px;
	margin: 0 0 18px;
}

.hdp-f {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 130px;
}

.hdp-f-grow {
	flex: 1 1 220px;
}

.hdp-f label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--hdp-navy);
	margin: 0;
}

.hdp-f select,
.hdp-f input {
	font: inherit;
	font-size: 15px;
	padding: 7px 9px;
	border: 1px solid #c6ced8;
	background: #fff;
	color: var(--hdp-text);
	width: 100%;
	box-sizing: border-box;
	min-height: 38px;
}

.hdp-f select:focus,
.hdp-f input:focus {
	outline: 2px solid var(--hdp-blue);
	outline-offset: 1px;
}

.hdp-f-btn {
	min-width: 0;
}

.hdp .hdp-reset {
	font-size: 14px !important;
	padding: 8px 14px !important;
	min-height: 38px;
	border: 1px solid var(--hdp-navy) !important;
	background: #fff !important;
	color: var(--hdp-navy) !important;
	cursor: pointer;
	font-weight: 600 !important;
}

.hdp .hdp-reset:hover {
	background: var(--hdp-navy) !important;
	color: #fff !important;
}

/* ------------------------------------------------------- típus-fülek */

.hdp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0 0 14px;
	border-bottom: 2px solid var(--hdp-line);
}

.hdp .hdp-tab {
	padding: 10px 14px !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	color: #5a6b7b !important;
	cursor: pointer;
	border-bottom: 3px solid transparent !important;
	margin-bottom: -2px;
	white-space: nowrap;
}

.hdp .hdp-tab:hover {
	color: var(--hdp-navy) !important;
	background: var(--hdp-soft) !important;
}

.hdp .hdp-tab.is-active {
	color: var(--hdp-navy) !important;
	border-bottom-color: var(--hdp-gold) !important;
}

.hdp .hdp-tab-num {
	font-weight: 400 !important;
	opacity: .7;
}

.hdp-count {
	margin: -6px 0 14px;
	font-size: 14px;
	color: #5a6b7b;
}

/* ------------------------------------------------------------- üléslista */

.hdp-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--hdp-line);
}

.hdp-item {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--hdp-line);
}

.hdp-item.hdp-hidden {
	display: none;
}

.hdp .hdp-toggle {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100% !important;
	text-align: left;
	padding: 14px 8px !important;
	cursor: pointer;
	color: var(--hdp-navy) !important;
}

.hdp .hdp-toggle:hover {
	background: var(--hdp-soft) !important;
	color: var(--hdp-navy) !important;
}

.hdp .hdp-toggle:focus-visible {
	outline: 2px solid var(--hdp-blue);
	outline-offset: -2px;
}

.hdp-main {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

.hdp-chevron {
	flex: 0 0 auto;
	margin-top: 7px;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--hdp-blue);
	border-bottom: 2px solid var(--hdp-blue);
	transform: rotate(-45deg);
	transition: transform .15s ease;
	margin-left: 4px;
}

.hdp .hdp-toggle[aria-expanded="true"] .hdp-chevron {
	transform: rotate(45deg);
}

.hdp .hdp-title {
	flex: 0 0 auto;
	max-width: 100%;
	overflow-wrap: break-word;
	font-weight: 600 !important;
	font-size: 16.5px !important;
	color: var(--hdp-navy) !important;
}

.hdp-badge {
	flex: 0 0 auto;
	align-self: flex-start;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 4px 9px !important;
	color: #fff !important;
	background: var(--hdp-blue) !important;
	white-space: nowrap;
	line-height: 1.4;
}

.hdp-badge-biz {
	background: #5a6b7b !important;
}

.hdp-badge-kozmegh {
	background: var(--hdp-gold) !important;
	color: var(--hdp-navy) !important;
}

.hdp-panel {
	padding: 4px 8px 18px 33px;
}

.hdp-panel[hidden] {
	display: none;
}

.hdp-loading {
	color: #5a6b7b;
	font-size: 15px;
	margin: 8px 0;
}

/* -------------------------------------------------------------- fájlfa */

.hdp-tree {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hdp-tree-1,
.hdp-tree-2 {
	margin-left: 14px;
	padding-left: 14px;
	border-left: 2px solid var(--hdp-line);
}

.hdp-node {
	list-style: none;
	margin: 0;
	padding: 3px 0;
}

.hdp-node-folder > .hdp-folder {
	display: block;
	font-weight: 600;
	color: var(--hdp-navy);
	margin: 10px 0 4px;
	font-size: 15px;
}

.hdp-node-file {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	min-width: 0;
	max-width: 100%;
}

.hdp-file {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	max-width: 100%;
	gap: 8px;
	color: var(--hdp-text);
	font-size: 15px;
}

.hdp-fname {
	font-weight: 500;
}

.hdp-ico {
	position: relative;
	top: 2px;
	flex: 0 0 auto;
}

.hdp-meta {
	font-size: 12.5px;
	color: #7a8794;
}

.hdp .hdp-dl {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	padding: 3px 10px;
	border: 1px solid var(--hdp-blue);
	color: var(--hdp-blue);
	text-decoration: none;
	white-space: nowrap;
}

.hdp .hdp-dl:hover,
.hdp .hdp-dl:focus {
	background: var(--hdp-blue);
	color: #fff;
	text-decoration: none;
}

/* ------------------------------------------------------------- egyebek */

.hdp-empty,
.hdp-error {
	padding: 14px 16px;
	background: var(--hdp-soft);
	border-left: 4px solid var(--hdp-blue);
	font-size: 15px;
	margin: 10px 0;
}

.hdp-error {
	border-left-color: #c8322b;
}

.hdp-updated {
	margin: 18px 0 0;
	font-size: 13px;
	color: #7a8794;
}

@media (max-width: 640px) {
	.hdp-filters {
		gap: 10px;
		padding: 12px;
	}

	.hdp-f {
		min-width: calc(50% - 5px);
		flex: 1 1 calc(50% - 5px);
	}

	.hdp-f-grow,
	.hdp-f-btn {
		flex-basis: 100%;
		min-width: 100%;
	}

	.hdp .hdp-title {
		font-size: 15.5px !important;
	}

	.hdp .hdp-badge {
		font-size: 10px !important;
		padding: 3px 7px !important;
	}

	.hdp .hdp-tab {
		padding: 9px 10px !important;
		font-size: 13.5px !important;
	}

	.hdp-panel {
		padding-left: 18px;
	}
}
