/* Public styles for NicheHotel Sync */
.nichehotel-booking, .nichehotel-checkin, .nichehotel-checkout {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.nichehotel-shortcode{padding:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:6px}
.nichehotel-shortcode p{margin:0}

.nhsa-guest-portal,
.nhsa-guest-portal * {
	box-sizing: border-box;
}

.nhsa-guest-portal {
	--nhsa-guest-bg: #f5f7fc;
	--nhsa-guest-card: #ffffff;
	--nhsa-guest-ink: #071326;
	--nhsa-guest-muted: #5b6678;
	--nhsa-guest-border: #c3c7d0;
	--nhsa-guest-green: #007a4d;
	width: min(100%, 1280px);
	margin: 0 auto;
	padding: clamp(18px, 3vw, 34px);
	background: var(--nhsa-guest-bg);
	color: var(--nhsa-guest-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nhsa-guest-hero {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}

.nhsa-guest-hero span,
.nhsa-guest-booking-label {
	color: var(--nhsa-guest-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nhsa-guest-hero h2 {
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.05;
	font-weight: 900;
}

.nhsa-guest-hero p,
.nhsa-guest-muted {
	margin: 0;
	color: var(--nhsa-guest-muted);
	font-size: 16px;
	line-height: 1.45;
}

.nhsa-guest-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.nhsa-guest-login-shell {
	display: grid;
	justify-items: center;
	margin-top: 22px;
}

.nhsa-guest-login-shell [data-auth-panel] {
	display: none;
}

.nhsa-guest-login-shell.is-login-mode [data-auth-panel="login"],
.nhsa-guest-login-shell.is-find-mode [data-auth-panel="find"],
.nhsa-guest-login-shell.is-reset-mode [data-auth-panel="reset"] {
	display: grid;
}

.nhsa-guest-login-panel {
	width: min(440px, 100%);
	gap: 20px;
	border: 1px solid var(--nhsa-guest-border);
	border-radius: 6px;
	background: var(--nhsa-guest-card);
	padding: 28px;
	box-shadow: 0 16px 40px rgba(7, 19, 38, 0.08);
}

.nhsa-guest-login-brand h3,
.nhsa-guest-login-panel h4 {
	margin: 0;
	color: #000000;
	line-height: 1.15;
	font-weight: 900;
}

.nhsa-guest-login-brand h3 {
	font-size: 26px;
}

.nhsa-guest-login-brand p {
	margin: 7px 0 0;
	color: #1f2937;
	font-size: 15px;
}

.nhsa-guest-login-panel h4 {
	font-size: 22px;
}

.nhsa-guest-auth-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	border-top: 1px solid #dfe3ea;
	padding-top: 16px;
	color: var(--nhsa-guest-muted);
	font-size: 14px;
}

.nhsa-guest-auth-footer button {
	border: 0;
	background: transparent;
	color: var(--nhsa-guest-green);
	font: inherit;
	font-weight: 900;
	padding: 0;
	cursor: pointer;
}

.nhsa-guest-auth-footer button:hover,
.nhsa-guest-auth-footer button:focus {
	color: #005f3c;
	text-decoration: underline;
	outline: none;
}

.nhsa-guest-panel,
.nhsa-guest-alert,
.nhsa-guest-sidebar,
.nhsa-guest-booking-card {
	border: 1px solid var(--nhsa-guest-border);
	border-radius: 5px;
	background: var(--nhsa-guest-card);
	box-shadow: 0 2px 0 #c4c7cf;
}

.nhsa-guest-dashboard-shell {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	margin-top: 18px;
	min-height: 680px;
}

.nhsa-guest-sidebar {
	position: sticky;
	top: 18px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-height: min(720px, calc(100vh - 36px));
	padding: 24px 18px;
	background: #e9effa;
	border-radius: 0;
	border-right: 1px solid #d5dbe8;
	box-shadow: none;
}

.nhsa-guest-sidebar-brand h3 {
	margin: 0;
	color: #000000;
	font-size: 24px;
	line-height: 1.15;
	font-weight: 900;
}

.nhsa-guest-sidebar-brand p {
	margin: 6px 0 0;
	color: #1f2937;
	font-size: 14px;
}

.nhsa-guest-dashboard-main {
	display: grid;
	align-content: start;
	gap: 18px;
	min-width: 0;
	padding: clamp(22px, 3vw, 38px);
}

.nhsa-guest-dashboard-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
}

.nhsa-guest-dashboard-header span {
	display: block;
	color: var(--nhsa-guest-muted);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nhsa-guest-dashboard-header h2 {
	margin: 8px 0 8px;
	color: var(--nhsa-guest-ink);
	font-size: clamp(34px, 3vw, 46px);
	line-height: 1.05;
	font-weight: 900;
}

.nhsa-guest-dashboard-header p {
	margin: 0;
	color: #202633;
	font-size: 17px;
	line-height: 1.4;
}

.nhsa-guest-dashboard-header strong {
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.nhsa-guest-sidebar-nav {
	display: grid;
	gap: 8px;
}

.nhsa-guest-sidebar-nav button {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 42px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: #111827;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-decoration: none;
	padding: 0 14px;
	cursor: pointer;
}

.nhsa-guest-sidebar-nav button:hover,
.nhsa-guest-sidebar-nav button:focus {
	background: rgba(255, 255, 255, 0.7);
	outline: none;
}

.nhsa-guest-sidebar-nav button.is-active {
	background: var(--nhsa-guest-green);
	color: #ffffff;
}

.nhsa-guest-tab-panel {
	display: grid;
	gap: 18px;
}

.nhsa-guest-tab-panel[hidden] {
	display: none;
}

.nhsa-guest-account-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	border: 1px solid #d5dbe8;
	border-radius: 5px;
	background: #ffffff;
	padding: 12px;
	min-width: 0;
}

.nhsa-guest-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: #d7e7ff;
	color: var(--nhsa-guest-ink);
	font-size: 17px;
	font-weight: 900;
	flex: 0 0 auto;
}

.nhsa-guest-account-main h3 {
	margin: 3px 0 2px;
	color: var(--nhsa-guest-ink);
	font-size: 16px;
	line-height: 1.1;
	font-weight: 900;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nhsa-guest-account-main p {
	margin: 0;
	color: var(--nhsa-guest-muted);
	font-size: 12px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.nhsa-guest-account-meta {
	display: grid;
	gap: 12px;
	border-top: 1px solid #c3c7d0;
	padding-top: 18px;
}

.nhsa-guest-account-meta span {
	display: block;
	color: var(--nhsa-guest-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nhsa-guest-account-meta strong {
	display: block;
	margin-top: 5px;
	color: var(--nhsa-guest-ink);
	font-size: 13px;
	line-height: 1.25;
	font-weight: 900;
	overflow-wrap: anywhere;
}

.nhsa-guest-account-actions {
	display: grid;
	gap: 10px;
	margin-top: auto;
	border-top: 1px solid #c3c7d0;
	padding-top: 18px;
}

.nhsa-guest-account-actions form {
	margin: 0;
}

.nhsa-guest-account-actions button,
.nhsa-guest-account-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
	width: 100%;
}

.nhsa-guest-account-actions button {
	border: 1px solid var(--nhsa-guest-green);
	background: var(--nhsa-guest-green);
	color: #ffffff;
	padding: 0 16px;
	cursor: pointer;
}

.nhsa-guest-account-actions a {
	border: 1px solid var(--nhsa-guest-border);
	background: #ffffff;
	color: var(--nhsa-guest-ink);
	padding: 0 14px;
}

.nhsa-guest-account-actions button:hover,
.nhsa-guest-account-actions button:focus {
	background: #005f3c;
	border-color: #005f3c;
	outline: none;
}

.nhsa-guest-account-actions a:hover,
.nhsa-guest-account-actions a:focus {
	background: #eef2fa;
	outline: none;
}

.nhsa-guest-panel {
	display: grid;
	gap: 18px;
	margin-top: 18px;
	padding: clamp(18px, 2.5vw, 28px);
}

.nhsa-guest-dashboard-main .nhsa-guest-panel {
	margin-top: 0;
	padding: 0;
	overflow: hidden;
}

.nhsa-guest-profile-panel,
.nhsa-guest-security-panel {
	padding: clamp(18px, 2.4vw, 26px) !important;
}

.nhsa-guest-profile-summary {
	display: flex;
	align-items: center;
	gap: 14px;
	border-bottom: 1px solid #dfe3ea;
	padding-bottom: 18px;
}

.nhsa-guest-profile-summary h3 {
	margin: 0 0 4px;
	font-size: 24px;
	line-height: 1.1;
	font-weight: 900;
}

.nhsa-guest-profile-summary p {
	margin: 0;
	color: var(--nhsa-guest-muted);
	font-size: 15px;
}

.nhsa-guest-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.nhsa-guest-profile-grid div,
.nhsa-guest-security-note {
	border: 1px solid #dfe3ea;
	border-radius: 5px;
	background: #f8f9fc;
	padding: 14px;
}

.nhsa-guest-profile-grid span {
	display: block;
	color: var(--nhsa-guest-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nhsa-guest-profile-grid strong {
	display: block;
	margin-top: 7px;
	color: var(--nhsa-guest-ink);
	font-size: 15px;
	line-height: 1.3;
	font-weight: 900;
	overflow-wrap: anywhere;
}

.nhsa-guest-profile-note {
	margin: 0;
	color: var(--nhsa-guest-muted);
	font-size: 14px;
	line-height: 1.45;
}

.nhsa-guest-profile-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	border-top: 1px solid #dfe3ea;
	padding-top: 18px;
}

.nhsa-guest-profile-form label {
	display: grid;
	gap: 7px;
	color: #445063;
	font-size: 13px;
	font-weight: 900;
}

.nhsa-guest-profile-form span {
	color: #445063;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.nhsa-guest-profile-form input,
.nhsa-guest-profile-form select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--nhsa-guest-border);
	border-radius: 5px;
	background: #ffffff;
	color: var(--nhsa-guest-ink);
	font: inherit;
	font-size: 15px;
	padding: 9px 12px;
}

.nhsa-guest-profile-form input:focus,
.nhsa-guest-profile-form select:focus {
	border-color: var(--nhsa-guest-green);
	box-shadow: 0 0 0 3px rgba(0, 122, 77, 0.12);
	outline: none;
}

.nhsa-guest-profile-form-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid #dfe3ea;
	padding-top: 18px;
}

.nhsa-guest-profile-form-actions p {
	margin: 0;
	color: var(--nhsa-guest-muted);
	font-size: 13px;
	line-height: 1.45;
}

.nhsa-guest-profile-form-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid var(--nhsa-guest-green);
	border-radius: 5px;
	background: var(--nhsa-guest-green);
	color: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	padding: 0 20px;
	white-space: nowrap;
	cursor: pointer;
}

.nhsa-guest-profile-form-actions button:hover,
.nhsa-guest-profile-form-actions button:focus {
	background: #005f3c;
	border-color: #005f3c;
	outline: none;
}

.nhsa-guest-security-panel {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px;
}

.nhsa-guest-security-panel h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
	font-weight: 900;
}

.nhsa-guest-security-panel p {
	margin: 8px 0 0;
	color: var(--nhsa-guest-muted);
	font-size: 15px;
	line-height: 1.45;
}

.nhsa-guest-security-panel form {
	margin: 0;
}

.nhsa-guest-security-panel button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid var(--nhsa-guest-green);
	border-radius: 5px;
	background: var(--nhsa-guest-green);
	color: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	padding: 0 18px;
	white-space: nowrap;
	cursor: pointer;
}

.nhsa-guest-security-panel button:hover,
.nhsa-guest-security-panel button:focus {
	background: #005f3c;
	border-color: #005f3c;
	outline: none;
}

.nhsa-guest-security-note {
	grid-column: 1 / -1;
}

.nhsa-guest-security-note strong {
	display: block;
	font-size: 13px;
	font-weight: 900;
}

.nhsa-guest-panel h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
	font-weight: 900;
}

.nhsa-guest-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.nhsa-guest-panel-header a {
	color: var(--nhsa-guest-green);
	font-weight: 800;
	text-decoration: none;
}

.nhsa-guest-alert {
	margin: 14px 0;
	padding: 14px 16px;
	color: #8a4b00;
	background: #fff8e6;
	font-weight: 700;
}

.nhsa-guest-toast {
	position: fixed;
	top: 24px;
	right: 24px;
	z-index: 99999;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: min(420px, calc(100vw - 32px));
	border: 1px solid #bfead6;
	border-left: 4px solid var(--nhsa-guest-green);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(7, 19, 38, 0.16);
	padding: 14px 14px 14px 16px;
	color: var(--nhsa-guest-ink);
	animation: nhsa-guest-toast-in 180ms ease-out;
}

.nhsa-guest-toast.is-hiding {
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.nhsa-guest-toast-icon {
	width: 11px;
	height: 11px;
	border-radius: 999px;
	background: var(--nhsa-guest-green);
	box-shadow: 0 0 0 5px rgba(0, 122, 77, 0.12);
}

.nhsa-guest-toast p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 800;
}

.nhsa-guest-toast button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #445063;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	cursor: pointer;
}

