@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/outfit/outfit-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/outfit/outfit-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html,
body,
.font-outfit {
	font-family: "Outfit", sans-serif;
}

.app-logo-mark {
	display: inline-flex;
	height: 36px;
	width: 36px;
	flex: 0 0 36px;
	align-items: flex-end;
	justify-content: center;
	gap: 4px;
	border-radius: 10px;
	background-color: var(--color-brand-500);
	padding: 8px 7px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.14);
}

.app-logo-mark--lg {
	height: 48px;
	width: 48px;
	flex-basis: 48px;
	gap: 5px;
	border-radius: 14px;
	padding: 10px 9px;
}

.app-logo-mark__bar {
	display: block;
	width: 4px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: inset 0 -1px 0 rgba(16, 24, 40, 0.08);
}

.app-logo-mark--lg .app-logo-mark__bar {
	width: 5px;
}

.app-logo-mark__bar--tall {
	height: 20px;
}

.app-logo-mark__bar--short {
	height: 13px;
	opacity: 0.9;
}

.app-logo-mark__bar--mid {
	height: 17px;
	opacity: 0.75;
}

.app-logo-mark--lg .app-logo-mark__bar--tall {
	height: 28px;
}

.app-logo-mark--lg .app-logo-mark__bar--short {
	height: 19px;
}

.app-logo-mark--lg .app-logo-mark__bar--mid {
	height: 24px;
}

.app-logo-image {
	display: inline-flex;
	height: 36px;
	width: 36px;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 10px;
	background-color: #ffffff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.14);
}

.app-logo-image--lg {
	height: 48px;
	width: 48px;
	flex-basis: 48px;
	border-radius: 14px;
}

.app-logo-image img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;
	padding: 4px;
}

