.mgr-shimmer {
	display: inline-block;
	width: 56px;
	height: 13px;
	border-radius: 4px;
	vertical-align: middle;
	background: #cde4f5;
	position: relative;
	overflow: hidden;
}
.mgr-shimmer::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.65) 50%,
		transparent 100%
	);
	transform: translateX(-100%);
	animation: mgrShimmer 1.4s ease-in-out infinite;
}
@keyframes mgrShimmer {
	0%   { transform: translateX(-100%); }
	100% { transform: translateX(200%); }
}

/* Header bell — red unread-count badge (replaces the old blue dot). The badge is positioned
   against .klk-notif-bell-icon (a wrapper sized to the icon itself, not the whole nav-link) so
   it sits at the bell's corner regardless of how tall the surrounding link is — the desktop
   topbar link is 70px tall with the icon vertically centered inside it, so anchoring the badge
   to the link itself put it up near the link's top edge, well above the icon. */
.klk-notif-bell-icon {
	position: relative;
	display: inline-flex;
}
.klk-notif-count-badge {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: #fc4b6c;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	white-space: nowrap;
}

/* Reusable shimmer/skeleton loader (driven by Context.showShimmer / hideShimmer) */
.klk-shimmer {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	background: #e9edf1;
	vertical-align: middle;
}
.klk-shimmer::after {
	content: '';
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(255, 255, 255, 0.65) 50%,
		transparent 100%
	);
	animation: klkShimmer 1.4s ease-in-out infinite;
}
@keyframes klkShimmer {
	100% { transform: translateX(100%); }
}

/* Shared SMS chat thread — used by the contact-detail SMS tab and the Inbox chat modal so a
   conversation looks identical wherever it's opened. */
.sms-chat-pane {
	max-height: 460px; overflow-y: auto;
	padding: 16px 14px; background: #f0f2f5; border-radius: 10px;
	display: flex; flex-direction: column; gap: 2px;
}
.sms-date-sep {
	display: flex; align-items: center;
	margin: 14px 0 10px; font-size: 0.71rem; color: #adb5bd;
}
.sms-date-sep::before, .sms-date-sep::after {
	content: ''; flex: 1; height: 1px; background: #dee2e6;
}
.sms-date-sep span { padding: 0 10px; white-space: nowrap; }
.sms-row { display: flex; align-items: flex-end; margin-bottom: 3px; }
.sms-row.sms-out { justify-content: flex-end; }
.sms-row.sms-in  { justify-content: flex-start; }
.sms-row.sms-side-gap { margin-top: 10px; }
.sms-avatar-sm {
	width: 28px; height: 28px; border-radius: 50%;
	background: #90a4ae; color: #fff; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.65rem; font-weight: 700;
	margin-right: 7px; margin-bottom: 18px;
}
.sms-col { max-width: 68%; }
.sms-bubble-out {
	background: #1e88e5; color: #fff;
	padding: 9px 14px; border-radius: 18px 18px 4px 18px;
	font-size: 0.88rem; word-break: break-word; line-height: 1.45;
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
	text-align: left;
}
.sms-bubble-in {
	background: #fff; color: #343a40;
	border: 1px solid #e9ecef;
	padding: 9px 14px; border-radius: 18px 18px 18px 4px;
	font-size: 0.88rem; word-break: break-word; line-height: 1.45;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
	text-align: left;
}
.sms-meta-out { font-size: 0.7rem; color: #adb5bd; text-align: right; margin-top: 3px; padding-right: 2px; }
.sms-meta-in  { font-size: 0.7rem; color: #adb5bd; text-align: left;  margin-top: 3px; padding-left: 2px; }
.sms-status-ok      { color: #28a745; }
.sms-status-fail    { color: #dc3545; }
.sms-status-pending { color: #adb5bd; }
.sms-skeleton-bubble {
	display: inline-block;
	height: 34px;
	border-radius: 18px;
}
.sms-empty-state { text-align: center; padding: 40px 20px; color: #adb5bd; }
.sms-empty-state i { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.sms-empty-state p { font-size: 0.88rem; margin: 0; }

/* Consistent page fit across the app: the theme forces min-height: calc(100vh - 180px) on
   content containers, which overshoots pages whose header bar is taller than the theme's
   budget — producing an unnecessary scrollbar and dead space above the footer. Letting the
   content define its height keeps the footer directly beneath it on every page. */
.page-wrapper > .container-fluid.theme-page-wrapper {
	min-height: auto;
}

/* Reusable solid "Back" navigation button — one place to recolour every Back button site-wide
   (same --bs-btn-* pattern as .btn-edit / .btn-download / .btn-copy). */
/* Campaign status pills (green Sent / red Failed-Error / grey Created / blue-progress Sending).
   Truncate with ellipsis; the full text (incl. failure reason) is on the title tooltip. */
.klk-status {
	display: inline-block;
	/* Narrower than the old 220px: a long failure reason used to stretch the whole
	   Status column. The short label shows here, the full text is on the tooltip. */
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

/* Campaign status pills share the soft-fill language of .call-status-pill (§2 palette)
   so SMS/Voice/Email lists and the call log read as one system. Overriding here rather
   than in each list view keeps the recolour in a single place; !important is required
   because Bootstrap's .bg-* utilities are themselves !important. */
.klk-status.badge {
	padding: .28rem .55rem;
	border-radius: 50rem;
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.4;
}
.klk-status.bg-success   { background-color: #e6f6d8 !important; color: #4f8a10 !important; }
.klk-status.bg-warning   { background-color: #fff3d6 !important; color: #9a6b00 !important; }
.klk-status.bg-info      { background-color: #e0f1ff !important; color: #1f6fb2 !important; }
.klk-status.bg-danger    { background-color: #ffe0e0 !important; color: #c0392b !important; }
.klk-status.bg-secondary { background-color: #eceef2 !important; color: #5b6472 !important; }
.klk-status-sending {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}
.klk-status-sending .klk-progress {
	flex: 0 0 auto;
	width: 90px;
	height: 6px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
}
.klk-status-sending .klk-progress-bar {
	display: block;
	height: 100%;
	background: #0bb2fb;
}

/* Inline field validation (campaign create/edit) — red border + message under each field,
   shown all at once instead of blocking one-at-a-time alert modals. */
.error-textbox,
.error-textbox:focus {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.2) !important;
}
.klk-select-invalid {
	border-color: #dc3545 !important;
}
.klk-field-error {
	font-size: 0.8rem;
	margin-top: 4px;
}

/* ── Notifications (shared: bell dropdown + Message Center page) ─────────── */
.klk-notif-item,
.klk-notif-row {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 11px 16px;
	border-bottom: 1px solid #eef0f2;
	text-decoration: none;
	position: relative;
	transition: background-color 0.15s ease;
}
.klk-notif-item:hover,
.klk-notif-row.pointer-hand:hover {
	background-color: #f6f9fc;
}
.klk-notif-item.unread,
.klk-notif-row.unread {
	background-color: #f5faff;
	padding-left: 22px;
}
/* left accent marks unread — replaces the old right-side dot */
.klk-notif-item.unread::before,
.klk-notif-row.unread::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: #1a9bfc;
}
.klk-notif-body {
	flex: 1 1 auto;
	min-width: 0;
}
.klk-notif-msg {
	display: block;
	color: #11142d;
	font-size: 0.92rem;
	line-height: 1.4;
	white-space: normal;
	word-break: break-word;
}
.klk-notif-item .klk-notif-msg {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.klk-notif-item.unread .klk-notif-msg,
.klk-notif-row.unread .klk-notif-msg {
	font-weight: 600;
}
.klk-notif-time {
	display: block;
	margin-top: 3px;
	color: #9ca3af;
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.2;
}
.klk-notif-empty {
	text-align: center;
	color: #9ca3af;
	padding: 26px 16px;
	list-style: none;
}
.klk-notif-empty i {
	display: block;
	font-size: 2rem;
	margin-bottom: 8px;
	color: #cbd5e1;
}
.notif-mark-all {
	color: #1a9bfc;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}
.notif-mark-all:hover {
	text-decoration: underline;
}
.klk-notif-row.klk-notif-skeleton {
	cursor: default;
}
.klk-notif-row.klk-notif-skeleton:hover {
	background-color: transparent;
}
.klk-notif-skeleton-msg {
	display: block;
	height: 14px;
	border-radius: 4px;
}
.klk-notif-skeleton-time {
	display: block;
	height: 10px;
	width: 30%;
	border-radius: 4px;
	margin-top: 8px;
}

/* Inbox message preview: clean 2-line ellipsis; full text on hover via the cell's title tooltip */
.inbox-msg {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 260px;
	white-space: normal;
	word-break: break-word;
	line-height: 1.35;
}
/* in the mobile expanded (child) row, show the message in full */
.table tr.child .inbox-msg {
	-webkit-line-clamp: unset;
	display: block;
	max-width: 100%;
}

.btn-back {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-bg: #6c757d;
	--bs-btn-border-color: #6c757d;
	--bs-btn-hover-bg: #5c636a;
	--bs-btn-hover-border-color: #565e64;
	--bs-btn-focus-shadow-rgb: 130, 138, 145;
	--bs-btn-active-bg: #565e64;
	--bs-btn-active-border-color: #51585e;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #6c757d;
	--bs-btn-disabled-border-color: #6c757d;
}

.klickrr-gradient {
	background-image: linear-gradient(to right, #1a939a , #23a144);
}
.verify-graphics {
	width: 10%;
}
.auth-wrapper #resetform {
  display: none;
}
.topbar .top-navbar .navbar-header .navbar-brand .logo-text {
	margin-left: 0px;
}
.mailbox .message-center {
    max-height: 317px;
    height: auto;
}
.total-sent-icon {
  position: absolute;
  left: 46%;
  top: 45%;
}
.scroll-sidebar {
    position: relative;
    height: calc(100% - 0px);
}
.hidden {
	visibility: hidden;
	display: none;
}
.theme-page-wrapper {
	background-image: url('/images/bg.png');
	background-repeat: no-repeat;
	background-size: cover;
}
@media (max-width: 767.98px) {
	#main-wrapper {
		--mobile-menu-vh: 100vh;
		--mobile-menu-header-h: clamp(64px, 8.5vh, 76px);
		--mobile-menu-footer-h: clamp(66px, 8.5vh, 84px);
		--mobile-menu-item-py: clamp(8px, 1.45vh, 14px);
		--mobile-menu-item-px: clamp(12px, 3.5vw, 18px);
		--mobile-menu-title-size: clamp(1.25rem, 2.7vw, 1.35rem);
		--mobile-menu-subtext-size: clamp(1.1rem, 2.1vw, 1.2rem);
		--mobile-menu-font-size: clamp(1.2rem, 2.4vw, 1.25rem);
		--mobile-submenu-font-size: clamp(1.1rem, 2.2vw, 1.15rem);
	}

	.container-fluid.theme-page-wrapper {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	/* Mobile drawer: full-screen width with vertical scroll */
	#main-wrapper[data-sidebartype=mini-sidebar] .left-sidebar,
	#main-wrapper[data-sidebartype=mini-sidebar] .left-sidebar .sidebar-footer {
		width: 100vw;
		max-width: 100vw;
		left: -100vw;
	}

	#main-wrapper[data-sidebartype=mini-sidebar] .left-sidebar {
		position: fixed;
		top: 0;
		height: var(--mobile-menu-vh);
		z-index: 1050;
		padding-top: 0;
	}

	#main-wrapper.show-sidebar .left-sidebar,
	#main-wrapper.show-sidebar .left-sidebar .sidebar-footer {
		left: 0;
	}

	#main-wrapper.show-sidebar,
	#main-wrapper.show-sidebar .page-wrapper {
		height: var(--mobile-menu-vh);
		overflow: hidden;
	}

	#main-wrapper[data-sidebartype=mini-sidebar] .left-sidebar .scroll-sidebar {
		height: calc(var(--mobile-menu-vh) - var(--mobile-menu-header-h) - var(--mobile-menu-footer-h));
		overflow-y: auto !important;
		overscroll-behavior: contain;
		touch-action: pan-y;
		-webkit-overflow-scrolling: touch;
	}

	#main-wrapper[data-sidebartype=mini-sidebar] .left-sidebar {
		padding-bottom: var(--mobile-menu-footer-h);
	}

	.mobile-menu-footer {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		min-height: var(--mobile-menu-footer-h);
		padding: clamp(10px, 1.5vh, 14px);
		background: #fff;
		border-top: 1px solid #ecf0f2;
		z-index: 2;
	}

	.mobile-menu-footer .btn {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mobile-menu-header {
		position: relative;
		height: var(--mobile-menu-header-h);
		padding: 0 clamp(10px, 3vw, 16px);
		background: #fff;
		border-bottom: 1px solid #ecf0f2;
	}

	.mobile-menu-brand {
		gap: 6px;
	}

	.mobile-menu-brand .mobile-logo-icon {
		height: 50px;
		width: auto;
	}

	.mobile-menu-brand .mobile-logo-text {
		height: 34px;
		width: auto;
	}

	.mobile-menu-close {
		position: absolute;
		right: 8px;
		top: 50%;
		transform: translateY(-50%);
		color: #11142d;
		padding: 0.25rem 0.5rem;
	}

	.mobile-menu-close .mobile-menu-close-icon {
		display: inline-block;
		font-size: 1.9rem;
		line-height: 1;
	}

	.sidebarnav {
		padding: clamp(0.65rem, 1.4vh, 1rem) clamp(0.65rem, 2.8vw, 0.9rem) clamp(0.45rem, 1vh, 0.75rem) !important;
	}

	.sidebarnav h4 {
		font-size: var(--mobile-menu-title-size);
		margin-bottom: clamp(0.15rem, 0.4vh, 0.35rem);
	}

	.sidebarnav h6 {
		font-size: var(--mobile-menu-subtext-size);
		line-height: 1.25;
		margin-bottom: clamp(0.1rem, 0.35vh, 0.3rem);
	}

	.sidebar-nav ul .sidebar-item .sidebar-link {
		padding: var(--mobile-menu-item-py) var(--mobile-menu-item-px);
	}

	.sidebar-nav ul .sidebar-item .sidebar-link .hide-menu {
		font-size: var(--mobile-menu-font-size);
	}

	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link {
		padding: var(--mobile-menu-item-py) var(--mobile-menu-item-px) !important;
		justify-content: flex-start !important;
		font-size: var(--mobile-menu-font-size) !important;
		line-height: 1.35 !important;
	}

	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link i,
	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link .feather,
	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link .klickrr-icons,
	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link .klickrr-product-icon {
		margin-right: clamp(10px, 2.8vw, 14px) !important;
	}

	.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link {
		padding: calc(var(--mobile-menu-item-py) - 1px) var(--mobile-menu-item-px) calc(var(--mobile-menu-item-py) - 1px) calc(var(--mobile-menu-item-px) + 30px);
	}

	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link {
		padding: calc(var(--mobile-menu-item-py) - 1px) var(--mobile-menu-item-px) calc(var(--mobile-menu-item-py) - 1px) calc(var(--mobile-menu-item-px) + 30px) !important;
		font-size: var(--mobile-submenu-font-size) !important;
	}

	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item > .sidebar-link .hide-menu {
		font-size: var(--mobile-menu-font-size) !important;
		font-weight: 500;
	}

	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link i,
	#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item .sidebar-link .feather {
		font-size: clamp(18px, 2.8vh, 22px) !important;
	}

	.sidebar-nav ul .sidebar-item {
		margin-bottom: 0;
	}
}

@media (max-width: 767.98px) and (max-height: 700px) {
	#main-wrapper {
		--mobile-menu-item-py: 8px;
		--mobile-menu-item-px: 12px;
		--mobile-menu-header-h: 64px;
		--mobile-menu-footer-h: 66px;
		--mobile-menu-font-size: 1.2rem;
		--mobile-submenu-font-size: 1.1rem;
	}
}

@media (max-width: 767.98px) and (min-height: 860px) {
	#main-wrapper {
		--mobile-menu-item-py: 13px;
		--mobile-menu-item-px: 16px;
		--mobile-menu-header-h: 76px;
		--mobile-menu-footer-h: 82px;
		--mobile-menu-font-size: 1rem;
		--mobile-submenu-font-size: 0.94rem;
	}
}

@media (max-width: 767.98px) and (min-height: 980px) {
	#main-wrapper {
		--mobile-menu-item-py: 15px;
		--mobile-menu-item-px: 18px;
		--mobile-menu-header-h: 80px;
		--mobile-menu-footer-h: 86px;
		--mobile-menu-font-size: 1.06rem;
		--mobile-submenu-font-size: 1rem;
	}
}
.theme-btn {
	color: #4EA9A1;
	background: #fff;
	border: 1px solid #4EA9A1;
}
.theme-btn:hover {
	color: #fff;
	background: #4EA9A1;
	border: 1px solid #4EA9A1;
}
.call-button {
	color: #4EA9A1;
	background: #fff;
}
.call-button:hover {
	transform: scale(1.5);
}
.call-button-cancel {
	color: red;
	background: #fff;
}
.call-button-cancel:hover {
	color: #fff;
	background: red;
}
.theme-dark-btn {
	color: #FFF;
	background: #4EA9A1;
	border: 1px solid #4EA9A1;
}
.theme-dark-btn:hover {
	color: #000;
	background: #4EA9A1;
	border: 1px solid #4EA9A1;
}
.dot-purple {
	color: #A461D8;
}
.dot-green {
	color: #82C43C;
}
.dot-blue-light {
	color: #50B5FF;
}
.dot-blue-dark {
	color: #337AB7;
}
.dot-orange {
	color: #FFC542;
}
.dot-red {
	color: #FF0000;
}
.dot-yellow {
	color : #FFF380;
}
.dot-peach {
	color : #FF9899;
}
.dot-brown {
	color : #964B00;
}
.theme-page-titles-section {
	background-color: #fff;
	margin: 0px;
	max-width: 100%;
}
.bg-white {
	background-color: #FFF;
}
.notification-read {
	background-color: #0062ff14;
}
.subText {
	font-size: small;
	font-style: italic;
	overflow: hidden;
	text-overflow: ellipsis;
}
.klickrr-red-text {
	color: red;
}
.underlined {
	text-decoration: underline;
}
.underline-hover:hover {
	text-decoration: underline;
}
.no-padding {
	padding: 0;
}
.pointer-hand {
	cursor: pointer;;
}
.code {
	background-color: #ecf0f2;
    opacity: 1;
}
.code:focus {
	background-color: #ecf0f2;
    opacity: 1;
}
/* Creative CSS */
.no-border {
	border: none; 
}
.no-background {
	background: transparent;
}
.box {
	font-size: 1.25rem; /* 20 */
	background-color: #e2e2e2;
	position: relative;
	padding: 100px 20px;
}
.box__dragndrop, .box__uploading, .box__success, .box__error {
	display: none;
}
.box.has-advanced-upload {
	outline: 2px dashed #92b0b3;
	outline-offset: -10px;
	-webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
	transition: outline-offset .15s ease-in-out, background-color .15s linear;
}
.box.has-advanced-upload .box__dragndrop {
	display: inline;
}
.box.is-dragover {
	background-color: #004080;
}
.box__button {
	display: none;
}
.no-js .box__button {
	display: block;
}
.box__input label {
	background-color: teal;
}
.box__input span {
	background-color: teal;
}
.defaultTile {
	height: 150px;
	display: inline-block;
}
.mediaTile {
	height: 150px;
	display: inline-block;
}
.mediaTile img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	padding: 0px;
}
.mediaTile .tileName {
	text-align: center;
	height: 45px;
	line-height: 45px;
	padding: 0px;
	background-color: #e2e2e2;
	overflow: hidden;
	font-size: smaller;
}
.defaultTile .tileName {
	text-align: center;
	height: 45px;
	line-height: 45px;
	padding: 0px;
	background-color: #e2e2e2;
	overflow: hidden;
	font-size: smaller;
}
.mediaTile .fa,
.defaultTile .fa {
	font-size: 80px;
	line-height: 100px;
	font-weight: lighter;
	text-align: center;
	width: 100%;
	height: 100px;
	padding: 0px;
	margin: 0px;
	border-radius: 0px;
}
.mediaTile .middle {
	transition: .5s ease;
	opacity: 1;
	top: 5px;
	right: -10px;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
	color: #d58512;
}
.mediaTile .middle .fa {
	font-size: 25px;
}
.creative-skeleton-tile {
	height: 150px;
	display: inline-block;
	vertical-align: top;
}
.creative-skeleton-thumb {
	display: block;
	width: 100%;
	height: 100px;
}
.creative-skeleton-name {
	display: block;
	width: 70%;
	height: 12px;
	margin: 8px auto 0;
}

/* Upload drag-and-drop zone. Shared by /asset-library and the SMS/Voice/Email
   "media library" upload popup (templates/view/creative/creative.jsp). */
.asset-dropzone {
	border: 2px dashed #c5cdda;
	border-radius: .6rem;
	padding: 2rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.asset-dropzone:hover, .asset-dropzone.dragover {
	border-color: #2f8de4;
	background: #f3f8fe;
}
.asset-dropzone .asset-dropzone-icon i {
	width: 40px;
	height: 40px;
	color: #2f8de4;
}
.asset-browse-link { color: #2f8de4; font-weight: 600; text-decoration: underline; }
.asset-selected-file {
	margin-top: .9rem;
	padding: .5rem .75rem;
	background: #eef6ff;
	border-radius: .4rem;
	font-weight: 500;
	word-break: break-all;
}
#bubble-container {
	background-image: url('/images/phone.png');
	background-repeat: no-repeat;
	height: 675px;
}
.bubble {
	position: relative;
	width: 220px;
	background: gainsboro;
	border-radius: 10px;
	padding: 10px;
	color: black;
	text-align: left;
	word-wrap: break-word;
	white-space: pre-wrap;
	top: 20px;
	left: 20px;

}
.bubble-bottom-left:before {
	content: "";
	width: 0px;
	height: 0px;
	position: absolute;
	border-right: 5px solid transparent;
	border-top: 12px solid gainsboro;
	border-bottom: 20px solid transparent;
	left: 9px;
	bottom: -24px;
	border-left: 12px solid gainsboro;
}
/* The device with borders */
.smartphone {
  position: relative;
  margin: auto;
  border: 6px black solid;
  border-top-width: 60px;
  border-bottom-width: 60px;
  border-radius: 36px;
}
/* The horizontal line on the top of the device */
.smartphone:before {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}
/* The circle on the bottom of the device */
.smartphone:after {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}
/* The screen (or content) of the device */
.smartphone .content {
  width: 100%;
  height: 65vh;
  background: white;
  overflow: auto;
}
.subText {
	font-size : small;
}
.klickrr-red-text {
	color :red;
}
.underlined {
	text-transform: underlined;
}
.klickrr-theme-button {
	background-color : #15919f;
	border-bottom-color : #15919f;
	font-weight: bold;
}

div.klickrr-theme-button:hover {
	background-color : #54b4c6;
	border-bottom-color : #15919f;
}
.center-text {
	text-align : center;	
}
/* Dialpad */
#dialer-container {
    position: absolute;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-top: 5px;
}

.dialer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.dialpad-input {
    width: 100%;
}

.dialer-btn {
    width: 50px;
    height: 40px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.dialer-btn:hover {
    background: linear-gradient(135deg, #3cc1fc, #00aaff);
}

.backspace {
    grid-column: span 3;
    width: auto;
}

.backspace:hover {
    background: #c82333;
}
.campaignname {
	word-wrap: break-word;
	display: inline-block;
	white-space: normal;
	overflow-y: auto;
	max-height: 300px;
}
.campaignmessage {
	word-wrap: break-word;
	width: 300px;
	display: inline-block;
	white-space: normal;
	overflow-y: auto;
	max-height: 300px;
}
.filename-cell {
	max-width:250px;
	word-wrap: break-word;
	white-space: normal;
}
.filename {
	display: inline-block;
	background-color: #e0e0e0;
	color: #333;
	padding: 4px 8px;
	margin: 2px;
	border-radius: 12px;
	font-size: 12px;
}
#phone {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    margin-bottom: 16px;
	justify-content: center;
}
#iphone {
    width: 320px;
    min-height: 640px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    border: 4px solid black;
    margin-bottom: 16px;
}
.call-dialpad-shell {
	justify-content: center;
}
#iphone .notch {
    width: 120px;
    height: 20px;
    background: black;
    border-radius: 10px;
    position: absolute;
    top: 10px;
}
#iphone .screen {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}
#iphone .screen input {
    width: 95%;
    height: 40px;
    text-align: center;
    font-size: 24px;
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
}
#iphone .delete {
    font-size: 1.10em;
    background: none;
    border: none;
    cursor: pointer;
	color: #4f5867;
}
#phone .dialpad,
#iphone .dialpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625em;
    margin-top: 20px;
}
#phone button,
#iphone button {
    width: 80px;
    height: 80px;
    font-size: 24px;
    border: none;
    background: #eee;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#phone button span,
