.bnhdp-owner {
	margin: 28px 0;
	padding: 22px;
	border: 1px solid #d9e4e8;
	border-radius: 18px;
	background: #fff;
}

.bnhdp-owner__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.bnhdp-owner__header small,
.bnhdp-public__header small {
	color: #087f75;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.bnhdp-owner__header h2,
.bnhdp-public__header h1 {
	margin: 3px 0;
}

.bnhdp-owner__header p,
.bnhdp-public__header p,
.bnhdp-owner__empty {
	margin: 4px 0 0;
	color: #65758b;
}

.bnhdp-owner__list {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.bnhdp-owner-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 18px;
	padding: 14px 16px;
	border: 1px solid #e1e8ec;
	border-radius: 14px;
	background: #f8fafb;
}

.bnhdp-owner-card h3,
.bnhdp-owner-card p {
	margin: 3px 0;
}

.bnhdp-owner-card form {
	margin: 0;
}

.bnhdp-owner-card button {
	border: 0;
	background: transparent;
	color: #c62828;
	font-weight: 700;
	cursor: pointer;
}

.bnhdp-status {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 999px;
	background: #edf1f4;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.bnhdp-status--approved {
	background: #dcfae6;
	color: #087443;
}

.bnhdp-status--pending {
	background: #fff0c2;
	color: #8a5700;
}

.bnhdp-status--rejected {
	background: #fee4e2;
	color: #b42318;
}

.bnhdp-message {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #eaf8f6;
	color: #08675f;
	font-weight: 700;
}

.bnhdp-message--invalid_period,
.bnhdp-message--invalid_listing,
.bnhdp-message--security_error {
	background: #fff0ee;
	color: #b42318;
}

.bnhdp-dialog {
	width: min(760px, calc(100vw - 32px));
	max-height: min(88vh, 860px);
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 28px 90px rgba(16, 34, 50, .28);
}

.bnhdp-dialog::backdrop {
	background: rgba(13, 28, 41, .62);
	backdrop-filter: blur(3px);
}

.bnhdp-dialog__panel > header,
.bnhdp-dialog__panel > footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 22px;
	border-bottom: 1px solid #e2e8ec;
}

.bnhdp-dialog__panel > footer {
	justify-content: flex-end;
	border-top: 1px solid #e2e8ec;
	border-bottom: 0;
}

.bnhdp-dialog__panel > header h2 {
	margin: 2px 0 0;
}

.bnhdp-dialog__panel > header small {
	color: #087f75;
	font-weight: 800;
	text-transform: uppercase;
}

.bnhdp-dialog__panel > header [data-bnhdp-close] {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #eff3f5;
	font-size: 25px;
	cursor: pointer;
}

.bnhdp-dialog__body {
	max-height: 62vh;
	overflow: auto;
	padding: 22px;
}

.bnhdp-field,
.bnhdp-period label {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.bnhdp-field select,
.bnhdp-field input,
.bnhdp-field textarea,
.bnhdp-period input {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cbd7dd;
	border-radius: 10px;
	background: #fff;
}

.bnhdp-offer-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.bnhdp-field--wide {
	grid-column: 1 / -1;
}

.bnhdp-field small,
.bnhdp-dialog__hint {
	color: #66778b;
	font-weight: 500;
}

.bnhdp-periods {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.bnhdp-period {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr) repeat(2, 1fr) auto;
	align-items: end;
	gap: 12px;
	padding: 15px;
	border: 1px solid #dce5e9;
	border-radius: 14px;
	background: #f7fafb;
}

.bnhdp-period > button {
	width: 34px;
	height: 44px;
	border: 0;
	border-radius: 9px;
	background: #fff0ee;
	color: #b42318;
	font-size: 20px;
	cursor: pointer;
}

.bnhdp-add-period {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #087f75;
	font-weight: 800;
	cursor: pointer;
}

.bnhdp-public__header {
	margin-bottom: 26px;
}

.bnhdp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 26px;
}

.bnhdp-filters a {
	padding: 9px 14px;
	border: 1px solid #cfe0e6;
	border-radius: 999px;
	background: #fff;
	color: #24445a;
	font-weight: 750;
	text-decoration: none;
}

.bnhdp-filters a:hover,
.bnhdp-filters a.is-active {
	border-color: #168fd3;
	background: #168fd3;
	color: #fff;
}

.bnhdp-public__grid {
	grid-template-columns: repeat(var(--bngh-columns, 3), minmax(0, 1fr));
}

.bnhdp-public__item {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.bnhdp-public__item > .bngh-card {
	flex: 1 1 auto;
}

.bnhdp-public__item--holiday .bngh-card__badge {
	padding: 6px 8px;
	font-size: 10px;
	letter-spacing: .02em;
}

.bnhdp-card-occasion {
	position: absolute;
	top: 15px;
	left: 150px;
	z-index: 5;
	max-width: calc(100% - 164px);
	padding: 7px 10px;
	overflow: hidden;
	border-radius: 999px;
	background: #168fd3;
	box-shadow: 0 8px 20px rgba(22, 143, 211, .22);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.bnhdp-public__item--holiday .bngh-card__views {
	top: 52px;
}

.bnhdp-offer {
	margin-top: 10px;
	padding: 16px;
	border: 1px solid #cfe8f5;
	border-radius: 14px;
	background: linear-gradient(145deg, #f2faff, #fff);
}

.bnhdp-offer__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.bnhdp-offer__labels span,
.bnhdp-offer__labels strong {
	padding: 4px 8px;
	border-radius: 999px;
	background: #e2f4ff;
	color: #0878b8;
	font-size: 11px;
}

.bnhdp-offer h3,
.bnhdp-offer p {
	margin: 9px 0 0;
}

.bnhdp-offer__period {
	color: #526d7e;
}

.bnhdp-offer__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: 12px;
}

.bnhdp-offer__price del {
	color: #7b8c98;
}

.bnhdp-offer__price strong {
	color: #087f75;
	font-size: 24px;
}

.bnhdp-listing-offer {
	margin: 28px 0;
}

.bnhdp-listing-offer > h2 {
	margin-bottom: 10px;
}

.bnhdp-offer--single {
	padding: 22px;
	border-radius: 18px;
}

.bnhdp-public__upcoming {
	margin-top: 42px;
}

@media (max-width: 760px) {
	.bnhdp-owner__header,
	.bnhdp-dialog__panel > footer {
		align-items: stretch;
		flex-direction: column;
	}

	.bnhdp-owner-card,
	.bnhdp-period {
		grid-template-columns: 1fr;
	}

	.bnhdp-offer-fields {
		grid-template-columns: 1fr;
	}

	.bnhdp-field--wide {
		grid-column: auto;
	}

	.bnhdp-period > button {
		position: absolute;
		top: 8px;
		right: 8px;
		height: 34px;
	}

	.bnhdp-public__grid {
		grid-template-columns: 1fr;
	}

	.bnhdp-card-occasion {
		left: 150px;
		max-width: calc(100% - 164px);
	}
}