.app-action-button {
	border-color: transparent;
	transform: translateY(0);
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.app-action-button:hover {
	color: #ffffff;
	transform: translateY(-1px);
}

.app-action-button--view {
	border-color: rgba(18, 183, 106, 0.22);
	background-color: #dcfae6;
	color: #039855;
}

.app-action-button--view:hover {
	border-color: #12b76a;
	background-color: #12b76a;
}

.app-action-button--edit {
	border-color: rgba(70, 95, 255, 0.22);
	background-color: #eef4ff;
	color: #465fff;
}

.app-action-button--edit:hover {
	border-color: #465fff;
	background-color: #465fff;
}

.app-action-button--impersonate {
	border-color: rgba(247, 144, 9, 0.24);
	background-color: #fffaeb;
	color: #dc6803;
}

.app-action-button--impersonate:hover {
	border-color: #f79009;
	background-color: #f79009;
}

.app-action-button--delete,
.app-action-button--disabled {
	border-color: rgba(240, 68, 56, 0.22);
	background-color: #fff1f3;
	color: #f04438;
}

.app-action-button--delete:hover {
	border-color: #f04438;
	background-color: #f04438;
}

.dark .app-action-button--view {
	border-color: rgba(18, 183, 106, 0.36);
	background-color: rgba(18, 183, 106, 0.26);
	color: #75e0a7;
}

.dark .app-action-button--edit {
	border-color: rgba(70, 95, 255, 0.42);
	background-color: rgba(70, 95, 255, 0.3);
	color: #b2ccff;
}

.dark .app-action-button--impersonate {
	border-color: rgba(247, 144, 9, 0.42);
	background-color: rgba(247, 144, 9, 0.24);
	color: #fec84b;
}

.dark .app-action-button--delete,
.dark .app-action-button--disabled {
	border-color: rgba(240, 68, 56, 0.42);
	background-color: rgba(240, 68, 56, 0.3);
	color: #fecdca;
}

.app-upload-control {
	min-width: 0;
}

.app-asset-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 1024px) {
	.app-asset-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.app-softphone-toggle {
	position: relative;
	display: inline-flex;
	height: 44px;
	min-width: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 9999px;
	border: 1px solid #d0d5dd;
	background: #ffffff;
	padding: 0 12px;
	color: #475467;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.app-softphone-toggle:hover {
	border-color: #465fff;
	color: #465fff;
}

.dark .app-softphone-toggle {
	border-color: #1f2937;
	background: #111827;
	color: #98a2b3;
}

.app-softphone-toggle__dot {
	position: absolute;
	right: 4px;
	top: 4px;
	height: 9px;
	width: 9px;
	border-radius: 9999px;
	background: #98a2b3;
	box-shadow: 0 0 0 2px #ffffff;
}

.dark .app-softphone-toggle__dot {
	box-shadow: 0 0 0 2px #111827;
}

.app-softphone-toggle[data-state="ready"] .app-softphone-toggle__dot {
	background: #12b76a;
}

.app-softphone-toggle[data-state="calling"] .app-softphone-toggle__dot,
.app-softphone-toggle[data-state="in-call"] .app-softphone-toggle__dot {
	background: #f79009;
}

.app-softphone-toggle[data-state="error"] .app-softphone-toggle__dot {
	background: #f04438;
}

.app-softphone-drawer {
	position: fixed;
	right: 16px;
	top: 88px;
	z-index: 100000;
	width: min(420px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid #eaecf0;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 20px 48px rgba(16, 24, 40, 0.18);
}

.dark .app-softphone-drawer {
	border-color: #1f2937;
	background: #101828;
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.app-softphone-icon-button,
.app-softphone-secondary-button,
.app-softphone-call-button,
.app-softphone-hangup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.app-softphone-icon-button {
	height: 36px;
	width: 36px;
	color: #667085;
}

.app-softphone-icon-button:hover {
	background: #f2f4f7;
	color: #344054;
}

.app-softphone-call-button {
	min-height: 44px;
	background: #12b76a;
	color: #ffffff;
}

.app-softphone-call-button:hover {
	background: #039855;
}

.app-softphone-hangup-button {
	min-height: 44px;
	background: #f04438;
	color: #ffffff;
}

.app-softphone-hangup-button:hover {
	background: #d92d20;
}

.app-softphone-secondary-button {
	min-height: 44px;
	border: 1px solid #d0d5dd;
	background: #ffffff;
	color: #344054;
}

.app-softphone-secondary-button:hover {
	background: #f9fafb;
}

.app-softphone-call-button:disabled,
.app-softphone-hangup-button:disabled,
.app-softphone-secondary-button:disabled {
	cursor: not-allowed;
	opacity: 0.48;
}

.dark .app-softphone-icon-button:hover,
.dark .app-softphone-secondary-button:hover {
	background: rgba(255, 255, 255, 0.06);
}

.dark .app-softphone-secondary-button {
	border-color: #374151;
	background: #111827;
	color: #d0d5dd;
}

.app-softphone-status {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	background: #f2f4f7;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #475467;
}

[data-softphone][data-state="ready"] .app-softphone-status {
	background: #ecfdf3;
	color: #027a48;
}

[data-softphone][data-state="calling"] .app-softphone-status,
[data-softphone][data-state="in-call"] .app-softphone-status {
	background: #fffaeb;
	color: #b54708;
}

[data-softphone][data-state="error"] .app-softphone-status {
	background: #fef3f2;
	color: #b42318;
}

.dark .app-softphone-status {
	background: rgba(255, 255, 255, 0.06);
	color: #d0d5dd;
}

.app-asset-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #eaecf0;
	border-radius: 8px;
	background: #ffffff;
	padding: 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.app-asset-preview {
	display: flex;
	height: 92px;
	width: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px dashed #d0d5dd;
	border-radius: 8px;
	background:
		linear-gradient(45deg, rgba(102, 112, 133, 0.08) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(102, 112, 133, 0.08) 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, rgba(102, 112, 133, 0.08) 75%),
		linear-gradient(-45deg, transparent 75%, rgba(102, 112, 133, 0.08) 75%);
	background-color: #f9fafb;
	background-position: 0 0, 0 8px, 8px -8px, -8px 0;
	background-size: 16px 16px;
	color: #667085;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
}

.app-asset-preview img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: contain;
	padding: 8px;
}

.app-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.app-upload-dropzone {
	display: flex;
	min-height: 42px;
	width: 100%;
	cursor: pointer;
	align-items: center;
	gap: 10px;
	border: 1px solid #d0d5dd;
	border-radius: 8px;
	background: #f9fafb;
	padding: 6px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.app-upload-dropzone:hover {
	border-color: var(--color-brand-300);
	background: #ffffff;
}

.app-upload-input:focus-visible + .app-upload-dropzone {
	border-color: var(--color-brand-300);
	box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 12%, transparent);
}

.app-upload-preview {
	display: inline-flex;
	height: 32px;
	width: 32px;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 8px;
	background: #f2f4f7;
	color: #667085;
}

.app-upload-preview--wide {
	width: 52px;
	flex-basis: 52px;
}

.app-upload-preview img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.app-upload-preview-ext {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 12px;
}

.app-upload-button {
	display: inline-flex;
	min-height: 30px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	background: var(--color-brand-500);
	padding: 5px 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	color: #ffffff;
}

.dark .app-asset-card {
	border-color: #1d2939;
	background: rgba(255, 255, 255, 0.03);
}

.dark .app-asset-preview {
	border-color: #344054;
	background-color: rgba(255, 255, 255, 0.03);
	color: #98a2b3;
}

.dark .app-upload-dropzone {
	border-color: #344054;
	background: rgba(255, 255, 255, 0.04);
}

.dark .app-upload-dropzone:hover {
	border-color: var(--color-brand-400);
	background: rgba(255, 255, 255, 0.05);
}

.dark .app-upload-preview {
	background: rgba(255, 255, 255, 0.06);
	color: #98a2b3;
}

.app-brand-label {
	max-width: 180px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

header .app-brand-label {
	max-width: 52vw;
}

.min-w-\[1000px\] {
	min-width: 1000px;
}

.min-w-\[760px\] {
	min-width: 760px;
}

.min-w-\[1102px\] {
	min-width: 1102px;
}

.min-w-\[1180px\] {
	min-width: 1180px;
}

.app-responsive-table {
	min-width: 0;
}

@media (min-width: 1024px) {
	.app-responsive-table--login-log {
		min-width: 1280px;
	}
}

[data-datatable-grid] .overflow-x-auto {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

@media (min-width: 1280px) {
	.xl\:w-\[300px\] {
		width: 300px;
	}
}

[data-sidebar].sidebar {
	background: var(--app-sidebar-bg, #ffffff);
	border-right-color: var(--app-sidebar-border, #eaecf0);
	color: var(--app-sidebar-text, #344054);
}

html.dark [data-sidebar].sidebar {
	background: #101828 !important;
	border-right-color: #1d2939 !important;
	color: #d0d5dd;
}

[data-sidebar] .menu-item,
[data-sidebar] .menu-dropdown-item {
	gap: 12px;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

[data-sidebar] .menu-item {
	min-height: 40px;
}

[data-sidebar] .menu-dropdown-item {
	min-height: 44px;
	padding-top: 10px;
	padding-bottom: 10px;
}

[data-sidebar] .menu-dropdown {
	margin-top: 4px;
	padding-left: 36px;
}

[data-sidebar] .menu-item svg,
[data-sidebar] .menu-dropdown-item svg {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

[data-sidebar] .menu-item-inactive,
[data-sidebar] .menu-dropdown-item-inactive {
	color: var(--app-sidebar-text, #344054);
}

.dark [data-sidebar] .menu-item-inactive,
.dark [data-sidebar] .menu-dropdown-item-inactive {
	color: #d0d5dd;
}

[data-sidebar] .menu-item-inactive:hover,
[data-sidebar] .menu-dropdown-item-inactive:hover {
	background-color: var(--app-sidebar-hover-bg, #f2f4f7);
	color: var(--app-sidebar-hover-text, #344054);
}

.dark [data-sidebar] .menu-item-inactive:hover,
.dark [data-sidebar] .menu-dropdown-item-inactive:hover {
	background-color: rgba(255, 255, 255, 0.05);
	color: #d0d5dd;
}

[data-sidebar] .menu-item-icon-inactive,
[data-sidebar] .menu-dropdown-item-inactive > span:first-child {
	color: var(--app-sidebar-muted, #667085);
	fill: var(--app-sidebar-muted, #667085);
}

.dark [data-sidebar] .menu-item-icon-inactive,
.dark [data-sidebar] .menu-dropdown-item-inactive > span:first-child {
	color: #98a2b3;
	fill: #98a2b3;
}

[data-sidebar] .menu-item-active {
	background-color: var(--app-sidebar-active-bg, var(--color-brand-50));
	color: var(--app-sidebar-active-text, var(--color-brand-500));
}

.dark [data-sidebar] .menu-item-active {
	background-color: color-mix(in oklab, var(--color-brand-500) 12%, transparent);
	color: var(--color-brand-400);
}

[data-sidebar] .menu-dropdown-item-active {
	background-color: transparent;
	color: var(--color-brand-500);
}

.dark [data-sidebar] .menu-dropdown-item-active {
	color: var(--color-brand-400);
}

[data-sidebar] .menu-item-icon-active,
[data-sidebar] .menu-dropdown-item-active > span:first-child {
	color: var(--app-sidebar-active-text, var(--color-brand-500));
	fill: var(--app-sidebar-active-text, var(--color-brand-500));
}

.dark [data-sidebar] .menu-item-icon-active,
.dark [data-sidebar] .menu-dropdown-item-active > span:first-child {
	color: var(--color-brand-400);
	fill: var(--color-brand-400);
}

[data-sidebar] .menu-item-arrow {
	color: var(--app-sidebar-muted, #667085);
}

.dark [data-sidebar] .menu-item-arrow {
	color: #98a2b3;
}

[data-sidebar] .menu-item-active .menu-item-arrow {
	color: var(--app-sidebar-active-text, var(--color-brand-500));
	stroke: var(--app-sidebar-active-text, var(--color-brand-500));
}

.dark [data-sidebar] .menu-item-active .menu-item-arrow {
	color: var(--color-brand-400);
	stroke: var(--color-brand-400);
}

[data-sidebar] [data-disclosure] .menu-item-arrow {
	transform: rotate(0deg);
	transform-origin: center;
	transition: transform 180ms ease, color 180ms ease, stroke 180ms ease;
}

[data-sidebar] [data-disclosure][aria-expanded="true"] .menu-item-arrow {
	transform: rotate(180deg);
}

@media (min-width: 1024px) {
	[data-sidebar][data-sidebar-collapsed="true"] {
		width: 90px;
	}

	[data-sidebar][data-sidebar-collapsed="true"] [data-sidebar-label],
	[data-sidebar][data-sidebar-collapsed="true"] [data-sidebar-logo-full],
	[data-sidebar][data-sidebar-collapsed="true"] [data-sidebar-submenu-list] {
		display: none;
	}

	[data-sidebar][data-sidebar-collapsed="true"] [data-sidebar-logo-icon],
	[data-sidebar][data-sidebar-collapsed="true"] [data-sidebar-collapsed-marker] {
		display: block;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover {
		width: 290px;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover [data-sidebar-logo-full] {
		display: block;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover [data-sidebar-logo-icon],
	[data-sidebar][data-sidebar-collapsed="true"]:hover [data-sidebar-collapsed-marker] {
		display: none;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover .menu-item-text {
		display: inline;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover .menu-item-arrow {
		display: block;
	}

	[data-sidebar][data-sidebar-collapsed="true"]:hover [data-sidebar-submenu-list] {
		display: flex;
	}
}

/* Ensure datatable header has a higher stacking context than the body rows 
   so that popups are not covered by row action buttons */
[data-datatable-grid] .overflow-x-auto > div > div:not([data-datatable-rows]) {
    position: relative;
    z-index: 20;
}
[data-datatable-grid] .overflow-x-auto > div > [data-datatable-rows] {
    position: relative;
    z-index: 10;
}

/* Datatable filter options scrollable container */
[data-dt-filter-options] {
    max-height: 14rem;
    overflow-y: auto;
}