#iphone button span {
    font-size: 12px;
    color: gray;
}
#iphone .call-btn {
    width: 80px;
    height: 80px;
    background: #55ba66;
    color: white;
    font-size: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
	opacity: .7;
}
#iphone .call-btn.ready,
#iphone .call-btn.active {
	opacity: 1;
}
#iphone .call-btn span {
	font-size: 34px;
	color: white;
}
#iphone .call-btn.active {
    background: red;
}
#iphone .call-btn.active span {
	display: inline-block;
	transform: rotate(134deg);
}
#phone .dialpad-btn:hover,
#iphone .dialpad-btn:hover {
    background: linear-gradient(135deg, #3cc1fc, #00aaff);
}
#iphone button:focus-visible,
#phone button:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 3px;
}

.swal-title {
	display: inline-flex;
	flex-flow: column;
}

.swal-calling-number {
	font-size: 18px;
	margin-bottom: 20px;
}

.swal-action-btn {
	display: flex;
	justify-content: space-evenly;
}

.swal-call-btn {
	width: 80px;
	height: 80px;
	font-size: 28px;
	color: white;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	display: inline-flex;
	cursor: pointer;
}

.swal-pickup {
	background-color: #55ba66;
	color: white;
}

.swal-hangup {
	background-color: red;
	transform: rotate(134deg);
}

.avatar-sm {
    --bs-avatar-size: 2rem;
    --bs-avatar-initial: 0.8125rem;
    --bs-avatar-initial-inline: 2px;
}

.avatar {
    --bs-avatar-size: 2.5rem;
    --bs-avatar-group-border: var(--bs-paper-bg);
    --bs-avatar-initial-inline: 3px;
    --bs-avatar-initial-bg: #39cb7f;
    position: relative;
    block-size: var(--bs-avatar-size);
    cursor: pointer;
    inline-size: var(--bs-avatar-size);
}

.avatar .avatar-initial {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-avatar-initial-bg);
    color: var(--bs-white);
    font-size: var(--bs-avatar-initial);
    font-weight: 500;
    inset: 0;
    text-transform: uppercase;
}

.rounded-circle {
    border-radius: 50% !important;
}

.bg-label-info {
    background-color: color-mix(in sRGB, var(--bs-paper-bg) var(--bs-bg-label-tint-amount), var(--bs-info)) !important;
    color: var(--bs-info) !important;
}

#airbnb-style-wrapper, .airbnb-style-wrapper {
	display: inline-flex;
	align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
}

#airbnb-date-range {
	width: 200px;
	border: none;
	cursor: pointer;
	caret-color: transparent;
}

/* Same pill treatment reused outside Dashboard (e.g. New Campaign Schedule field), but
   full-width to fit a form column, and with a transparent (not none) border so the shared
   .error-textbox validation state still has a border to turn red. */
.airbnb-date-range {
	width: 100%;
	border: 1px solid transparent;
	cursor: pointer;
	caret-color: transparent;
	font-family: var(--bs-body-font-family);
	font-size: 0.9375rem;
	font-weight: 400;
	color: #54667a;
}

.airbnb-flatpickr {
	border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    width: 200px;
    cursor: pointer;
    caret-color: transparent;
}

.airbnb-flatpickr::placeholder {
	color: #aaa;
}

.btn {
	border-radius: 9px;
}
#qrSettingsModal .modal-content {
	display: flex;
	flex-direction: column;
	max-height: 90vh;
}

#qrSettingsModal .modal-body {
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