.nhsa-guest-toast button:hover,
.nhsa-guest-toast button:focus {
	background: #eef2fa;
	color: var(--nhsa-guest-ink);
	outline: none;
}

@keyframes nhsa-guest-toast-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nhsa-guest-form,
.nhsa-guest-panel .login-username,
.nhsa-guest-panel .login-password,
.nhsa-guest-panel .login-remember,
.nhsa-guest-panel .login-submit,
.nhsa-guest-login-panel .login-username,
.nhsa-guest-login-panel .login-password,
.nhsa-guest-login-panel .login-remember,
.nhsa-guest-login-panel .login-submit {
	display: grid;
	gap: 8px;
	margin: 0 0 14px;
}

.nhsa-guest-form label,
.nhsa-guest-panel label,
.nhsa-guest-login-panel label {
	color: #445063;
	font-size: 14px;
	font-weight: 800;
}

.nhsa-guest-form input,
.nhsa-guest-panel input[type="text"],
.nhsa-guest-panel input[type="password"],
.nhsa-guest-login-panel input[type="text"],
.nhsa-guest-login-panel input[type="password"] {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--nhsa-guest-border);
	border-radius: 5px;
	background: #ffffff;
	color: var(--nhsa-guest-ink);
	font: inherit;
	font-size: 16px;
	padding: 10px 14px;
}

