.ke-admin-page {
	padding-bottom: 2rem;
}
.ke-admin-page .lede,
.ke-admin-page .meta {
	color: var(--bs-secondary-color, #6c757d);
	line-height: 1.55;
}
.ke-admin-page .ok {
	color: #198754;
	margin-bottom: 1rem;
}
.ke-admin-page .error {
	color: #dc3545;
	margin-bottom: 1rem;
}
.ke-admin-page .status {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 1rem;
	line-height: 1.5;
}
.ke-admin-page .status.is-ok {
	background: rgba(25, 135, 84, 0.1);
	color: #0f5132;
}
.ke-admin-page .status.is-wait,
.ke-admin-page .error.status {
	background: rgba(220, 53, 69, 0.08);
	color: #842029;
}
.ke-admin-page .card,
.ke-admin-page .note {
	background: var(--bs-body-bg, #fff);
	border: 1px solid var(--bs-border-color, #e9ecef);
	border-radius: 8px;
	padding: 1.25rem 1.4rem;
	margin-bottom: 1.15rem;
}
.ke-admin-page .card:has(.card-body) {
	padding: 0;
}
.ke-admin-page .ke-dash-actions .btn {
	min-height: 42px;
	margin-top: 0;
}
.ke-admin-page h2 {
	font-size: 1.05rem;
	margin: 0 0 8px;
}
.ke-admin-page h3 {
	font-size: 0.98rem;
	margin: 18px 0 8px;
}
.ke-admin-page label {
	display: block;
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 500;
}
.ke-admin-page input,
.ke-admin-page textarea,
.ke-admin-page select {
	width: 100%;
	margin-top: 6px;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid var(--bs-border-color, #dee2e6);
	background: var(--bs-body-bg, #fff);
	color: inherit;
	font: inherit;
}
.ke-admin-page input[type="checkbox"],
.ke-admin-page input[type="radio"] {
	width: auto;
	margin-top: 0;
}
.ke-admin-page .check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 16px;
}
.ke-admin-page button,
.ke-admin-page .ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.ke-admin-page button {
	border: 0;
	background: #5b73e8;
	color: #fff;
	cursor: pointer;
	margin-top: 8px;
}
.ke-admin-page .ghost {
	border: 1px solid var(--bs-border-color, #dee2e6);
	color: inherit;
	background: transparent;
}
.ke-admin-page .row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 1rem;
}
.ke-admin-page .row-actions form { margin: 0; }
.ke-admin-page .row-actions button { margin-top: 0; }
.ke-admin-page .grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}
.ke-admin-page .admin-table {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0 1.5rem;
	background: var(--bs-body-bg, #fff);
	border: 1px solid var(--bs-border-color, #e9ecef);
	border-radius: 8px;
	overflow: hidden;
	font-size: 14px;
}
.ke-admin-page .admin-table th,
.ke-admin-page .admin-table td {
	text-align: left;
	padding: 11px 14px;
	border-bottom: 1px solid var(--bs-border-color, #e9ecef);
	vertical-align: top;
}
.ke-admin-page .thumb-row,
.ke-admin-page .media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin: 12px 0;
}
.ke-admin-page .thumb-row img,
.ke-admin-page .media-grid img,
.ke-admin-page .media-grid video,
.ke-admin-page img.tiny {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 8px;
	background: #f1f3f5;
}
.ke-admin-page img.tiny { width: 72px; height: 48px; }
.ke-pkg-thumb {
	width: 56px;
	height: 40px;
	object-fit: cover;
	background: #f1f3f5;
	flex-shrink: 0;
}
.ke-admin-page .nav-pills .nav-link {
	padding: 0.35rem 0.75rem;
}
.ke-admin-page form.d-inline {
	display: inline;
}
.ke-edit-save {
	position: sticky;
	bottom: 0;
	z-index: 6;
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 4px 16px;
	margin: 0 -4px;
	background: var(--bs-body-bg, #fff);
	border-top: 1px solid var(--bs-border-color, #e9ecef);
}
.ke-edit-save .btn { margin-top: 0; }
#ke-edit-basics,
#ke-edit-booking,
#ke-edit-media,
#ke-edit-details,
#ke-edit-sidebar {
	scroll-margin-top: 72px;
}
.ke-media-card img,
.ke-media-card video {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	background: #f1f3f5;
	display: block;
}
.ke-media-card figcaption {
	margin-top: 8px;
}
.ke-media-card code {
	display: block;
	font-size: 11px;
	word-break: break-all;
}
.ke-admin-page .media-grid figcaption {
	margin-top: 6px;
	font-size: 11px;
	word-break: break-all;
}
.ke-admin-page .list { margin-top: 4px; }
.ke-admin-page .note h3 { margin-top: 0; }
.logo-box .logo-lg { max-width: 180px; height: 34px; object-fit: contain; }
.logo-box .logo-sm {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 10px;
}
.main-menu .logo-box {
	height: auto !important;
	padding: 14px 12px 8px;
}
.main-menu .logo-box img {
	border-radius: 0;
}
.ke-expect-card {
	display: grid;
	grid-template-columns: 168px 1fr auto;
	gap: 12px;
	align-items: start;
	padding: 12px;
	border: 1px solid var(--bs-border-color, #dbe1ea);
	border-radius: 12px;
	margin-bottom: 12px;
}
.ke-expect-preview {
	width: 168px;
	height: 118px;
	border-radius: 10px;
	overflow: hidden;
	background: #1b2736;
}
.ke-expect-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ke-faq-item {
	border: 1px solid #d3dde6;
	border-radius: 10px;
	padding: 0;
	margin-bottom: 8px;
	background: #fff;
	overflow: hidden;
}
.ke-faq-item summary {
	cursor: pointer;
	font-weight: 700;
	padding: 12px 14px;
	list-style: none;
	background: #e4eef4;
	color: #10262c;
}
.ke-faq-item[open] summary {
	background: #122327;
	color: #fff;
}
.ke-faq-item summary::-webkit-details-marker { display: none; }
.ke-faq-item summary::after {
	content: "+";
	float: right;
	font-weight: 700;
	color: inherit;
}
.ke-faq-item[open] summary::after { content: "–"; }
.ke-faq-body {
	padding: 12px 14px 14px;
	background: #fff;
}
.page-content .ke-faq-item .ke-faq-q {
	background: #e4eef4;
	border-color: #c5d4df;
	color: #10262c;
}
.page-content .ke-faq-item textarea[name="faq_a[]"] {
	background: #fff;
}
@media (max-width: 800px) {
	.ke-expect-card { grid-template-columns: 1fr; }
	.ke-expect-preview { width: 100%; height: 160px; }
}
@media (max-width: 800px) {
	.ke-admin-page .grid-2 { grid-template-columns: 1fr; }
}

body.auth-page {
	min-height: 100vh;
}
.auth-page .auth-logo img {
	max-height: 42px;
}
.auth-page .ke-auth-error {
	color: #dc3545;
	margin-bottom: 1rem;
}

.ke-admin-thread {
	min-height: 280px;
	max-height: min(520px, 58vh);
	overflow: auto;
	background: linear-gradient(#eef2f6, #f7f8fb);
	border-radius: 14px;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ke-admin-msg {
	max-width: 76%;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.ke-admin-msg p {
	margin: 0;
	padding: 9px 13px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
}
.ke-admin-msg time {
	font-size: 11px;
	color: #98a2b3;
	padding: 0 4px;
}
.ke-admin-msg.is-guest {
	align-self: flex-start;
}
.ke-admin-msg.is-guest p {
	background: #fff;
	border: 1px solid #e6eaf0;
	border-bottom-left-radius: 4px;
	color: #122033;
}
.ke-admin-msg.is-desk {
	align-self: flex-end;
	margin-left: auto;
	text-align: right;
}
.ke-admin-msg.is-desk p {
	background: #122033;
	color: #fff;
	border-bottom-right-radius: 4px;
}
.ke-qr-preview {
	width: 148px;
	height: 148px;
	object-fit: contain;
	border: 1px solid #e6eaf0;
	border-radius: 12px;
	background: #fff;
	padding: 8px;
}
.main-menu {
	display: flex;
	flex-direction: column;
}
.main-menu [data-simplebar] {
	flex: 1 1 auto;
	min-height: 0;
}
.ke-admin-credit {
	display: block;
	margin: 10px 12px 16px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
	line-height: 1.35;
}
.ke-admin-credit:hover,
.ke-admin-credit:focus {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.ke-admin-credit-kicker,
.ke-admin-credit span {
	display: block;
	font-size: 11px;
	opacity: 0.82;
}
.ke-admin-credit strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin: 2px 0;
}

.page-content {
	color: #111;
	font-size: 15px;
	font-weight: 500;
}
.page-content p,
.page-content li,
.page-content td,
.page-content th,
.page-content label,
.page-content .form-label,
.page-content .col-form-label,
.page-content .form-check-label,
.page-content .card,
.page-content .card-body,
.page-content .card-title,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.page-content .page-title,
.page-content .table,
.page-content .admin-table,
.page-content .dropdown-item,
.page-content .nav-link,
.page-content .footer {
	color: #111;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6,
.page-content .page-title,
.page-content .card-title,
.page-content th,
.page-content label,
.page-content .form-label {
	font-weight: 700;
}
.page-content .text-muted,
.page-content .form-text,
.page-content .lede,
.page-content .meta,
.ke-admin-page .lede,
.ke-admin-page .meta {
	color: #222 !important;
}
.page-content .form-control,
.page-content .form-select,
.page-content textarea,
.page-content input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.page-content select {
	color: #111;
	font-size: 15px;
	font-weight: 500;
}
.page-content .form-control::placeholder,
.page-content textarea::placeholder,
.page-content input::placeholder {
	color: #444;
	opacity: 1;
}
.page-content .btn-primary,
.ke-admin-page button.btn-primary,
.ke-admin-page .btn-primary {
	color: #fff;
}
.main-menu .menu-link,
.main-menu .menu-text,
.main-menu .menu-title {
	color: #fff;
	font-weight: 600;
}
.main-menu .menu-link:hover,
.main-menu .menu-link:focus,
.main-menu .menu-link.active {
	color: #fff;
}

.auth-page .auth-logo {
	width: 100%;
	max-width: 240px;
	margin-left: auto;
	margin-right: auto;
}
.auth-page .auth-logo img {
	display: block;
	width: 100%;
	height: auto;
}
.ke-pass-wrap {
	position: relative;
}
.ke-pass-wrap .form-control {
	padding-right: 4.75rem;
}
.ke-pass-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #d5dde2;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 8px;
}
.ke-pass-toggle:hover,
.ke-pass-toggle:focus {
	color: #fff;
}

.ke-edit-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 14px;
	background: #eef2f5;
	border: 1px solid #e1e6ec;
	border-radius: 12px;
	padding: 6px;
}
#ke-edit-pills {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
#ke-edit-pills .nav-link {
	color: #122327;
	font-weight: 700;
	border-radius: 8px;
	padding: 7px 12px;
}
#ke-edit-pills .nav-link:hover {
	background: #fff;
	color: #122327;
}
.ke-layout-switch {
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 2px;
	padding: 3px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px #d7dee6;
	flex: none;
}
.ke-layout-switch button {
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #3d4a50;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 8px 14px;
}
.ke-layout-switch button.is-on {
	background: #122327;
	color: #fff;
}
body.ke-layout-tabs .ke-edit-nav {
	position: sticky;
	top: 70px;
	z-index: 30;
	margin-bottom: 10px;
}
body.ke-layout-tabs #ke-edit-pills .nav-link.active {
	background: #122327;
	color: #fff;
}
body.ke-layout-tabs form.admin-form > .card {
	display: none;
	margin-bottom: 0;
}
body.ke-layout-tabs form.admin-form > .card.is-on {
	display: block;
}
body.ke-layout-tabs .ke-edit-save {
	position: sticky;
	bottom: 0;
	z-index: 30;
	background: #fff;
	border-top: 1px solid #e6e8ec;
	padding: 10px 0;
	margin-top: 12px;
}
body.ke-layout-tabs .ke-expect-card {
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 8px;
	padding: 8px;
	margin-bottom: 8px;
}
body.ke-layout-tabs .ke-expect-preview {
	width: 88px;
	height: 64px;
}
body.ke-layout-tabs .ke-expect-fields {
	display: grid;
	grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1.25fr);
	gap: 4px 12px;
	align-items: start;
}
body.ke-layout-tabs .ke-expect-photo {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 8px;
}
body.ke-layout-tabs .ke-expect-photo .form-label {
	margin: 0;
	flex: none;
}
body.ke-layout-tabs .ke-expect-photo .form-control {
	padding: 3px 8px;
	font-size: 12px;
}
body.ke-layout-tabs .ke-expect-title .form-control,
body.ke-layout-tabs .ke-expect-copy .form-control {
	margin-bottom: 0;
}
body.ke-layout-tabs .ke-expect-copy textarea.form-control {
	height: 52px;
	min-height: 52px;
}
body.ke-layout-tabs #ke-edit-expect .text-muted {
	margin-bottom: 8px;
}
@media (max-width: 800px) {
	body.ke-layout-tabs .ke-expect-card {
		grid-template-columns: 72px minmax(0, 1fr);
	}
	body.ke-layout-tabs .ke-expect-remove {
		grid-column: 1 / -1;
		justify-self: start;
	}
	body.ke-layout-tabs .ke-expect-fields {
		grid-template-columns: 1fr;
	}
}