#qrSettingsModal .qr-scroll-area {
	overflow-y: auto;
	flex: 1 1 auto;
	max-height: none;
	padding-right: 6px;
}

/* Make the scrollbar itself the "there's more below" cue — the Size & Shape
   section otherwise sits past the fold with nothing hinting it's reachable. */
#qrSettingsModal .qr-scroll-area::-webkit-scrollbar {
	width: 10px;
}
#qrSettingsModal .qr-scroll-area::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.28);
	border-radius: 8px;
}
#qrSettingsModal .qr-scroll-area::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.06);
}
#qrSettingsModal .qr-scroll-area {
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.28) rgba(0, 0, 0, 0.06);
}

#qrSettingsModal .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#qrPreview {
	flex: 0 0 auto;
	overflow: hidden;
}
/*
Design 1
.table thead th {
	font-weight: 1000;
	font-size: 1.5rem;
	background-color: #e2e2e2;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-bg: #0bb2fb;
	--bs-btn-border-color: #0bb2fb;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #0bb2fb;
	--bs-btn-hover-border-color: #0bb2fb;
	--bs-btn-focus-shadow-rgb: 64, 104, 194;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #0bb2fb;
	--bs-btn-active-border-color: #0bb2fb;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0bb2fb;
	--bs-btn-disabled-border-color: #0bb2fb;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-bg: #4EA9A1;
	--bs-btn-border-color: #4EA9A1;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #4EA9A1;
	--bs-btn-hover-border-color: #4EA9A1;
	--bs-btn-focus-shadow-rgb: 64, 104, 194;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #4EA9A1;
	--bs-btn-active-border-color: #4EA9A1;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #4EA9A1;
	--bs-btn-disabled-border-color: #4EA9A1;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6c757d;
	--bs-btn-border-color: #6c757d;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #5c636a;
	--bs-btn-hover-border-color: #565e64;
	--bs-btn-focus-shadow-rgb: 130, 138, 145;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #565e64;
	--bs-btn-active-border-color: #51585e;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #6c757d;
	--bs-btn-disabled-border-color: #6c757d;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-bg: red;
	--bs-btn-border-color: red;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: red;
	--bs-btn-hover-border-color: red;
	--bs-btn-focus-shadow-rgb: 130, 138, 145;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: red;
	--bs-btn-active-border-color: red;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: red;
	--bs-btn-disabled-border-color: red;
}*/
/*
Design 2
.table thead th {
	font-weight: 1000;
	font-size: 1.5rem;
	color: #2c3e50;
	background-color: #f4f6f8;
	border-bottom: 0.125rem solid #d0d7de;
	padding: 0.625rem 0.75rem;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-bg: #198754;
	--bs-btn-border-color: #198754;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #157347;
	--bs-btn-hover-border-color: #146c43;
	--bs-btn-focus-shadow-rgb: 25, 135, 84;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #146c43;
	--bs-btn-active-border-color: #13653f;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #198754;
	--bs-btn-disabled-border-color: #198754;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-bg: #0d6efd;
	--bs-btn-border-color: #0d6efd;
	--bs-btn-hover-bg: #0b5ed7;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6c757d;
	--bs-btn-border-color: #6c757d;
	--bs-btn-hover-bg: #5c636a;
	--bs-btn-hover-border-color: #565e64;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-bg: #dc3545;
	--bs-btn-border-color: #dc3545;
	--bs-btn-hover-bg: #bb2d3b;
	--bs-btn-hover-border-color: #b02a37;
	--bs-btn-focus-shadow-rgb: 220, 53, 69;
}
*/
/*
Design 3
.table thead th {
	font-weight: 1000;
	font-size: 1.5rem;
	color: #ffffff;
	background-color: #34495e;
	border-bottom: 0.125rem solid #2c3e50;
	padding: 0.625rem 0.75rem;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-bg: #20c997;
	--bs-btn-border-color: #20c997;
	--bs-btn-hover-bg: #1aa179;
	--bs-btn-hover-border-color: #18966f;
	--bs-btn-focus-shadow-rgb: 32, 201, 151;
	--bs-btn-active-bg: #18966f;
	--bs-btn-active-border-color: #178b66;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6610f2;
	--bs-btn-border-color: #6610f2;
	--bs-btn-hover-bg: #520dc2;
	--bs-btn-hover-border-color: #4c0db6;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-bg: #495057;
	--bs-btn-border-color: #495057;
	--bs-btn-hover-bg: #343a40;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-bg: #b02a37;
	--bs-btn-border-color: #b02a37;
	--bs-btn-hover-bg: #8b1e2b;
}*/
/*
Design 4
.table thead th {
	font-weight: 800;
	font-size: 1.5rem;
	color: #1f2937;
	background-color: #ffffff;
	border-bottom: 3px solid #0d6efd;
	padding: 10px 12px;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6c8c2f;
	--bs-btn-border-color: #6c8c2f;
	--bs-btn-hover-bg: #5a7527;
	--bs-btn-hover-border-color: #536d24;
	--bs-btn-focus-shadow-rgb: 108, 140, 47;
	--bs-btn-active-bg: #536d24;
	--bs-btn-active-border-color: #4d6522;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-bg: #0dcaf0;
	--bs-btn-border-color: #0dcaf0;
	--bs-btn-hover-bg: #31d2f2;
	--bs-btn-hover-border-color: #25cff2;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-bg: #6f42c1;
	--bs-btn-border-color: #6f42c1;
	--bs-btn-hover-bg: #59339d;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-bg: #fd7e14;
	--bs-btn-border-color: #fd7e14;
	--bs-btn-hover-bg: #e96b0c;
}*/
/*
Design 5
.table thead th {
	font-weight: 1000;
	font-size: 1.5rem;
	color: #495057;
	background-color: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	padding: 10px 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-bg: #0d6efd;
	--bs-btn-border-color: #0d6efd;
	--bs-btn-hover-bg: #0b5ed7;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-bg: #3b5998;
	--bs-btn-border-color: #3b5998;
	--bs-btn-hover-bg: #334f88;
	--bs-btn-hover-border-color: #2d4373;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-bg: #795548;
	--bs-btn-border-color: #795548;
	--bs-btn-hover-bg: #6d4c41;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-bg: #d63384;
	--bs-btn-border-color: #d63384;
	--bs-btn-hover-bg: #b02a6f;
}
*/
.table .tbl-header {
	font-weight: 1000;
	font-size: 1.5rem;
	color: #ffffff;
	background-color: #1e4db7; /* fallback for the gradient below */
	background-image: linear-gradient(135deg, #1e4db7 0%, #163a8c 100%);

	border-bottom: 0.125rem solid #2c3e50;
	text-align: center;
}
.table .tbl-header th {
	padding: 5px 10px;
}
.table .tbl-header .dtfc-fixed-left {
	font-weight: 1000;
	font-size: 1.5rem;
	color: #ffffff;
	/* Fixed-left header cell overlays during horizontal scroll; use the gradient's start colour so it
	   blends with the left edge of the .tbl-header gradient. */
	background-color: #1e4db7;
	border-bottom: 0.125rem solid #2c3e50;
	padding: 0.425rem 0.5rem;
}
.dt-column-title {
	text-align: center;
}
.btn-edit {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-bg: #20c997;
	--bs-btn-border-color: #20c997;
	--bs-btn-hover-bg: #1aa179;
	--bs-btn-hover-border-color: #18966f;
	--bs-btn-focus-shadow-rgb: 32, 201, 151;
	--bs-btn-active-bg: #18966f;
	--bs-btn-active-border-color: #178b66;
}
.btn-download {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-bg: #0d6efd;
	--bs-btn-border-color: #0d6efd;
	--bs-btn-hover-bg: #0b5ed7;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
}
.btn-copy {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-bg: #495057;
	--bs-btn-border-color: #495057;
	--bs-btn-hover-bg: #343a40;
}
.btn-delete {
	--bs-btn-color: #fff;
	--bs-btn-hover-color: #fff;
	--bs-btn-active-color: #fff;
	--bs-btn-bg: #b02a37;
	--bs-btn-border-color: #b02a37;
	--bs-btn-hover-bg: #8b1e2b;
}
.btn-cancel {
	--bs-btn-color: #333333;
	--bs-btn-hover-color: #333333;
	--bs-btn-active-color: #333333;
	--bs-btn-bg: #cfd2d6;
	--bs-btn-hover-bg: #bdbdbd;
	--bs-btn-active-bg: #cfd2d6;
	--bs-btn-border-color: #E0E0E0;
	--bs-btn-active-border-color: #E0E0E0;
}
.btn-qr-code {
	--bs-btn-color: #000;
	--bs-btn-bg: #0bb2fb;
	--bs-btn-border-color: #0bb2fb;
	--bs-btn-hover-color: #000;
	--bs-btn-hover-bg: #30befc;
	--bs-btn-hover-border-color: #23bafb;
	--bs-btn-focus-shadow-rgb: 9, 151, 213;
	--bs-btn-active-color: #000;
	--bs-btn-active-bg: #3cc1fc;
	--bs-btn-active-border-color: #23bafb;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #000;
	--bs-btn-disabled-bg: #0bb2fb;
	--bs-btn-disabled-border-color: #0bb2fb;
}
.actions-right {
	display: flex;
	justify-content: flex-end;
}
.dt-type-numeric {
	text-align: center !important;
}
/* DataTables mirrors numeric-column headers (sort icon before the title, via
   flex-direction: row-reverse) by default. That puts the icon at the column's
   LEFT edge — right beside the previous column's own icon on ITS right edge —
   so two unrelated columns' icons visually collide into what looks like one
   column with two sort icons. Keep every header icon on the right, uniformly. */
table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable th.dt-type-numeric div.dt-column-footer {
	flex-direction: row !important;
}
.klickrr-icons {
	width: 21px;
	height: 21px;
	margin-left: 8px;
	margin-right: 15px;
	vertical-align: middle;
	text-align: center;
}
.klickrr-product-icon {
	width: 26px;
	height: 26px;
	margin-left: 6px;
	margin-right: 13px;
	border-radius: 7px;
	object-fit: cover;
	vertical-align: middle;
}
.klk-menu-pro-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 5px;
	transform: translateY(-6px);
	width: auto;
	height: auto;
	color: #c18a17;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	vertical-align: middle;
	opacity: 0.9;
}
.klk-menu-pro-badge i {
	font-size: 15px !important;
	line-height: 1;
}
#main-wrapper[data-layout=vertical][data-sidebartype=mini-sidebar] .sidebar-nav ul .sidebar-item > .sidebar-link .hide-menu .klk-menu-pro-badge {
	display: none;
}
.logo-icon .dark-logo {
	height: 60px;
}
.logo-icon .light-logo {
	height: 60px;
}
.logo-text .dark-logo {
	height: 40px;
}
.logo-text .light-logo {
	height: 40px;
}
.light-logo {
	height: 60px;
}
@media (max-width: 767.98px) {
	.topbar .top-navbar .navbar-header .mobile-topbar-actions {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		line-height: 1;
	}

	.topbar .top-navbar .navbar-header .mobile-topbar-actions .dropdown {
		position: static;
	}

	.topbar .top-navbar .navbar-header .mobile-topbar-actions .dropdown-menu {
		left: 0;
		right: 0;
	}

	.topbar .top-navbar .navbar-header .mobile-topbar-actions .mobile-notification-link,
	.topbar .top-navbar .navbar-header .mobile-topbar-actions .mobile-dialer-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0.5rem;
		color: inherit;
	}

	.topbar .top-navbar .navbar-header .mobile-topbar-actions i {
		font-size: 1.1rem;
	}

	.topbar .top-navbar .navbar-header .navbar-brand .logo-icon .dark-logo,
	.topbar .top-navbar .navbar-header .navbar-brand .logo-icon .light-logo {
		height: 50px;
	}

	.topbar .top-navbar .navbar-header .navbar-brand .logo-text .dark-logo,
	.topbar .top-navbar .navbar-header .navbar-brand .logo-text .light-logo {
		height: 34px;
	}
	.mobile-p-0 {
		padding: 0px !important;
	}
	.mobile-p-3 {
		padding: 1rem !important;
	}
	.mobile-m-0 {
		margin: 0px !important;
	}
	.mobile-w-100 {
		width: 100% !important;
	}
	.page-titles {
		min-height: 30px;
	}
	.page-wrapper > .container-fluid, .page-wrapper > .container-sm, .page-wrapper > .container-md, .page-wrapper > .container-lg, .page-wrapper > .container-xl, .page-wrapper > .container-xxl {
		padding: 10px;
	}
}
.page-titles-shrink {
	padding-top: 5px;
	padding-bottom: 5px;
}

table.dataTable tbody td.dtr-control {
	display: table-cell;
	vertical-align: middle;
}

/* Multi-select2 fields (e.g. Select List/Keyword) render with no dropdown arrow in the
   default select2 theme — that only applies to single-selects — so an empty one is
   indistinguishable from a plain text input. Reuse the same chevron .form-select already
   uses (see style.css) so it reads as a selector and matches every native <select> in the app. */
.select2-container--default .select2-selection--multiple {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2311142d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px 12px;
	border: 1px solid #ecf0f2 !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: rgba(0, 0, 0, 0.25) !important;
}

/* Date-picker icon, shared with the Dashboard date-range control (§ ri-calendar-line). */
.date-range-icon {
	color: #6B7280;
	font-size: 1.15rem;
	margin-right: 8px;
}