.nhsa-guest-form button,
.nhsa-guest-panel .login-submit input,
.nhsa-guest-login-panel .login-submit input {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--nhsa-guest-green);
	border-radius: 5px;
	background: var(--nhsa-guest-green);
	color: #ffffff;
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	padding: 0 18px;
	cursor: pointer;
}

.nhsa-guest-forgot-password {
	margin: -4px 0 18px;
	text-align: right;
}

.nhsa-guest-forgot-password a,
.nhsa-guest-forgot-password button {
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--nhsa-guest-green);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.nhsa-guest-forgot-password a:hover,
.nhsa-guest-forgot-password a:focus,
.nhsa-guest-forgot-password button:hover,
.nhsa-guest-forgot-password button:focus {
	text-decoration: underline;
}

.nhsa-guest-booking-list {
	display: grid;
	gap: 0;
}

.nhsa-guest-booking-card {
	display: grid;
	gap: 18px;
	border-width: 0 0 1px;
	border-radius: 0;
	box-shadow: none;
	padding: 22px 24px;
}

.nhsa-guest-booking-card:last-child {
	border-bottom: 0;
}

.nhsa-guest-booking-card header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.nhsa-guest-booking-card strong {
	display: block;
	margin-top: 3px;
	color: var(--nhsa-guest-ink);
	font-size: 17px;
	line-height: 1.25;
	font-weight: 900;
}