@media (max-width: 767.98px) {
	html, body, #main-wrapper, .page-wrapper, .table-responsive-md {
		overflow-x: hidden;
	}
	.compose-desktop, .outbox-help-text, .refresh,
	.question, #sms-preview-container{
		display: none;
	}
	.compose-mobile {
		display: inline;
	}
	table.dataTable {
		width: 100% !important;
	}
	.card-body {
		padding: 10px;
	}
	.action-btn.show-btn{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.action-btn.show-btn a{
		flex: 1;
		margin: 0 3px;
		text-align: center;
		font-size: 0.9rem;
		padding: 3px 2px;
		height: 45px;
		display: flex;
	}
	#g_span1, #g_span2{
		display: none;
	}
	.mobile-actions .btn {
		display: inline-flex !important;
		align-items: center;
		margin-left: 0 !important;
		justify-content:center;
		text-align:center;
		white-space: nowrap;
		flex: 1 1 0;
		color: #fff !important;
		width: 100%;
		height: 45px;
		font-size: 1rem;
	}
	.mobile-actions .btn i {
		margin-right: 4px;
	}
	.mobile-actions {
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		gap: 6px;
		justify-content: flex-start !important;
		overflow-x: hidden;
	}
	#outbox-table tr.child > td,
	#outbox-table tr.child table,
	#outbox-table tr.child .dtr-details {
		width: 400px !important;
		max-width: 400px !important;
	}

	#outbox-table tr.child table {
		table-layout: fixed;
	}

	#outbox-table tr.child td {
		white-space: normal !important;
		word-break: break-word;
	}
	.list-actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
	}
	.mobile-edit-view {
		display: flex;
		align-items: center;
		gap: 8px;
	}
	.mobile-edit-view > label {
		flex: 0 0 35%;
		margin-bottom: 0;
		white-space: nowrap;
		display: flex;
		align-items: center;
	}
	.mobile-edit-view > label span.text-danger {
		margin-left: 2px;
		white-space: nowrap;
	}
	.mobile-edit-view .controls,
	.mobile-edit-view input,
	.mobile-edit-view select {
		flex: 1 1 auto;
		width: 100%;
		box-sizing: border-box;
	}
	.mobile-edit-view .select2-container {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 1 1 0;
	}

	.mobile-edit-view .select2-selection--multiple {
		display: flex !important;
		flex-wrap: wrap !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		width: 100% !important;
		max-height: 60px;
		min-height: 36px;
		box-sizing: border-box;
		padding: 2px 6px;
	}

	.mobile-edit-view .select2-selection__choice {
		max-width: 100% !important;
		white-space: normal;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: break-word;
		margin: 2px 2px 2px 0 !important;
	}

	.mobile-edit-view .select2-search--inline .select2-search__field {
		width: auto !important;
		min-width: 40px;
	}
	.label-desktop{
		display:none !important;
	}

	.label-mobile{
		display:inline;
	}
	.mobile-header > [class*="col-"] {
		padding-left: 0;
		padding-right: 0;
	}
	.table tr.child table {
		table-layout: fixed;
		width: 100%;
	}

	.table tr.child td {
		overflow: hidden;
	}

	.table tr.child .template-preview {
		display: block;
		max-width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.table td.name {
		width: 88vw !important;
		max-width: 88vw !important;
		overflow: visible !important;
		white-space: normal !important;
	}

	.table td.name .user-name {
		display: block;
		max-width: 100%;
		overflow: visible !important;
		text-overflow: clip !important;
		white-space: normal !important;
		word-break: break-word;
	}
	.mobile-help-trigger {
		cursor: pointer;
	}
	.table-sm > :not(caption) > * > * {
		padding: 5px 8px;
	}
	.mobile-upload-file {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 0.5rem;
	}
	.mobile-upload-file .label-mobile {
		display: inline !important;
		white-space: nowrap;
		font-weight: 500;
	}
	.mobile-upload-file > .controls {
		display: flex;
		justify-content: flex-end;
		margin-top: 0;
	}
	.mobile-upload-file > .controls button {
		white-space: nowrap;
		margin-left: 70px;
	}
	.mobile-message-bottom {
		margin-bottom: 1rem;
		display: flex;
		flex-wrap: wrap;
		column-gap: 4px;
		row-gap: 4px;
		justify-content: flex-start !important;
		font-size: 0;
	}
	.mobile-message-bottom > span {
		font-size: 14px;
	}
}
@media (min-width: 768px) {
	.label-mobile{
		display:none;
	}
	.compose-mobile {
		display: none !important;
	}
	.list-actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
	}
	.mobile-help-trigger {
		display: none !important;
	}
}
.info-icon {
	color: #67757c;
}
.tooltip {
	--bs-tooltip-bg: #000;
	--bs-tooltip-opacity: 1;
}
.tooltip .tooltip-inner {
	opacity: 1;
	text-align: justify;
	max-width: 220px;
}

/* ==========================================================================
   Pre-login (Login / Sign Up / Recover) UX fixes
   ========================================================================== */

/* #7 Centre the auth card, but scroll-safe: auto margins centre it when it fits and
   collapse to the top (fully scrollable) when the form is taller than the viewport. */
.signup-section {
	min-height: 100vh;
	overflow-y: auto;
	padding-top: 2rem;
	padding-bottom: 2rem;
	align-items: flex-start !important;
}
.signup-section > .row {
	margin-top: auto;
	margin-bottom: auto;
}

/* #4 Password show/hide eye toggle */
.password-field {
	position: relative;
}
.password-field .form-control {
	padding-right: 44px;
}
.password-field .toggle-password {
	position: absolute;
	/* Centers on the input's own row (Bootstrap form-floating control height = 3.5rem + 2px),
	   not 50% of .password-field, which also holds the strength meter and helper text below. */
	top: calc((3.5rem + 2px) / 2);
	right: 8px;
	transform: translateY(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #67757c;
	cursor: pointer;
	border-radius: 6px;
}
.password-field .toggle-password:hover {
	color: #11142d;
}
/* Keep the validation-state icon (green check / red "!") from colliding with the eye toggle */
.was-validated .password-field .form-control:valid,
.password-field .form-control.is-valid,
.was-validated .password-field .form-control:invalid,
.password-field .form-control.is-invalid {
	background-image: none;
	padding-right: 44px;
}

/* Password strength meter (advisory) + rules hint */
.password-strength {
	display: flex;
	align-items: center;
	gap: 8px;
}
.password-strength-bar {
	flex: 1 1 auto;
	height: 6px;
	background: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
}
.password-strength-bar span {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 4px;
	transition: width 0.2s ease, background-color 0.2s ease;
}
.password-strength-label {
	flex: 0 0 auto;
	min-width: 44px;
	font-size: 0.75rem;
}
.password-strength.strength-weak .password-strength-bar span   { width: 25%;  background-color: #dc3545; }
.password-strength.strength-fair .password-strength-bar span   { width: 50%;  background-color: #fd7e14; }
.password-strength.strength-good .password-strength-bar span   { width: 75%;  background-color: #ffc107; }
.password-strength.strength-strong .password-strength-bar span { width: 100%; background-color: #39cb7f; }

/* #13 Remember me: enlarge the tap/click target to >= 44px */
.remember-me {
	min-height: 44px;
	display: flex;
	align-items: center;
}
.remember-me .form-check-label {
	padding: 12px 8px 12px 4px;
	margin: -12px 0;
	cursor: pointer;
}
.remember-me .form-check-input {
	cursor: pointer;
}
/* "Remember me" is not a success state — don't let validation turn its label green */
.was-validated .remember-me .form-check-input:valid ~ .form-check-label,
.remember-me .form-check-input.is-valid ~ .form-check-label {
	color: inherit;
}

/* #10 Visible keyboard focus indicators (WCAG 2.4.7) */
.auth-wrapper a:focus-visible,
.auth-wrapper button:focus-visible,
.auth-wrapper .btn:focus-visible,
.auth-wrapper .form-control:focus-visible,
.auth-wrapper .form-check-input:focus-visible,
.auth-wrapper .toggle-password:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

/* Template list "Message" preview (shared by sms-template + voice-template).
   Ellipsis rather than a hard mid-word cut; full text stays on the title tooltip.
   Widens on roomier screens — a flat 240px truncated nearly every template to
   uselessness while the column still had space to spare. */
#template-table td.response-text > span {
	display: inline-block;
	max-width: 240px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}
@media (min-width: 992px) {
	#template-table td.response-text > span { max-width: 420px; }
}
@media (min-width: 1400px) {
	#template-table td.response-text > span { max-width: 620px; }
}

/* ==========================================================================
   Sticky action column for wide list tables
   ==========================================================================
   Outbox / Voice Notes / Inbox render more columns than fit at common desktop
   widths, so the right-most column (Actions, Chat) was sliced off with no hint
   it was still there. Pinning it to the right edge of its own scroll container
   keeps row actions reachable at any width without the row losing context. */
/* Descendant (not child) selectors — DataTables wraps the table in .dt-container,
   so a direct-child selector silently matches nothing. */
.table-responsive table.table > thead > tr > th:last-child,
.table-responsive table.table > tbody > tr > td:last-child {
	position: sticky;
	right: 0;
	z-index: 2;
	/* Shadow so the pinned column reads as floating above the scrolled content
	   rather than clipping the cell beside it. */
	box-shadow: -6px 0 6px -6px rgba(0, 0, 0, .18);
}
.table-responsive table.table > tbody > tr > td:last-child {
	background-color: #fff;
}
.table-responsive table.table > tbody > tr:hover > td:last-child {
	background-color: #f8fafc;
}
/* Header cell keeps the deep-blue header fill while pinned. */
.table-responsive table.table > thead > tr > th:last-child {
	background-color: #1b46aa;
	z-index: 3;
}
/* The rules above match ANY plain (non-DataTables) table inside .table-responsive, not just
   Outbox/Voice Notes/Inbox — it was also painting the Actions column header solid navy blue on
   narrow tables that never overflow and don't need pinning (e.g. the SendGrid admin panel).
   Opt those back out rather than narrow the shared selector and risk the intended tables. */
#sendgrid-rootaccounts-table > thead > tr > th:last-child,
#sendgrid-subaccounts-table > thead > tr > th:last-child,
#sendgrid-rootaccounts-table > tbody > tr > td:last-child,
#sendgrid-subaccounts-table > tbody > tr > td:last-child,
/* /billing: "Your products" (its last header is the visually-hidden "Actions", so it showed as an
   empty solid blue block) and "Billing history" — short tables that never need a pinned column. */
#billing-products-table > thead > tr > th:last-child,
#billing-history-table > thead > tr > th:last-child,
#billing-products-table > tbody > tr > td:last-child,
#billing-history-table > tbody > tr > td:last-child {
	position: static;
	background-color: transparent;
	box-shadow: none;
	z-index: auto;
}
/* The pager's default 2px corners fought the global 9px button radius. */
.dt-paging .dt-paging-button {
	border-radius: 9px !important;
	min-width: 34px;
}

/* ==========================================================================
   Voice call log (/call-logs)
   ========================================================================== */

/* Keep the dialpad display visible at all times so the typed number is shown */
#iphone .screen input::placeholder { color: #b8b8b8; }

/* --- Call log list layout (aligned pseudo-columns shared by header + rows) --- */
.call-log-list {
	max-height: 900px;
	overflow-y: auto;
	border: 1px solid #edf0f4;
	border-radius: 8px;
}
.call-log-head {
	font-size: .72rem;
	letter-spacing: .03em;
	border-bottom: 1px solid #e9ecef;
}
.call-log-toolbar .form-control,
.call-log-toolbar .form-select,
.call-filter-reset {
	min-height: 38px;
}
.call-filter-reset {
	white-space: nowrap;
}
.call-log-head .call-dir-icon,
.call-log-item .call-dir-icon {
	flex: 0 0 26px;
	width: 26px;
	text-align: center;
	font-size: 1rem;
}
.call-log-party {
	flex: 1 1 auto;
	min-width: 0;
}
.call-log-status-col { flex: 0 0 92px; }
.call-log-duration   { flex: 0 0 68px; }
.call-log-time       { flex: 0 0 82px; white-space: nowrap; }
.call-log-caret      { flex: 0 0 16px; text-align: center; }

.call-log-item {
	cursor: pointer;
	border-left: 0;
	border-right: 0;
}
.call-log-item:first-child { border-top: 0; }
.call-log-item:last-child { border-bottom: 0; }
.call-log-item:hover { background-color: #f8fafc; }
.call-log-item:focus-visible,
.kpi-card:focus-visible,
.call-log-contact-link:focus-visible,
.call-log-callback:focus-visible,
#callFilterReset:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}
.call-log-item .call-log-caret {
	color: #adb5bd;
	transition: transform .15s ease;
}
.call-log-item.open .call-log-caret { transform: rotate(180deg); }

.call-log-name {
	font-weight: 600;
	font-size: .9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.call-log-contact-link { color: inherit; font-weight: 600; text-decoration: none; }
.call-log-contact-link:hover { text-decoration: underline; }
/* A phone number broken across two lines is unreadable — keep it on one. */
.call-log-phone { white-space: nowrap; }

.call-dir-inbound  { color: #82C43C; }
.call-dir-outbound { color: #50B5FF; }

/* Details panel is hidden until the row is expanded (toggled via slideToggle) */
.call-log-details { display: none; }
.call-log-details-card { background: #f7f8fa; border: none; }
.call-log-detail-label {
	text-transform: uppercase;
	font-size: .66rem;
	letter-spacing: .03em;
	color: #8a94a6;
}
.call-log-item-skeleton {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	border-left: 0;
	border-right: 0;
}
.call-log-skeleton-icon {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
}
.call-log-skeleton-main {
	flex: 1 1 auto;
	height: 16px;
	border-radius: 4px;
}
.call-log-skeleton-meta {
	flex: 0 0 120px;
	height: 16px;
	border-radius: 4px;
}

/* --- Status pills: same colour language as the "Calls by Status" chart --- */
.call-status-pill {
	display: inline-block;
	padding: .15rem .5rem;
	border-radius: 50rem;
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.call-status-success   { background: #e6f6d8; color: #4f8a10; }
.call-status-warning   { background: #fff3d6; color: #9a6b00; }
.call-status-info      { background: #e0f1ff; color: #1f6fb2; }
.call-status-danger    { background: #ffe0e0; color: #c0392b; }
.call-status-secondary { background: #eceef2; color: #5b6472; }

/* --- Clickable KPI cards (filter list by direction) --- */
.kpi-card { cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.kpi-card:hover { box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.kpi-card.active { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: -3px; }
/* Standing hint that the card filters the list; solid once that filter is on. */
.kpi-filter-hint { font-size: 1rem; opacity: .7; }
.kpi-card.active .kpi-filter-hint { opacity: 1; color: #fff !important; }
.kpi-card .card-title { font-size: 1rem; line-height: 1.25; }

/* --- Segmented range/filter controls -------------------------------------
   One active colour for every segmented control in the app (SMS Inbox direction
   and status filters, the call trend presets, the dashboard date presets). Brand
   teal is the established choice — recolour here and all three follow. */
.call-trend-preset.active,
.date-preset.active {
	background-color: #4EA9A1;
	border-color: #4EA9A1;
	color: #fff;
}
.call-trend-presets .btn,
.date-presets .btn { min-height: 38px; }

@media (max-width: 767.98px) {
	.call-dialpad-col {
		margin-top: 1rem;
	}
	/* KPI labels stay visible on phones — a bare "88" with no noun says nothing.
	   Shrunk so "Incoming Calls" still fits a half-width card. */
	.kpi-card .card-title {
		font-size: .82rem;
		line-height: 1.2;
	}
	.kpi-card .fs-8 {
		font-size: 1.5rem;
	}
	.kpi-filter-hint {
		font-size: .85rem;
	}
	.call-trend-presets {
		flex: 1 1 auto;
	}
	/* On phones the list scrolls with the page — a nested scroll area traps
	   the gesture and hides most of the list behind an invisible boundary. */
	.call-log-list {
		max-height: none;
		overflow-y: visible;
	}
	#iphone {
		width: 100%;
		min-height: 0;
		border: 1px solid #e6eaf0;
		border-radius: 8px;
		box-shadow: none;
		padding: 12px;
	}
	#iphone .notch {
		display: none;
	}
	#iphone .screen {
		height: auto;
		margin-top: 0;
		border-bottom: 1px solid #eef1f5;
		padding-bottom: 8px;
	}
	#iphone .screen input {
		font-size: 18px;
		text-align: left;
		margin-left: 0;
	}
	#iphone .dialpad {
		gap: 8px;
		margin-top: 12px;
		width: 100%;
	}
	#iphone button {
		width: 48px;
		height: 48px;
		font-size: 18px;
		justify-self: center;
	}
	#iphone button span {
		font-size: 10px;
	}
	#iphone .call-btn {
		position: static;
		transform: none;
		width: 56px;
		height: 56px;
		margin-top: 12px;
	}
	#iphone .call-btn span {
		font-size: 26px;
	}
}

@media (max-width: 575.98px) {
	.call-log-head {
		display: none !important;
	}
	.call-log-item > .d-flex {
		align-items: flex-start !important;
		flex-wrap: wrap;
	}
	.call-log-status-col {
		order: 3;
		flex: 0 1 auto;
		text-align: left !important;
		margin-left: 36px;
	}
	.call-log-duration {
		order: 4;
		flex: 0 1 auto;
		text-align: left !important;
	}
	.call-log-time {
		order: 5;
		flex: 1 1 auto;
		text-align: right !important;
	}
	.call-log-caret {
		order: 2;
	}
	.call-log-toolbar .form-select,
	.call-log-toolbar .call-log-search { flex: 1 1 100%; }
	.call-filter-reset {
		width: 100%;
	}
	.call-log-skeleton-meta {
		flex-basis: 72px;
	}
}

/* ── Shared empty / error states (§10) ──────────────────────────────────────
   Centered muted icon + headline + one-liner + primary CTA. Defined once here
   so every list view that needs an empty state gets the same block. */
.klk-empty-state {
	text-align: center;
	padding: 3rem 1rem;
}
.klk-empty-state .klk-empty-icon {
	font-size: 40px;
	line-height: 1;
	color: #adb5bd;
	display: block;
	margin-bottom: .75rem;
}
.klk-empty-state h5 {
	font-weight: 400;
	margin-bottom: .35rem;
}
.klk-empty-state p {
	color: #6c757d;
	margin-bottom: 1.25rem;
}
.klk-empty-state.klk-error-state .klk-empty-icon {
	color: #dc3545;
}

/* DataTables' built-in processing indicator (dataTables.bootstrap.css) floats a centered box
   with a "Loading…"/dots spinner over the table on every ajax fetch. Address Book and SMS
   Inbox (the only two tables with serverSide + processing:true) instead swap the tbody to
   klk-skeleton-bar/klk-shimmer rows on every fetch (see their preXhr.dt handlers) — matching
   how every other list page shows its loading state — so this box is never needed there. */
#contact-list-table_processing,
#inbox-table_processing {
	display: none !important;
}

/* ── Shared table row skeleton (§10) ────────────────────────────────────────
   Prefer this over a bare spinner for list loads. Build a <tr> of
   <td><span class="klk-skeleton-bar"></span></td> per column. */
.klk-skeleton-bar {
	display: block;
	height: 12px;
	width: 100%;
	border-radius: 6px;
	background: #e9edf1;
	position: relative;
	overflow: hidden;
}
.klk-skeleton-bar::after {
	content: '';
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, 0) 100%);
	animation: klkShimmer 1.4s ease-in-out infinite;
}
.klk-skeleton-bar.klk-skeleton-sm { width: 45%; }

/* ── Shared cell truncation (§5) ────────────────────────────────────────────
   Ellipsis at the CSS layer with the full value on the title tooltip — never
   hard-cut a string mid-word in JS. */
.klk-truncate {
	display: inline-block;
	max-width: 320px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* ── Link Shortener ─────────────────────────────────────────────────────── */
/* The short-link cell doubles as the DataTables responsive expander on mobile,
   so the anchor must not swallow the tap that opens the child row. */
#linkshortner-table td.shortlink .link-anchor {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
}
#linkshortner-table td.long-link-cell .klk-truncate { max-width: 280px; }
/* Caret is shown only where columns actually collapse (the pointer cursor comes
   from Responsive's own .dtr-control). No open/closed rotation: Responsive's
   stylesheet restyles this icon and overrode the transform, and the caret is
   only a hint that the row opens — the expanded content is its own feedback. */
.link-expand-hint {
	display: none;
	color: #6c757d;
	margin-left: .35rem;
	vertical-align: middle;
}
@media (max-width: 767.98px) {
	.link-expand-hint { display: inline-block; }
}
/* Responsive styles its control cell `display:flex` to lay out the +/- marker.
   That takes the <td> out of the table formatting context, so it stops
   stretching to the row height and its bottom border stops 12px short of the
   row's — a stray rule under the first column. This table renders its own caret
   (marker suppressed below), so keep the cell a real table cell. */
#linkshortner-table td.shortlink.dtr-control {
	display: table-cell !important;
	vertical-align: middle !important;
	padding-left: 10px;
}
#linkshortner-table td.shortlink.dtr-control::before { display: none !important; }
#linkshortner-table td.shortlink .link-anchor { display: inline-block; }
/* Row actions use the shared .klk-actions component (§5) — see the
   "Adaptive row actions" block below for its rules. */
/* Row-action buttons are icon+label; keep the whole control past the 44px
   minimum rather than relying on btn-sm's default height. */
#linkshortner-table .klk-actions .btn { min-height: 34px; }
/* Analytics header figure for a single short link. */
.link-stat-figure {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
}
.link-stat-sub {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	margin-top: .35rem;
}
.link-stat-scope {
	font-size: .75rem;
	color: #6c757d;
}

/* ── Link detail (Info) view ────────────────────────────────────────────── */
/* A short link is much longer than a page name, so this header needs to run
   on one line instead of wrapping mid-code the way the list title did. */
.link-detail-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.link-detail-shortlink {
	color: #1a9bfc;
	text-decoration: underline;
}
.link-detail-actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .35rem;
	justify-content: flex-end;
}
.link-detail-actions .btn { min-height: 34px; }
/* Stat cards: one framing for every headline figure, so the row scans as a set
   instead of four differently-shaped text blocks. */
.link-stat-card {
	height: 100%;
	padding: .85rem 1rem;
	border: 1px solid #eceef2;
	border-radius: 9px;
	background: #fbfcfd;
}
.link-stat-head {
	display: flex;
	align-items: center;
	gap: .4rem;
	font-size: .8rem;
	font-weight: 600;
	color: #6c757d;
	margin-bottom: .35rem;
}
.link-stat-head i { font-size: .95rem; }
.link-stat-figure-sm { font-size: 1.05rem; line-height: 1.4; }

/* Consistent panel framing: same header block, same spacing, in every
   analytics card on the page. */
.link-panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: .25rem;
}
.link-panel + .link-panel { margin-top: 1rem; }
.link-panel .link-breakdown { font-size: .875rem; }

/* Trend range controls */
.link-trend-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin: .5rem 0 .25rem;
}
.link-trend-custom {
	width: auto;
	min-width: 170px;
	flex: 0 1 auto;
}
.link-trend-summary {
	font-size: .8rem;
	color: #6c757d;
	margin-left: auto;
}
.link-trend-delta {
	font-weight: 600;
	white-space: nowrap;
}
.link-trend-delta.up { color: #4f8a10; }
.link-trend-delta.down { color: #c0392b; }
.link-trend-delta.flat { color: #5b6472; }
/* Fixed pixel truncation overflowed the card on phones; bound it to the
   column instead so it ellipsises at whatever width is actually available. */
.link-destination {
	max-width: 100%;
	color: #1a9bfc;
}

/* Share bar: one row that carries the whole device split. */
.link-share-bar {
	display: flex;
	width: 100%;
	height: 10px;
	border-radius: 50rem;
	overflow: hidden;
	background: #eceef2;
}
.link-share-bar span { display: block; height: 100%; }
.link-swatch {
	width: 10px;
	height: 10px;
	border-radius: 50rem;
	flex: 0 0 auto;
}
.link-swatch-desktop, .link-share-desktop { background: #4EA9A1; }
.link-swatch-ios,     .link-share-ios     { background: #337AB7; }
.link-swatch-android, .link-share-android { background: #FFC542; }

/* Ranked breakdown list — used for devices, sources and locations so all
   three read as one component. */
.link-breakdown {
	list-style: none;
	padding: 0;
	margin: 0;
}
.link-breakdown li {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .4rem 0;
	border-bottom: 1px solid #f1f3f5;
	font-size: .875rem;
}
.link-breakdown li:last-child { border-bottom: 0; }
.link-breakdown-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.link-breakdown-value {
	flex: 0 0 auto;
	display: flex;
	align-items: baseline;
	gap: .4rem;
}
.link-breakdown-value small { color: #6c757d; }
.link-breakdown-rank {
	flex: 0 0 auto;
	width: 1.25rem;
	color: #adb5bd;
	font-size: .75rem;
	text-align: right;
}

/* Map legend — a blue scale with no key left "grey" ambiguous between
   zero clicks and no data. */
.map-legend {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	font-size: .72rem;
	color: #6c757d;
}
.map-legend-scale {
	flex: 0 0 auto;
	width: 120px;
	height: 8px;
	border-radius: 50rem;
	background: linear-gradient(to right, #C8EEFF, #006491);
}
.map-legend-none {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	margin-left: .5rem;
}
.map-legend-swatch {
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: #eeeeee;
	border: 1px solid #dee2e6;
	display: inline-block;
}

/* Panel skeleton while a chart's data is in flight — better than showing 0. */
.link-panel-skeleton {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	padding: 1.5rem 0;
}
.link-panel-skeleton .klk-skeleton-bar:nth-child(1) { height: 120px; }
.link-panel-skeleton .klk-skeleton-bar:nth-child(2) { width: 70%; }
.link-panel-skeleton .klk-skeleton-bar:nth-child(3) { width: 40%; }

/* ── Detail view: keep the grid full even when a panel is absent ─────────
   Panels hide themselves when their data source is unavailable (unique
   visitors, sources). With fixed column widths that left holes in the layout;
   letting the survivors flex means the row always fills its width. */
.link-kpi-row {
	display: flex;
	flex-wrap: wrap;
}
.link-kpi-row > [class*="col-"] {
	flex: 1 1 180px;
	max-width: none;
}

/* Equal-height columns: the breakdown column should reach the bottom of the
   chart beside it rather than stopping short and leaving dead space.
   Only when the column actually has two cards to share the height — stretching
   a lone card just moves the empty space inside it. */
@media (min-width: 1200px) {
	#url-visitor-dashboard .row > .col-xl-4,
	#url-visitor-dashboard .row > .col-xl-8 {
		display: flex;
		flex-direction: column;
	}
	#url-visitor-dashboard .row > .col-xl-8 > .card { flex: 1 1 auto; }
	#url-visitor-dashboard .row > .col-xl-4:not(.link-col-single) > .card { flex: 1 1 auto; }
	#url-visitor-dashboard .row > .col-xl-4.link-col-single > .card { flex: 0 0 auto; }
}

/* The map is the tallest thing on the page; the ranked list beside it is
   short. Cap the list to the map's height and let it scroll, so the card is
   sized by the map instead of by whichever is taller. */
@media (min-width: 992px) {
	.link-location-list {
		max-height: 100%;
		overflow-y: auto;
	}
}

@media (max-width: 991.98px) {
	.link-detail-actions { justify-content: flex-start; }
	.link-trend-summary { margin-left: 0; flex: 1 1 100%; }
}
@media (max-width: 767.98px) {
	/* The whole USA inside ~340px renders states around 10px wide — decoration,
	   not information. The ranked list carries the data on phones. */
	.map-column { display: none; }
}
.link-warn-banner {
	background: #fff3d6;
	color: #9a6b00;
	border-radius: 9px;
	padding: .6rem .8rem;
	font-size: .85rem;
	display: none;
}
.link-warn-banner.show { display: block; }

/* Focus rings for the new interactive controls (§13). */
#linkshortner-table td.shortlink:focus-visible,
#linkshortner-table .klk-actions .btn:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

/* ── QR modal (shared template) ─────────────────────────────────────────── */
/* Keep the preview on screen while the settings below it are scrolled (§8):
   you cannot pick colours for a QR you cannot see. */
#qrSettingsModal .modal-body {
	max-height: 90vh;
	overflow-y: auto;
}
@media (min-width: 768px) {
	#qrSettingsModal #qrWrapper {
		position: sticky;
		top: 0;
		z-index: 2;
		background: #fff;
		padding-bottom: .75rem;
	}
}
#qrSettingsModal .qr-subtitle {
	font-size: .85rem;
	color: #6c757d;
	font-weight: 400;
	display: block;
	margin-top: .15rem;
	word-break: break-all;
}
/* Contrast guard — a QR whose dots blend into the background will not scan. */
#qrContrastWarning {
	display: none;
	margin-top: .75rem;
	font-size: .85rem;
	background: #ffe0e0;
	color: #c0392b;
	border-radius: 9px;
	padding: .5rem .75rem;
}
#qrContrastWarning.show { display: block; }

/* ── Adaptive row actions (.klk-actions) ──────────────────────────────────────
   Reusable across list/table pages. Wrap a row's action buttons in `.klk-actions`
   and tag each control with `.klk-action` (keep its existing `.btn-*` colour class;
   add `data-danger="1"` to a destructive one). On desktop the buttons that don't
   fit collapse into an auto-injected `⋮` menu; in DataTables' collapsed child rows
   (mobile) every action shows and wraps. Behaviour is driven by
   js/klk-row-actions.js — no per-page JS. See docs/ui-conventions.md §5. */
.klk-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	/* The sticky Actions cell (§5) can render wider than its <td> once buttons stop
	   shrinking (see data-max-collapse="icons") — an opaque background stops the
	   previous column's text from showing through the gaps as it overflows.
	   `inherit` tracks the parent <td>'s own background (white, or the row-hover
	   tint) instead of hardcoding one shade that would fight the hover state. */
	background-color: inherit;
}
.klk-actions .klk-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .35rem;
	white-space: nowrap;
}
.klk-actions-icon-only .klk-action-label {
	display: none;
}
.klk-actions-icon-only .klk-action {
	width: 34px;
	min-width: 34px;
	padding-left: 0;
	padding-right: 0;
}
.klk-actions-more-wrap { display: none; }        /* shown by JS when actions overflow */
.klk-actions-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eef1f6;
	color: #3b4453;
	border: none;
}
.klk-actions-more:hover { background: #e0e6f0; color: #1f2733; }

/* Body-appended overflow menu (a normal dropdown would be clipped by the
   scrollable table wrapper). Each item carries its source button's colour. */
.klk-actions-menu {
	position: fixed;
	z-index: 3000;
	min-width: 180px;
	background: #fff;
	border: 1px solid #e3e7ee;
	border-radius: .5rem;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
	padding: .35rem;
}
.klk-actions-menu-item {
	display: flex;
	align-items: center;
	gap: .55rem;
	width: 100%;
	padding: .5rem .65rem;
	border: none;
	background: transparent;
	border-radius: .375rem;
	font-size: .85rem;
	color: #333;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}
.klk-actions-menu-item:hover { background: #f2f5fa; }
.klk-actions-menu-item.danger { color: #b02a37; }
.klk-actions-menu-item.danger:hover { background: #fdecee; }
.klk-actions-menu-item i { font-size: 1rem; }

/* Collapsed child rows (mobile): the ⋮ collapse is desktop-only, so every action
   shows here — wrap them onto multiple lines instead of overflowing the narrow row,
   and force them visible even if a prior desktop reflow hid some (the cloned child
   markup carries the inline display:none). */
tr.child .klk-actions,
.dtr-details .klk-actions {
	flex-wrap: wrap;
	row-gap: .5rem;
}
tr.child .klk-actions-icon-only .klk-action,
.dtr-details .klk-actions-icon-only .klk-action {
	width: auto;
	min-width: 34px;
	padding-left: .5rem;
	padding-right: .5rem;
}
tr.child .klk-actions-icon-only .klk-action-label,
.dtr-details .klk-actions-icon-only .klk-action-label {
	display: inline;
}
tr.child .klk-actions .klk-action,
.dtr-details .klk-actions .klk-action {
	display: inline-flex !important;
	align-items: center;
}
tr.child .klk-actions-more-wrap,
.dtr-details .klk-actions-more-wrap {
	display: none !important;
}

/* Only the invalid state needs to be surfaced inline (see docs/ui-conventions.md #7) -
   a green check on every already-correct field is noise the rest of the app doesn't use.
   Keep the green border as a light affirmative cue, drop the added checkmark icon. */
.needs-validation.was-validated .form-control:valid {
	background-image: none;
	padding-right: 12px;
}

/* ============================================================
   Signup wizard — product picker + subscribe steps (login.jsp)
   Brand: teal #1a939a, green #23a144 (matches the auth gradient).
   ============================================================ */
/* Product tiles. Two layouts from the same markup (signup-wizard.js renders check / name /
   category / tagline / price; the icon is a ::before background-image keyed on data-key,
   each product's real icon from images/products/):
   - default (below 1100px): a compact row — icon | text | check — in 1 or 2 columns;
   - 1100px and up: an upright card, five across, so the ten products sit in two full rows. */
.product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.product-tile {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	grid-template-rows: auto auto auto 1fr;
	column-gap: 14px;
	min-height: 44px;
	border: 2px solid #dfe7ea;
	border-radius: 14px;
	padding: 16px 44px 16px 16px;
	cursor: pointer;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .15s ease;
}
/* Each product's real icon (extracted from the Klickrr Product List doc) is a self-contained
   rounded-square badge with its own gradient background, so it is drawn as the ::before
   background-image — same 44px box, position and selected behaviour as Subin's glyph version.
   The pale box below is only a fallback for a product key with no image yet; every mapped key
   sets background-color:transparent so the badge's own transparent corners read cleanly. */
.product-tile::before {
	content: "";
	grid-column: 1;
	grid-row: 1 / span 4;
	align-self: start;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background-color: #e6f4f5;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.product-tile[data-key="view"]::before   { background-image: url(/images/products/klickview.png);   background-color: transparent; }
.product-tile[data-key="plan"]::before   { background-image: url(/images/products/klickplan.png);   background-color: transparent; }
.product-tile[data-key="text"]::before   { background-image: url(/images/products/klicktext.png);   background-color: transparent; }
.product-tile[data-key="mail"]::before   { background-image: url(/images/products/klickmail.png);   background-color: transparent; }
.product-tile[data-key="ring"]::before   { background-image: url(/images/products/klickring.png);   background-color: transparent; }
.product-tile[data-key="links"]::before  { background-image: url(/images/products/klicklinks.png);  background-color: transparent; }
.product-tile[data-key="book"]::before   { background-image: url(/images/products/klickbook.png);   background-color: transparent; }
.product-tile[data-key="grow"]::before   { background-image: url(/images/products/klickgrow.png);   background-color: transparent; }
.product-tile[data-key="sense"]::before  { background-image: url(/images/products/klicksense.png);  background-color: transparent; }
.product-tile[data-key="boards"]::before { background-image: url(/images/products/klickboards.png); background-color: transparent; }
.product-tile > * {
	grid-column: 2;
}
.product-tile:hover {
	border-color: #1a939a;
	box-shadow: 0 6px 18px rgba(17, 36, 42, .08);
}
.product-tile:focus-visible {
	outline: none;
	border-color: #1a939a;
	box-shadow: 0 0 0 3px rgba(26, 147, 154, .3);
}
.product-tile.selected {
	border-color: #14797f;
	background: #f2fafa;
	box-shadow: 0 6px 18px rgba(20, 121, 127, .12);
}
.product-tile.selected::before {
	/* The real badge has its own colour; keep it as-is when the tile is selected
	   (the badges read clearly on the pale-teal selected tile) rather than repainting it. */
	background-color: transparent;
}
.product-tile > .product-tile-check {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 22px;
	height: 22px;
	border: 2px solid #b9c4c9;
	border-radius: 50%;
	background: #fff;
	transition: background .15s ease, border-color .15s ease;
}
.product-tile.selected .product-tile-check {
	background: #14797f;
	border-color: #14797f;
}
.product-tile.selected .product-tile-check::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.product-tile-name {
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.25;
	color: #11242a;
}
.product-tile-category {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #0f6b70;
	margin-top: 3px;
}
.product-tile-tagline {
	font-size: .9rem;
	color: #55656c;
	margin-top: 8px;
	line-height: 1.4;
}
/* Price line (signup-wizard.js tilePrice): the free allowance is the headline — a "Free" pill plus
   what you get — and the monthly price is only ever the small second line ("then $29/mo if you go
   past it"). No tile shows a price as its headline (requirements AC-1.1). */
.product-tile-price {
	align-self: end;
	margin-top: 12px;
	font-size: 1rem;
	line-height: 1.35;
	color: #11242a;
}
.product-tile-free {
	display: block;
	font-weight: 700;
}
.auth-page .free-pill {
	display: inline-block;
	margin-right: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: #e3f1c4;
	color: #2f4a06;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .02em;
	vertical-align: 1px;
	white-space: nowrap;
}
.product-tile-then {
	display: block;
	margin-top: 3px;
	font-size: .85rem;
	font-weight: 500;
	color: #55656c;
}
@media (min-width: 640px) {
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}
}
@media (min-width: 1100px) {
	.product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 16px;
	}
	.product-tile {
		display: flex;
		flex-direction: column;
		padding: 18px 16px 16px;
	}
	.product-tile::before {
		flex: 0 0 auto;
		margin-bottom: 14px;
	}
	.product-tile-price {
		align-self: auto;
		margin-top: auto;
		padding-top: 14px;
		min-height: 92px;          /* pill + allowance + "then" line: keeps the pills level across a row */
	}
	/* Upright card: the pill sits on its own line so the allowance never breaks mid-phrase beside it. */
	.product-tile-free .free-pill {
		display: table;
		margin: 0 0 5px;
	}
}

/* ============================================================
   Signup product tiles — matched to klickrr.com/klickrr-products/ (2026-10-16).
   An upright bordered card: a HEADER ROW of the product icon with the name + category stacked to
   its right, then a grey description, a dashed divider, the bold free-tier line, then a small grey
   "then $X/mo" pinned to the card foot. The icon is a real <img.product-tile-icon> inside
   .product-tile-head (not the ::before badge) so it can sit beside the text like the marketing page.
   Numbers all come from the /signup-products payload. Scoped to .auth-page so the Plan & Payment
   tiles (.pp-products) are unaffected; light theme only (the auth page has no dark rules).
   ============================================================ */
.auth-page .product-tile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	grid-template-columns: none;
	grid-template-rows: none;
	min-height: 0;
	padding: 20px 20px 18px;
	column-gap: 0;
	border: 1px solid #e2ebe6;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(6, 8, 8, .04);
	background: #fff;
	font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.auth-page .product-tile:hover {
	border-color: #0d6b73;
	box-shadow: 0 6px 18px rgba(6, 8, 8, .08);
}
.auth-page .product-tile:focus-visible {
	outline: none;
	border-color: #0d6b73;
	box-shadow: 0 0 0 3px rgba(13, 107, 115, .3);
}
.auth-page .product-tile.selected {
	border-color: #0d6b73;
	background: #fff;
	box-shadow: 0 0 0 1px #0d6b73, 0 10px 30px rgba(6, 8, 8, .07);
}
/* The icon is an <img> inside the header now; drop the old ::before badge on the auth tiles. */
.auth-page .product-tile::before {
	display: none;
}
.auth-page .product-tile > * {
	grid-column: auto;
	width: 100%;
}
/* Header: icon on the left, name + category stacked to its right (like klickrr.com/klickrr-products/). */
.auth-page .product-tile-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 28px;           /* clear the select control top-right */
}
.auth-page .product-tile-icon {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
}
.auth-page .product-tile-headtext {
	min-width: 0;                  /* let a long name wrap instead of overflowing the card */
}
/* Round select control, top-right: empty outline when unselected, lime with a black tick when
   selected (matching klickrr.com/klickrr-products/). Keep it a true 22px circle — the shared
   ".auth-page .product-tile > * { width:100% }" rule above would otherwise stretch this
   absolutely-positioned direct child into a wide oval. */
.auth-page .product-tile > .product-tile-check {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 22px;
	height: 22px;
	border: 1.5px solid #c7d4ce;
	border-radius: 50%;
	background: #fff;
}
.auth-page .product-tile.selected .product-tile-check {
	background: #b8ed52;
	border-color: #b8ed52;
}
.auth-page .product-tile.selected .product-tile-check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid #060808;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
/* Forever-free products (KlickView, KlickBook, KlickPlan) are auto-managed: they are always VISIBLE so
   the user knows they exist, non-interactive (the "Always included" note), get selected only as a bundle
   of a paid product, and show DISABLED (greyed) until a trigger product activates them. */
.auth-page .product-tile.free-locked,
.auth-page .product-tile.free-locked .product-tile-check {
	cursor: default;
}
.auth-page .product-tile.product-tile-disabled {
	opacity: .5;
	pointer-events: none;
	filter: grayscale(35%);
}
/* /plan-payment (post-login): forever-free products (Book/View/Plan) are always VISIBLE but shown
   greyed + non-interactive until a trigger product (Text/Ring/Mail/Grow) activates them. Mirrors the
   signup .product-tile-disabled above; scoped to the plan-payment panels since those tiles are not
   under .auth-page. */
#unified-plan-payment .product-tile.product-tile-disabled {
	opacity: .5;
	pointer-events: none;
	filter: grayscale(35%);
}
#unified-plan-payment .product-tile-disabled .product-tile-included-note {
	display: inline-block;
	font-size: .78rem;
	font-style: italic;
	color: #6c757d;
}
/* Product-access list: a bundled free row (KlickBook/KlickPlan) with no active trigger stays visible
   but greyed; its checkbox is disabled in both states (locked), so this only dims the inactive one. */
.product-access-item.product-access-disabled {
	opacity: .6;
}
.product-tile-included {
	display: inline-block;
	margin-top: 5px;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: #0f6b70;
	background: #e6f4f5;
	border-radius: 999px;
	padding: 2px 9px;
}
.auth-page .product-tile-name {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 800;              /* "Klick" teal + the model black, both bold (.pt-brand-prefix / strong) */
	font-size: 1.05rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #060808;
}
/* "Klick" shown teal wherever brandName() is used on the auth page (tiles + the Step-2 list). */
.auth-page .pt-brand-prefix {
	color: #15919f;
	font-weight: 800;
}
/* "Klick" in brand teal wherever the product name is shown two-tone — the post-login left menu AND
   page headings / product-name labels on the page content (user request 2026-10-19). The product word
   keeps its own surrounding colour; only the "Klick" prefix is recoloured. The base rule applies it
   everywhere; the sidebar keeps its identical values. */
.klk-menu-brand {
	color: #15919f;
	font-weight: 700;
}
.sidebar-nav .sidebar-link .klk-menu-brand {
	color: #15919f;
	font-weight: 700;
}
.auth-page .product-tile-name strong {
	color: #060808;
	font-weight: 800;
}
.auth-page .product-tile-category {
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: .72rem;
	font-weight: 700;
	color: #0d6b73;
	margin-top: 5px;
	line-height: 1.3;
}
.auth-page .product-tile-tagline {
	margin-top: 14px;
	font-size: .875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #666766;
}
.auth-page .product-tile-divider {
	width: 100%;
	height: 0;
	margin: 14px 0 12px;
	border: 0;
	border-top: 1px dashed #e8efea;
	opacity: 1;
}
.auth-page .product-tile-free {
	display: block;
	font-weight: 800;
	font-size: .9375rem;
	line-height: 1.35;
	color: #060808;
}
.auth-page .product-tile-then {
	display: block;
	margin-top: 4px;
	font-size: .78rem;
	font-weight: 400;
	color: #8e928f;
}
@media (min-width: 1100px) {
	/* Push the divider + free line + price to the card foot so the pills line up across a row. */
	.auth-page .product-tile-divider {
		margin-top: auto;
	}
}

.product-loading {
	padding: 28px 0;
	text-align: center;
	color: #55656c;
}
.product-picker-head {
	margin-bottom: 18px;
}
.product-picker-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #11242a;
}
.product-picker-hint {
	margin: 4px 0 0;
	color: #55656c;
}
/* Selection bar: stays in view while the visitor scrolls the products, so the count, the
   running total and Continue are always one tap away (it ends with the product step). */
.product-bar {
	position: sticky;
	bottom: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	padding: 12px 12px 12px 20px;
	background: #fff;
	border: 1px solid #dfe7ea;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(17, 36, 42, .14);
}
.product-bar-summary {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.product-bar-count {
	font-weight: 700;
	color: #11242a;
}
.product-bar-detail {
	color: #55656c;
	font-size: .9rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.product-bar-total {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: 1.15rem;
	color: #0f6b70;
	white-space: nowrap;
}
.product-bar-total:empty {
	display: none;
}
.product-bar .btn {
	flex: 0 0 auto;
}
@media (max-width: 639.98px) {
	.product-bar {
		bottom: 0;
		flex-wrap: wrap;
		gap: 8px 12px;
		margin-left: -16px;
		margin-right: -16px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		border-radius: 16px 16px 0 0;
		border-bottom: 0;
	}
	.product-bar-summary {
		flex: 1 1 0;
	}
	.product-bar .btn {
		flex: 1 1 100%;
	}
}
/* Free-tier banner below the product grid — the teal panel from klickrr.com/klickrr-products/
   ("Every product starts free … $0 today …"). Shown only on the product step (inside #productform). */
.product-free-banner {
	margin: 28px 0 8px;
	padding: 34px 32px;
	border-radius: 24px;
	background:
		radial-gradient(520px 260px at 92% -20%, rgba(176, 207, 60, .22), rgba(176, 207, 60, 0) 70%),
		linear-gradient(110deg, #0c5a5f 0%, #12767c 55%, #16858c 100%);
	color: #fff;
	text-align: center;
	font-size: 1.25rem;
	line-height: 1.55;
}
.product-free-banner strong {
	font-weight: 800;
}
@media (max-width: 639.98px) {
	.product-free-banner {
		padding: 24px 20px;
		font-size: 1.05rem;
		border-radius: 18px;
	}
}
.auth-assurances {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	color: #55656c;
	font-size: .9rem;
}
.auth-assurances i {
	color: #14797f;
	font-size: 1.05rem;
	vertical-align: -2px;
	margin-right: 4px;
}
.signup-products-summary {
	background: #f2fafa;
	border: 1px solid #cfe6e8;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: .95rem;
	color: #11242a;
}
.signup-summary-note {
	display: block;
	margin-top: 2px;
	font-size: .875rem;
	color: #55656c;
}
.signup-summary-note i {
	color: #14797f;
	vertical-align: -2px;
}
/* Only the wizard's first step (#productform) is visible before JS runs. The subscribe step and
   the login card are revealed on demand by signup-wizard.js / login.js, so hide them by default
   (matching the existing #registerform / #recoverform / #resetform defaults). Without this the
   page flashes the login + subscribe cards stacked on load, and a password-reset deep link would
   show the product grid stacked above the reset form. */
.auth-wrapper #subscribeform {
	display: none;
}
.auth-wrapper #loginform {
	display: none;
}

/* Outline buttons on /billing and the /profile Billing card went blank under the pointer (most
   visible right after a click): the theme's `.btn:hover { background-color: 3DB7FF; }`
   (style.css, missing "#") is an invalid declaration, so no hover fill is applied while the
   label still turns white. Restore the Bootstrap hover fill for these buttons only. The
   theme-wide fix is one line in style.css and needs an owner decision (it touches every button). */
#billing-replace-toggle:hover,
#billing-replace-form .btn[class*="btn-outline-"]:hover,
#billing-products .btn[class*="btn-outline-"]:hover,
#profile-billing-manage:hover {
	background-color: var(--bs-btn-hover-bg);
}

/* Unified monthly billing — "Add a payment method" (PayPal hosted card fields render iframes
   into .klk-pm-field; the SDK sizes them, this only reserves space so the form does not jump). */
.klk-pm-field {
	min-height: 52px;
	margin-bottom: 4px;
}
.klk-pm-note {
	margin: 0 0 14px;
	color: #55656c;
}
.klk-pm-note i {
	vertical-align: -2px;
}
.klk-pm-label {
	margin: 0 0 8px;
	font-weight: 700;
	color: #11242a;
}
.klk-pm-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
	color: #6a757b;
	font-size: .9rem;
}
.klk-pm-divider::before,
.klk-pm-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #dfe7ea;
}
.klk-pm-captcha .btn {
	min-height: 44px;
}
.klk-pm-status {
	margin-top: 14px;
}
.klk-pm-status:empty {
	display: none;
}
.klk-pm-status.text-danger {
	color: #b42318 !important;      /* the theme's pink .text-danger is below AA on white */
	font-weight: 500;
}
.klk-pm-status .btn {
	display: block;
	margin-top: 10px;
	min-height: 44px;
}
/* Saved: the form is replaced by one confirmation line (icon + text, never colour alone). */
.klk-pm-status.klk-pm-saved {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 0;
	padding: 12px 14px;
	border: 1px solid #b7dfc2;
	border-radius: 10px;
	background: #effaf2;
	color: #14532d !important;
	font-weight: 600;
}
.klk-pm-status.klk-pm-saved::before {
	content: "\eb80";              /* ri-checkbox-circle-fill */
	font-family: "remixicon";
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.2;
	color: #1b8a3c;
}