.nhsa-guest-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	border-radius: 999px;
	background: #64eda4;
	color: #064629;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.nhsa-guest-booking-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	border-top: 1px solid #dfe3ea;
	padding-top: 16px;
}

.nhsa-guest-booking-grid span {
	display: block;
	color: var(--nhsa-guest-muted);
	font-size: 12px;
	font-weight: 800;
}

@media (max-width: 840px) {
	.nhsa-guest-grid,
	.nhsa-guest-booking-grid,
		.nhsa-guest-dashboard-shell,
		.nhsa-guest-account-meta,
		.nhsa-guest-profile-grid,
		.nhsa-guest-profile-form,
		.nhsa-guest-security-panel {
		grid-template-columns: 1fr;
	}

	.nhsa-guest-dashboard-shell {
		min-height: 0;
	}

	.nhsa-guest-sidebar {
		position: static;
		min-height: 0;
	}

	.nhsa-guest-dashboard-header {
		display: grid;
		align-items: start;
	}

	.nhsa-guest-account-actions {
		justify-content: stretch;
	}

	.nhsa-guest-account-actions form,
	.nhsa-guest-account-actions button,
	.nhsa-guest-account-actions a,
	.nhsa-guest-security-panel button {
		width: 100%;
	}

	.nhsa-guest-profile-form-actions {
		display: grid;
	}

	.nhsa-guest-profile-form-actions button {
		width: 100%;
	}

	.nhsa-guest-toast {
		top: 14px;
		right: 14px;
		left: 14px;
		width: auto;
	}
}