/* ============================================================
   Free-allowance crossing notice (unified-billing.js _showNotice) — logged-in app pages.
   A NON-blocking panel, not a modal (requirements AC-8.1): it sits in the page next to the action
   (inside the page's content area, or inside the open modal / offcanvas that holds the action) and,
   on a page that has not been given a place for it yet, docks to the bottom of the screen with no
   backdrop. Same ids as the old dialog (#klk-billing-consent, -accept, -decline, -text).
   ============================================================ */
.klk-notice {
	display: flex;
	gap: 14px;
	margin: 16px 0;
	padding: 18px 20px;
	border: 1px solid #c9d6f2;
	border-left: 5px solid var(--bs-primary, #1e4db7);
	border-radius: 12px;
	background: #f5f8fe;
	color: #2b3445;
	text-align: left;
	white-space: normal;
}
.klk-notice:focus {
	outline: none;
}
.klk-notice:focus-visible {
	box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 30, 77, 183), .3);
}
.klk-notice-icon {
	flex: 0 0 auto;
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--bs-primary, #1e4db7);
}
.klk-notice-main {
	flex: 1 1 auto;
	min-width: 0;
}
.klk-notice-title {
	margin: 0 0 6px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1b2333;
}
.klk-notice-text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}
.klk-notice-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 14px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid #d9e2f5;
}
.klk-notice-facts > div {
	min-width: 0;
}
.klk-notice-facts dt {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #5b6472;
}
.klk-notice-facts dd {
	margin: 0;
	font-weight: 700;
	color: #1b2333;
}
.klk-notice-msg {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fff3d6;
	color: #6b4a00;
}
.klk-notice-msg:empty {
	display: none;
}
.klk-notice-msg.is-error {
	background: #ffe3e3;
	color: #8f1d1d;
}
.klk-notice-msg a {
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
}
.klk-notice-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}
.klk-notice-actions .btn {
	min-height: 44px;
	padding-left: 18px;
	padding-right: 18px;
	font-weight: 600;
}
.klk-notice-actions .klk-notice-secondary {
	background: #fff;
	border: 1px solid #b9c3d6;
	color: #2b3445;
}
.klk-notice-actions .klk-notice-secondary:hover {
	background: #eef2f9;
}
.klk-notice-docked {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 1040;                   /* above the page and its fixed header, below modals and toasts */
	width: calc(100% - 32px);
	max-width: 720px;
	max-height: calc(100vh - 32px);
	margin: 0;
	overflow-y: auto;
	transform: translateX(-50%);
	background: #fff;
	box-shadow: 0 16px 48px rgba(17, 24, 39, .28), 0 2px 6px rgba(17, 24, 39, .12);
}
body[data-theme=dark] .klk-notice {
	border-color: #3d4a66;
	border-left-color: #6f95ee;
	background: #2c3344;
	color: #e6e5e8;
}
body[data-theme=dark] .klk-notice-title,
body[data-theme=dark] .klk-notice-facts dd {
	color: #fff;
}
body[data-theme=dark] .klk-notice-icon {
	color: #8fb0f5;
}
body[data-theme=dark] .klk-notice-facts {
	border-top-color: #3d4a66;
}
body[data-theme=dark] .klk-notice-facts dt {
	color: #b3bccd;
}
body[data-theme=dark] .klk-notice-actions .klk-notice-secondary {
	background: transparent;
	border-color: #6b778f;
	color: #e6e5e8;
}
@media (max-width: 575.98px) {
	.klk-notice {
		padding: 16px;
		gap: 0;
	}
	.klk-notice-icon {
		display: none;
	}
	.klk-notice-facts {
		gap: 8px 20px;
	}
	.klk-notice-facts > div {
		flex: 1 1 40%;
	}
	.klk-notice-actions .btn {
		flex: 1 1 100%;
	}
	.klk-notice-docked {
		left: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		max-height: 85vh;
		padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		border-radius: 16px 16px 0 0;
		border-left-width: 1px;
		border-top: 5px solid var(--bs-primary, #1e4db7);
		transform: none;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.klk-notice {
		animation: klk-notice-in .18s ease-out;
	}
	.klk-notice-docked {
		animation: none;
	}
}
@keyframes klk-notice-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* ============================================================
   Pre-login page shell (login.jsp) — top bar, hero + step indicator, stage, footer.
   Everything is scoped to .auth-page, so landing-page-1.jsp / verifyemail.jsp (which share
   .signup-section and .auth-wrapper) are untouched.
   #auth-page[data-auth-view] = product | subscribe | register | login | recover | reset
   (kept in sync by Login.syncView in login.js) decides what the bar and hero show.
   Brand: logo teal #1a939a; #14797f / #0f6b70 are the same teal darkened until white-on-teal
   buttons and teal-on-white links pass WCAG AA; lime #b0cf3c is the logo's second colour.
   ============================================================ */
/* Below 768px a shared rule sets overflow-x:hidden on BOTH html and body, which turns body into
   its own scroll box and stops position:sticky (the product selection bar) from following the
   viewport. On this page only, hand scrolling back to the viewport; body still clips sideways.
   Browsers without :has() simply get a non-sticky bar at the end of the product list. */
html:has(.auth-page) {
	overflow-x: visible;
}
.auth-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #f3f8f9;
	color: #55656c;
}
.auth-page a:not(.btn) {
	color: #0f6b70;
}
.auth-page a:not(.btn):hover {
	color: #0b5256;
}
/* Primary action in brand teal (same .btn shapes and sizes as the rest of the product). */
.auth-page .btn-primary {
	--bs-btn-bg: #14797f;
	--bs-btn-border-color: #14797f;
	--bs-btn-hover-bg: #0f666b;
	--bs-btn-hover-border-color: #0f666b;
	--bs-btn-active-bg: #0c575b;
	--bs-btn-active-border-color: #0c575b;
	--bs-btn-disabled-bg: #8fb9bc;
	--bs-btn-disabled-border-color: #8fb9bc;
	--bs-btn-disabled-opacity: 1;
	--bs-btn-focus-shadow-rgb: 26, 147, 154;
}
.auth-page .btn-outline-primary {
	--bs-btn-color: #0f6b70;
	--bs-btn-border-color: #14797f;
	--bs-btn-hover-bg: #14797f;
	--bs-btn-hover-border-color: #14797f;
	--bs-btn-active-bg: #0f666b;
	--bs-btn-active-border-color: #0f666b;
	--bs-btn-focus-shadow-rgb: 26, 147, 154;
}
.auth-page .btn-lg {
	min-height: 48px;
	border-radius: 10px;
	font-weight: 600;
}

/* ---- top bar ---- */
.auth-topbar {
	background: #fff;
	border-bottom: 1px solid #dfe7ea;
}
.auth-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1288px;
	min-height: 64px;
	margin: 0 auto;
	padding: 8px 24px;
}
.auth-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}
.auth-brand-icon {
	height: 38px;
	width: auto;
}
.auth-brand-text {
	height: 24px;
	width: auto;
}
.auth-topbar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.auth-topbar-hint {
	color: #55656c;
}
.auth-topbar-btn {
	min-height: 44px;
	padding-left: 20px;
	padding-right: 20px;
	border-radius: 10px;
	font-weight: 600;
}
.auth-show-signin,
.auth-page[data-auth-view="login"] .auth-show-signup,
.auth-page[data-auth-view="recover"] .auth-show-signup,
.auth-page[data-auth-view="reset"] .auth-show-signup {
	display: none;
}
.auth-page[data-auth-view="login"] .auth-show-signin,
.auth-page[data-auth-view="recover"] .auth-show-signin {
	display: flex;
}

/* ---- hero + step indicator ---- */
.auth-main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.auth-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(520px 260px at 92% -10%, rgba(176, 207, 60, .30), rgba(176, 207, 60, 0) 70%),
		radial-gradient(420px 240px at 4% 120%, rgba(35, 161, 68, .28), rgba(35, 161, 68, 0) 70%),
		linear-gradient(110deg, #0c5a5f 0%, #12767c 55%, #16858c 100%);
	color: #fff;
	text-align: center;
	padding: 36px 24px 32px;
}
.auth-hero-inner {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}
.auth-hero-title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
}
.auth-hero-sub strong {
	font-weight: 700;
}
.auth-hero-sub {
	margin: 14px auto 0;
	max-width: 640px;
	color: #fff;
	font-size: 1.125rem;
	line-height: 1.5;
}
.auth-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}
.auth-step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .82);
	font-size: .95rem;
	font-weight: 500;
	white-space: nowrap;
}
.auth-step + .auth-step::before {
	content: "";
	width: 40px;
	height: 2px;
	margin: 0 12px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .35);
}
.auth-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .6);
	font-size: .85rem;
	font-weight: 700;
	line-height: 1;
}
.auth-step.is-current {
	color: #fff;
	font-weight: 700;
}
.auth-step.is-current .auth-step-num {
	background: #fff;
	border-color: #fff;
	color: #0c5a5f;
}
.auth-step.is-done .auth-step-num {
	background: #b0cf3c;
	border-color: #b0cf3c;
	color: #11242a;
}
.auth-step.is-done + .auth-step::before {
	background: #b0cf3c;
}
/* Steps 2-3 and the sign-in cards: no headline, the white card overlaps the teal band. */
.auth-page:not([data-auth-view="product"]) .auth-hero-copy {
	display: none;
}
.auth-page:not([data-auth-view="product"]) .auth-steps {
	margin-top: 0;
}
.auth-page:not([data-auth-view="product"]) .auth-hero {
	padding: 30px 24px 96px;
}
.auth-page[data-auth-view="login"] .auth-steps,
.auth-page[data-auth-view="recover"] .auth-steps,
.auth-page[data-auth-view="reset"] .auth-steps {
	display: none;
}
.auth-page[data-auth-view="login"] .auth-hero,
.auth-page[data-auth-view="recover"] .auth-hero,
.auth-page[data-auth-view="reset"] .auth-hero {
	padding: 0;
	height: 132px;
}
/* Free-tier note under the marketing banner — centered, inside the hero (matches system signup). */
.auth-hero-note {
	margin: 14px auto 0;
	max-width: 660px;
	color: #fff;
	font-size: 1.0625rem;
	line-height: 1.5;
}
.auth-hero-note strong {
	font-weight: 700;
}

/* ---- stage + cards ---- */
.auth-stage {
	position: relative;
	width: 100%;
	max-width: 1288px;
	margin: 0 auto;
	padding: 0 24px;
}
.auth-page:not([data-auth-view="product"]) .auth-stage {
	margin-top: -64px;
}
.auth-stage > .card {
	margin: 0 auto;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 12px 36px rgba(17, 36, 42, .10), 0 1px 3px rgba(17, 36, 42, .06);
}
.auth-stage > .card > .card-body {
	padding: 32px;
}
/* The product step is the page itself, not a boxed card: tiles sit straight on the canvas. */
.auth-stage > #productform {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}
.auth-stage > #productform > .card-body {
	padding: 28px 0 0;
}
/* Password-reset deep link: never flash the product step before login.js runs. */
.auth-page[data-auth-view="reset"] #productform {
	display: none;
}
.auth-stage > #subscribeform,
.auth-stage > #registerform {
	max-width: 620px;
}
.auth-stage > #loginform,
.auth-stage > #recoverform,
.auth-stage > #resetform {
	max-width: 460px;
}
.auth-card-title {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.25;
	color: #11242a;
}
.auth-card-sub {
	margin: 6px 0 0;
	font-size: 1rem;
	color: #55656c;
}
.auth-stage .card form {
	margin-top: 24px;
}
.auth-card-actions {
	margin-top: 24px;
}
.auth-card-actions-split {
	display: flex;
	gap: 12px;
}
.auth-card-actions-split .btn-primary {
	flex: 1 1 auto;
}
.auth-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: -10px 0 6px;
	font-weight: 600;
	text-decoration: none;
}
.auth-inline-link {
	display: inline-block;
	padding: 11px 2px;
}
.auth-switch {
	margin: 20px 0 -8px;
	padding-top: 12px;
	border-top: 1px solid #e6ecee;
	text-align: center;
}
.auth-legal {
	margin: 14px 0 0;
	font-size: .875rem;
	line-height: 1.7;
}
.auth-secure-note {
	margin: 14px 0 0;
	text-align: center;
	font-size: .875rem;
}
.auth-secure-note i {
	vertical-align: -2px;
	color: #14797f;
}
/* The optional SMS-consent box is not a "valid" field: keep its label neutral after validation. */
.auth-stage .was-validated #sms-consent:valid ~ .form-check-label {
	color: inherit;
}
.auth-stage .form-check-label a {
	display: inline-block;
	padding: 4px 0;
}

/* ---- payment-method step (#subscribeform): your products -> billing terms + agreement ->
   payment method -> Continue. The terms sit ABOVE the payment form on purpose: the price and the
   automatic start must be read and agreed before billing details are asked for. ---- */
.auth-page .pay-alert {
	margin: 16px 0 0;
	border: 1px solid #f1b5b5;
	border-radius: 10px;
	background: #fdecec;
	color: #8a1c1c;            /* the theme's solid pink alert with white text fails AA */
	font-weight: 500;
}
.auth-page .pay-section {
	margin-top: 26px;
}
.auth-page .pay-section-title {
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #11242a;
}
.auth-page .payment-product-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #dfe7ea;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.auth-page .payment-product-row {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	grid-template-areas: "icon name price" "icon free price";
	column-gap: 14px;
	row-gap: 2px;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid #e6ecee;
}
.auth-page .payment-product-icon {
	grid-area: icon;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	object-fit: contain;
}
.auth-page .payment-product-name {
	grid-area: name;
	font-weight: 500;              /* "Klick" normal; the model is the <strong> (brandName split) */
	color: #11242a;
}
.auth-page .payment-product-name strong {
	font-weight: 800;
}
.auth-page .payment-product-free {
	grid-area: free;
	color: #33454c;
}
.auth-page .payment-product-price {
	grid-area: price;
	max-width: 190px;
	text-align: right;
	font-size: .85rem;
	line-height: 1.3;
	color: #55656c;
}
.auth-page .payment-product-amount {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #11242a;
}
.auth-page .payment-product-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 16px;
	background: #f2fafa;
	font-weight: 700;
	color: #11242a;
}
.auth-page .payment-product-total strong {
	font-size: 1.25rem;
	color: #0f6b70;
}
.auth-page .billing-agreement {
	border: 1px solid #dfe7ea;
	border-radius: 12px;
	background: #fff;
}
.auth-page .billing-terms {
	margin: 0;
	padding: 14px 16px 14px 34px;
	color: #33454c;
	line-height: 1.5;
}
.auth-page .billing-terms li + li {
	margin-top: 8px;
}
.auth-page .billing-terms strong {
	color: #11242a;
}
.auth-page .billing-agreement-check {
	margin: 0;
	padding: 14px 16px 14px 48px;
	border-top: 1px solid #dfe7ea;
	border-radius: 0 0 11px 11px;
	background: #f2fafa;
	color: #11242a;
	font-weight: 500;
	line-height: 1.5;
}
.auth-page .billing-agreement-check .form-check-input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0 -34px;
	border: 2px solid #55656c;
	background-color: #fff;
	cursor: pointer;
}
.auth-page .billing-agreement-check .form-check-input:checked {
	background-color: #14797f;
	border-color: #14797f;
}
.auth-page .billing-agreement-check .form-check-input:focus {
	border-color: #14797f;
	box-shadow: 0 0 0 3px rgba(26, 147, 154, .3);
}
.auth-page .billing-agreement-check .form-check-label {
	cursor: pointer;
}
/* Links inside the consent sentence: underlined (not colour alone) and inline, so the lines stay even. */
.auth-page .billing-agreement-check .form-check-label a {
	display: inline;
	padding: 0;
	font-weight: 700;
	text-decoration: underline;
}
.auth-page .pay-continue-hint {
	margin: 10px 0 0;
	text-align: center;
	font-size: .9rem;
	color: #55656c;
}
.auth-page .pay-continue-hint:empty {
	display: none;
}
.auth-page .klk-pm .btn {
	border-radius: 10px;
}

/* ---- sign-ups switched off (#auth-page[data-signup="unavailable"], product view only): no
   product picker and no steps — one white card over the teal band with a clear way to sign in. ---- */
.auth-page .signup-unavailable {
	display: none;
}
.auth-page[data-signup="unavailable"] .signup-unavailable {
	display: block;
	text-align: center;
}
.auth-page[data-signup="unavailable"] .product-picker-head,
.auth-page[data-signup="unavailable"] #product-grid,
.auth-page[data-signup="unavailable"] #product-loading,
.auth-page[data-signup="unavailable"] .product-bar,
.auth-page[data-signup="unavailable"] .auth-assurances,
.auth-page[data-signup="unavailable"][data-auth-view="product"] .auth-hero-copy,
.auth-page[data-signup="unavailable"][data-auth-view="product"] .auth-steps {
	display: none;
}
.auth-page[data-signup="unavailable"][data-auth-view="product"] .auth-hero {
	padding: 0;
	height: 132px;
}
.auth-page[data-signup="unavailable"][data-auth-view="product"] .auth-stage {
	margin-top: -64px;
}
.auth-page[data-signup="unavailable"] .auth-stage > #productform {
	max-width: 520px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 36px rgba(17, 36, 42, .10), 0 1px 3px rgba(17, 36, 42, .06);
}
.auth-page[data-signup="unavailable"] .auth-stage > #productform > .card-body {
	padding: 36px 32px 32px;
}
.signup-unavailable-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: #e6f4f5;
	color: #14797f;
	font-size: 28px;
}
.signup-unavailable-text {
	margin: 10px auto 0;
	max-width: 380px;
	font-size: 1rem;
}
.signup-unavailable .btn {
	margin-top: 24px;
	min-width: 220px;
}
.signup-unavailable-help {
	margin: 18px 0 0;
	font-size: .9rem;
}

/* ---- footer ---- */
.auth-footer {
	margin-top: auto;
	padding: 36px 24px 20px;
}
.auth-support-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0 24px;
	margin: 0;
	text-align: center;
	font-size: .9rem;
	color: #55656c;
}
.auth-support-line a {
	display: inline-block;
	padding: 12px 2px;
	font-weight: 600;
}

@media (max-width: 639.98px) {
	.auth-topbar-inner {
		padding: 8px 16px;
		min-height: 60px;
	}
	.auth-brand-icon {
		height: 32px;
	}
	.auth-brand-text {
		height: 20px;
	}
	.auth-topbar-hint {
		display: none;
	}
	.auth-hero {
		padding: 28px 16px 26px;
	}
	.auth-hero-sub {
		font-size: 1rem;
		margin-top: 10px;
	}
	.auth-steps {
		margin-top: 20px;
	}
	.auth-hero-note {
		font-size: 1rem;
		margin-top: 12px;
	}
	.auth-step {
		font-size: .85rem;
	}
	.auth-step + .auth-step::before {
		width: 14px;
		margin: 0 8px;
	}
	/* Room for all three: only the current step keeps its label on a phone. */
	.auth-step:not(.is-current) .auth-step-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.auth-page:not([data-auth-view="product"]) .auth-hero {
		padding: 22px 16px 86px;
	}
	.auth-page[data-auth-view="login"] .auth-hero,
	.auth-page[data-auth-view="recover"] .auth-hero,
	.auth-page[data-auth-view="reset"] .auth-hero {
		padding: 0;
		height: 96px;
	}
	.auth-stage {
		padding: 0 16px;
	}
	.auth-stage > .card > .card-body {
		padding: 22px 18px;
	}
	.auth-stage > #productform > .card-body {
		padding: 22px 0 0;
	}
	.auth-footer {
		padding: 24px 16px 16px;
	}
	.auth-assurances {
		flex-direction: column;
		align-items: flex-start;
	}
	/* Phone: icon on the left, then name, allowance, and the later price as a sentence. */
	.auth-page .payment-product-row {
		grid-template-columns: 32px minmax(0, 1fr);
		grid-template-areas: "icon name" "icon free" "icon price";
		column-gap: 12px;
		row-gap: 4px;
		padding: 12px 14px;
	}
	.auth-page .payment-product-price {
		max-width: none;
		text-align: left;
		font-size: .9rem;
	}
	.auth-page .payment-product-amount {
		display: inline;
	}
	.auth-page .payment-product-total {
		padding: 12px 14px;
	}
	.auth-page .billing-terms {
		padding: 14px 14px 14px 30px;
	}
	.auth-page .billing-agreement-check {
		padding: 14px 14px 14px 46px;
	}
	.auth-page[data-signup="unavailable"][data-auth-view="product"] .auth-hero {
		height: 96px;
	}
	.auth-page[data-signup="unavailable"] .auth-stage > #productform > .card-body {
		padding: 28px 18px 24px;
	}
	.signup-unavailable .btn {
		width: 100%;
	}
}

/* Signup payment-step Stripe path + processor picker (owner 2026-10-21: PayPal + Stripe at signup). */
.auth-page .pay-proc { border: 0; padding: 0; margin-bottom: 10px; }
.auth-page .pay-proc-legend { font-size: 0.9rem; font-weight: 600; color: #334; float: none; width: auto; margin-bottom: 4px; }
.auth-page .pay-stripe-element {
	border: 1px solid #c7d4ce; border-radius: 8px; padding: 12px; background: #fff; margin-bottom: 4px;
}
.auth-page #pay-stripe-status { font-size: 0.85rem; margin: 6px 0 0; min-height: 1em; }

/* Detect browser autofill on the login fields so a stale validation error can be cleared
   (autofill fires no input/change event). Paired with the `animationstart` ("klkOnAutofill")
   handler in prelogin.js initReactiveValidation. WebKit/Blink only, which covers the audience. */
@keyframes klkOnAutofill { from { } to { } }
.auth-wrapper #emailId-login:-webkit-autofill,
.auth-wrapper #password-login:-webkit-autofill {
	animation-name: klkOnAutofill;
	animation-duration: 0.001s;
}
