:root {
	--app-bg: #182437;
	--app-bg-soft: #24364c;
	--app-panel: #1a2b3f;
	--app-panel-soft: #2b3f57;
	--app-card: rgba(24, 36, 55, 0.84);
	--app-border: rgba(148, 163, 184, 0.2);
	--app-text: #e5e7eb;
	--app-text-soft: #93a3b8;
	--app-primary: #2f7be4;
	--app-primary-soft: rgba(47, 123, 228, 0.16);
	--app-ok: #15a34a;
	--app-error: #dc2626;
	--status-released: #254d66;
	--status-danger: #64272d;
	--status-blacklist: #0b1220;
	--status-whitelist: #214b38;
	--status-spam: #5a3a22;
	--status-clean: #293544;
	--app-btn-bg: #FBDBBB;
	--app-btn-text: #ef8124;
	--app-btn-border: #ef8124;
	--app-btn-bg-hover: #f8d2ac;
	--app-btn-text-hover: #df7417;
	--app-shadow: 0 6px 16px rgba(2, 6, 23, 0.14);
	--app-bg-rgb: 24, 36, 55;
	--app-bg-soft-rgb: 36, 54, 76;
}

* {
	box-sizing: border-box;
}

body.app-shell,
body {
	margin: 0;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	background:
		radial-gradient(1200px circle at 0% -20%, #1d4ed8 0%, transparent 44%),
		radial-gradient(1000px circle at 100% -10%, #059669 0%, transparent 38%),
		linear-gradient(180deg, var(--app-bg), #101d2f 80%);
	color: var(--app-text);
	min-height: 100vh;
}

a {
	color: #ef8124;
}

a:hover,
a:focus {
	color: #df7417;
}

.app-top-tools {
	position: relative;
	z-index: 5;
	margin-left: auto;
	gap: 0.69rem;
}

.app-header-bar {
	gap: 1.2rem;
	flex-wrap: nowrap;
	align-items: center !important;
	justify-content: flex-start !important;
}

.app-top-header {
	margin-top: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 20px -16px rgba(15, 23, 42, 0.42);
}

.app-brand-inline {
	padding-inline-start: 0.1rem;
}

.app-brand-tagline {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--app-text-soft);
	width: 100%;
	text-align: center;
}

.app-wrapper {
	max-width: 1600px;
}

.app-card {
	background: var(--app-card);
	border: 1px solid var(--app-border);
	border-radius: 14px;
	box-shadow: var(--app-shadow);
	backdrop-filter: blur(8px);
	color: var(--app-text);
}

.app-logo {
	max-width: 170px;
}

.card-header {
	background: linear-gradient(180deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
	color: #ffffff;
	font-weight: 600;
	font-size: 0.84rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid var(--app-border);
}

.app-top-nav-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.app-top-nav-collapse {
	order: 2;
	flex: 1 1 auto;
	width: auto;
	margin-top: 0;
	min-width: 0;
}

.app-top-nav-links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	flex: 1 1 auto;
	row-gap: 0.45rem;
	column-gap: 0.45rem;
}

.app-top-list .app-list-item {
	border-radius: 10px;
	padding: 0.44rem 0.88rem;
	font-weight: 600;
	width: auto !important;
	flex: 0 0 auto;
	border: 1px solid rgba(148, 163, 184, 0.34);
	background: linear-gradient(180deg, rgba(var(--app-bg-rgb), 0.58), rgba(var(--app-bg-rgb), 0.28));
	box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.05);
	transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item {
	border: 1px solid rgba(148, 163, 184, 0.34);
	border-radius: 10px;
}

.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item + .list-group-item.app-list-item {
	margin-left: 0;
	border-left-width: 1px;
}

.app-top-nav-links .list-group-item-action {
	width: auto !important;
	flex: 0 0 auto;
}

.app-brand-inline {
	order: 1;
	flex: 0 0 auto;
}

.app-header-logout {
	white-space: nowrap;
	height: 30px !important;
	min-height: 30px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.app-logged-in-as {
	align-items: center;
	min-height: 30px;
	color: rgba(248, 250, 252, 0.78);
	font-size: 0.69rem;
	font-weight: 600;
	white-space: nowrap;
}

body[data-theme="light"] .app-logged-in-as,
body:not([data-theme="dark"]) .app-logged-in-as {
	color: rgba(15, 23, 42, 0.78);
}

.app-mobile-menu-toggle {
	white-space: nowrap;
}

.app-top-tools {
	order: 3;
	flex: 0 0 auto;
}

.app-list-item-external::after {
	content: "\f35d";
	font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
	font-weight: 900;
	margin-left: 0.4rem;
	font-size: 0.7rem;
	opacity: 0.7;
}

.app-top-meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
}

.app-top-greeting-line {
	width: 100%;
}

.app-top-greeting-line .app-top-greeting-text {
	display: inline-block;
	padding-left: 0.85rem;
	border-left: 3px solid rgba(239, 129, 36, 0.72);
	color: rgba(255, 255, 255, 0.84) !important;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.app-top-greeting-line .app-top-greeting-text::before {
	content: none;
}

.app-top-greeting-line .app-top-greeting-text::after {
	content: none;
}

.app-top-domain-line {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 280px;
}

.app-domain-inline-form {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	flex: 0 0 auto;
}

.app-domain-inline-form .form-select {
	min-width: 0;
	width: auto;
}

.app-domain-inline-form .select2-container {
	width: auto !important;
	min-width: 250px;
	max-width: 100%;
	flex: 0 0 auto;
}

.app-domain-inline-form select.select2-inline + .select2-container {
	width: auto !important;
	min-width: 250px;
	max-width: 100%;
}

.app-domain-inline-form .select2-selection__rendered {
	white-space: nowrap;
}

body[data-theme="dark"] .app-domain-inline-form .select2-container--default .select2-selection--single {
	background: rgba(15, 23, 42, 0.96);
	border-color: rgba(226, 232, 240, 0.48);
}

body[data-theme="dark"] .app-domain-inline-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #f8fafc;
	font-weight: 700;
}

.app-domain-static-value {
	font-weight: 700;
}

.app-quick-search-form {
	flex: 0 1 720px;
	margin: 0;
	margin-left: auto;
}

.app-quick-search-main {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto auto;
	gap: 0.5rem;
	align-items: center;
}

.app-quick-search-main .form-control {
	min-width: 0;
}

.app-quick-search-main .btn {
	white-space: nowrap;
}

.app-quick-search-advanced {
	overflow: hidden;
}

.app-quick-search-advanced-inner {
	margin-top: 0.5rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 10px;
}

@media (min-width: 992px) {
	.app-quick-search-advanced-inner label {
		display: block;
	}
}

.app-list {
	border: 0;
}

.app-list-item,
.list-group-item.app-list-item {
	background: transparent;
	border-color: rgba(148, 163, 184, 0.12);
	color: #dbeafe;
}

.app-list-item:hover,
.list-group-item.app-list-item:hover {
	background: rgba(239, 129, 36, 0.24);
	border-color: rgba(239, 129, 36, 0.56);
	color: #ffffff;
}

.app-top-nav-links .list-group-item-action:hover,
.app-top-nav-links .list-group-item-action:focus {
	background: rgba(239, 129, 36, 0.24) !important;
	border-color: rgba(239, 129, 36, 0.56) !important;
	color: #ffffff !important;
}

.app-list-item.active,
.list-group-item.app-list-item.active {
	background: #ef8124 !important;
	border-color: #ef8124 !important;
	color: #ffffff !important;
}

.app-top-list .app-list-item.active,
.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item.active,
.app-top-list .app-list-item.active:hover,
.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item.active:hover {
	background: #ef8124 !important;
	border-color: #ef8124 !important;
	color: #ffffff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-label {
	color: #cbd5e1;
}

.form-select,
.form-control,
input[type="text"],
input[type="password"],
textarea,
select {
	background-color: rgba(var(--app-bg-rgb), 0.86) !important;
	border: 1px solid rgba(148, 163, 184, 0.36) !important;
	color: #e2e8f0 !important;
}

.form-select:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border-color: #93c5fd !important;
	box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.28) !important;
}

.password-visibility-wrap {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
}

.password-visibility-wrap.admin-password-visibility-wrap,
.password-visibility-wrap.admin-domain-password-visibility-wrap,
.password-visibility-wrap.user-password-visibility-wrap {
	display: inline-block;
	width: auto;
	max-width: 100%;
	line-height: 0;
	vertical-align: top;
}

.password-visibility-wrap input[type="password"],
.password-visibility-wrap input[type="text"][data-password-toggle-original="password"] {
	padding-right: 2.6rem !important;
}

.password-visibility-wrap.admin-password-visibility-wrap input[type="password"],
.password-visibility-wrap.admin-password-visibility-wrap input[type="text"][data-password-toggle-original="password"],
.password-visibility-wrap.admin-domain-password-visibility-wrap input[type="password"],
.password-visibility-wrap.admin-domain-password-visibility-wrap input[type="text"][data-password-toggle-original="password"],
.password-visibility-wrap.user-password-visibility-wrap input[type="password"],
.password-visibility-wrap.user-password-visibility-wrap input[type="text"][data-password-toggle-original="password"] {
	vertical-align: top;
}

.password-visibility-toggle {
	position: absolute;
	top: 50%;
	right: 0.45rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #cbd5e1;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 2;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus {
	background: rgba(148, 163, 184, 0.18);
	color: #ffffff;
	outline: none;
}

.password-visibility-toggle svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
	pointer-events: none;
}

.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
	accent-color: #ef8124;
	background-color: rgba(var(--app-bg-rgb), 0.86) !important;
	border-color: rgba(148, 163, 184, 0.55) !important;
}

.form-check-input[type="checkbox"]:checked,
.form-check-input[type="radio"]:checked {
	background-color: #ef8124 !important;
	border-color: #ef8124 !important;
}

.form-check-input[type="checkbox"]:focus,
.form-check-input[type="radio"]:focus {
	border-color: #ef8124 !important;
	box-shadow: 0 0 0 0.2rem rgba(239, 129, 36, 0.28) !important;
}

input::placeholder,
textarea::placeholder {
	color: #cbd5e1 !important;
	opacity: 1 !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #cbd5e1 !important;
	opacity: 1 !important;
}

body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder,
body[data-theme="dark"] input::-webkit-input-placeholder,
body[data-theme="dark"] textarea::-webkit-input-placeholder {
	color: #cbd5e1 !important;
	opacity: 1 !important;
}

.password-policy-help {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.72rem;
	color: var(--app-text-soft);
}

.password-policy-meter-wrap {
	margin-top: 0.4rem;
	max-width: 420px;
}

.password-policy-meter {
	height: 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.35);
	overflow: hidden;
}

.password-policy-meter-bar {
	display: block;
	height: 100%;
	width: 0;
	background: #64748b;
	transition: width 160ms ease, background-color 160ms ease;
}

.password-policy-meter.weak .password-policy-meter-bar {
	background: #dc2626;
}

.password-policy-meter.medium .password-policy-meter-bar {
	background: #f59e0b;
}

.password-policy-meter.strong .password-policy-meter-bar {
	background: #22c55e;
}

.password-policy-meter.very-strong .password-policy-meter-bar {
	background: #16a34a;
}

.password-policy-feedback {
	display: block;
	margin-top: 0.28rem;
	font-size: 0.72rem;
	color: var(--app-text-soft);
}

.password-policy-feedback.is-invalid {
	color: #fca5a5;
}

.password-policy-feedback.is-valid {
	color: #86efac;
}

.list-editor-section + .list-editor-section {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.list-editor-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 0.55rem;
}

.list-editor-section-head .con_head {
	margin: 0;
}

.list-editor-note {
	margin: 0.55rem 0 0.9rem;
	color: #fca5a5;
	font-weight: 600;
}

.list-editor-auth-warning {
	margin: 0.75rem 0 0.9rem;
	border-color: rgba(251, 191, 36, 0.42);
	background: rgba(251, 191, 36, 0.14);
	color: #fde68a;
}

.list-editor {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.list-editor-input-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
}

.list-editor-search-row {
	display: block;
}

.list-editor-search-input {
	width: 100%;
}

.list-editor-help {
	margin: -0.2rem 0 0;
	font-size: 0.78rem;
	color: var(--app-text-soft);
}

.list-editor-feedback {
	display: none;
	margin-top: 0.2rem;
	margin-bottom: 0.15rem;
	padding: 0.65rem 0.8rem;
	font-size: 0.82rem;
}

.list-editor-feedback.is-error {
	display: block;
}

.list-editor-feedback.is-success {
	display: block;
}

.list-editor-feedback.is-info {
	display: block;
}

.list-editor-chipbox {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	padding: 0.8rem;
	border: 1px dashed rgba(148, 163, 184, 0.34);
	border-radius: 0.95rem;
	background: rgba(var(--app-bg-rgb), 0.26);
	min-height: 4rem;
	align-items: flex-start;
}

.list-editor-empty {
	color: var(--app-text-soft);
	font-size: 0.9rem;
}

.list-editor-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.38rem 0.45rem 0.38rem 0.78rem;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.18);
	border: 1px solid rgba(96, 165, 250, 0.32);
	color: #dbeafe;
	max-width: 100%;
}

.list-editor-chip.is-new {
	background: rgba(249, 115, 22, 0.2);
	border-color: rgba(251, 146, 60, 0.45);
	color: #fed7aa;
}

.list-editor-chip.is-deleted {
	background: rgba(220, 38, 38, 0.22);
	border-color: rgba(248, 113, 113, 0.45);
	color: #fecaca;
}

.list-editor-chip-label {
	overflow-wrap: anywhere;
}

.list-editor-chip-remove {
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	padding: 0 0.1rem !important;
	line-height: 1;
	font-size: 1rem;
	font-weight: 700;
	opacity: 0.8;
}

.list-editor-chip-remove:hover,
.list-editor-chip-remove:focus {
	opacity: 1;
}

.list-editor.is-enhanced .list-editor-source {
	display: none !important;
}

.app-settings-card .list-editor-section + .tab_normal.tscolunm_center.con_txt {
	margin-top: 1.25rem;
	padding-top: 0.5rem;
}

body[data-theme="light"] .list-editor-chipbox,
body:not([data-theme="dark"]) .list-editor-chipbox {
	background: rgba(226, 232, 240, 0.45);
	border-color: rgba(148, 163, 184, 0.28);
}

body[data-theme="light"] .list-editor-chip,
body:not([data-theme="dark"]) .list-editor-chip {
	background: rgba(219, 234, 254, 0.88);
	border-color: rgba(96, 165, 250, 0.34);
	color: #1e3a8a;
}

body[data-theme="light"] .list-editor-chip.is-new,
body:not([data-theme="dark"]) .list-editor-chip.is-new {
	background: rgba(255, 237, 213, 0.96);
	border-color: rgba(249, 115, 22, 0.34);
	color: #9a3412;
}

body[data-theme="light"] .list-editor-chip.is-deleted,
body:not([data-theme="dark"]) .list-editor-chip.is-deleted {
	background: rgba(254, 226, 226, 0.96);
	border-color: rgba(239, 68, 68, 0.34);
	color: #991b1b;
}

.select2-container {
	width: auto !important;
	min-width: 170px;
	max-width: 100%;
}

select.select2-inline + .select2-container {
	width: auto !important;
	min-width: 0;
	display: inline-block;
	vertical-align: middle;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	background-color: rgba(var(--app-bg-rgb), 0.86);
	border: 1px solid rgba(148, 163, 184, 0.36);
	color: #e2e8f0;
	min-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #e2e8f0;
	line-height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 32px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: rgba(51, 65, 85, 0.95);
	border: 1px solid rgba(148, 163, 184, 0.4);
	color: #e2e8f0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #cbd5e1;
}

.select2-dropdown {
	background: #162538;
	border: 1px solid rgba(148, 163, 184, 0.36);
	color: #e2e8f0;
}

.select2-results__option {
	color: #e2e8f0;
}

.select2-container--default .select2-results__option--selected {
	background-color: rgba(59, 130, 246, 0.28);
	color: #f8fafc;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #2563eb;
	color: #ffffff;
}

.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	border: none !important;
}

.btn[class*="btn-outline-"],
button[class*="btn-outline-"] {
	border-width: var(--bs-btn-border-width, 1px) !important;
	border-style: solid !important;
	border-color: var(--bs-btn-border-color, currentColor) !important;
}

.btn-primary,
button.btn-primary,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: var(--app-btn-bg) !important;
	border: none !important;
	color: var(--app-btn-text) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:active,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	background: var(--app-btn-bg-hover) !important;
	border: none !important;
	color: var(--app-btn-text-hover) !important;
}

.btn-primary:focus,
button.btn-primary:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	box-shadow: 0 0 0 0.2rem rgba(239, 129, 36, 0.24) !important;
}

.list-editor-add-btn {
	background: transparent !important;
	color: #df7417 !important;
	border-width: var(--bs-btn-border-width, 1px) !important;
	border-style: solid !important;
	border-color: #df7417 !important;
}

.list-editor-add-btn:hover,
.list-editor-add-btn:focus,
.list-editor-add-btn:active {
	background: #df7417 !important;
	color: #ffffff !important;
}

.theme-toggle-btn {
	min-width: 38px;
	height: 30px !important;
	min-height: 30px !important;
	padding: 0 0.45rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: rgba(var(--app-bg-rgb), 0.72);
	color: #f8fafc;
}

.theme-toggle-btn:hover {
	background: rgba(59, 130, 246, 0.2);
	color: #ffffff;
}

.app-filter-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	border: none;
	background: linear-gradient(180deg, #475569, #334155);
	color: #f8fafc;
}

.app-filter-toggle-btn:hover,
.app-filter-toggle-btn:focus {
	background: linear-gradient(180deg, #64748b, #475569);
	color: #ffffff;
}

.app-filter-toggle-btn[aria-expanded="true"] {
	background: linear-gradient(180deg, #ea580c, #c2410c);
	color: #ffffff;
}

.app-filter-toggle-btn[aria-expanded="true"]::after {
	content: "\f00d";
	font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
	font-weight: 900;
	margin-left: 0.1rem;
	font-size: 0.74rem;
	line-height: 1;
}

.app-filter-toggle-btn[aria-expanded="true"]:hover,
.app-filter-toggle-btn[aria-expanded="true"]:focus {
	background: linear-gradient(180deg, #f97316, #ea580c);
	color: #ffffff;
}

.app-logout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	background: linear-gradient(135deg, #fbdbbb, #f7cda8) !important;
	color: #ef8124 !important;
	border: none !important;
	font-weight: 700;
	letter-spacing: 0.01em;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.app-logout-btn .fa-solid {
	display: inline-flex;
	align-items: center;
}

.app-logout-btn:hover,
.app-logout-btn:focus {
	background: linear-gradient(135deg, #f8d2ac, #f4c091) !important;
	color: #df7417 !important;
	transform: translateY(-1px);
}

.app-main-content {
	background: rgba(var(--app-bg-rgb), 0.76);
	border: 1px solid var(--app-border);
	border-radius: 14px;
	padding: 0.8rem;
	box-shadow: var(--app-shadow);
	min-height: calc(100vh - 46px);
}

.app-main-content > table,
.app-main-content table.nested,
.app-main-content .tssearchpagin,
.app-main-content form > table {
	width: 100%;
	margin-bottom: 0.75rem;
}

.table,
table {
	color: #e2e8f0;
}

.app-main-content table,
.app-main-content .table {
	--bs-table-bg: #162538;
	--bs-table-color: #e2e8f0;
	--bs-table-border-color: rgba(148, 163, 184, 0.18);
	--bs-table-striped-bg: #24364c;
	--bs-table-striped-color: #e2e8f0;
	--bs-table-hover-bg: rgba(59, 130, 246, 0.12);
	--bs-table-hover-color: #ffffff;
	color: #e2e8f0;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 10px;
	overflow: hidden;
}

.app-main-content table th,
.app-main-content table td {
	padding: 0.65rem 0.8rem;
	border-color: rgba(148, 163, 184, 0.18);
	overflow-wrap: anywhere;
	word-break: break-word;
}

.app-main-content table th {
	background: rgba(51, 65, 85, 0.82);
	color: #f8fafc;
}

.app-statistics-table,
.app-statistics-table > :not(caption) > * > * {
	--bs-table-color: #e2e8f0;
	--bs-table-bg: #162538;
	--bs-table-border-color: rgba(148, 163, 184, 0.18);
	color: #e2e8f0;
}

.app-statistics-table thead th {
	background: rgba(51, 65, 85, 0.86);
	color: #f8fafc;
}

th,
td {
	vertical-align: middle;
}

.con_head {
	font-size: 0.78rem;
	font-weight: 700;
	color: #f8fafc;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.con_txt,
.content_txt,
.content_txt_blacklist {
	font-size: 0.84rem;
	line-height: 1.4;
	color: #e2e8f0;
}

.content_txt_blacklist {
	color: #ffffff;
}

a.nav_link {
	text-decoration: none;
}

a.nav_link:hover {
	text-decoration: underline;
}

/* Message and management tables */
table.nested,
.app-main-content > table {
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 10px;
}

.app-main-content table.nested {
	margin-bottom: 1.2rem;
}

/* Users + Configuration tables */
.app-main-content table.nested.top {
	border: 1px solid var(--app-border);
	background: rgba(var(--app-bg-rgb), 0.78);
	box-shadow: var(--app-shadow);
	border-radius: 12px;
}

.app-main-content .app-settings-card {
	border: 1px solid var(--app-border);
	background: rgba(var(--app-bg-rgb), 0.78);
	box-shadow: var(--app-shadow);
}

.app-main-content .app-settings-card > .card-body {
	padding: 0.85rem;
}

.app-main-content table.nested.top > tbody > tr > td > table.nested {
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 10px;
	background: rgba(var(--app-bg-rgb), 0.76);
	margin-bottom: 0.95rem;
}

.app-main-content .app-settings-card table.nested {
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 10px;
	background: rgba(var(--app-bg-rgb), 0.76);
	margin-bottom: 0.95rem;
}

.app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > th,
.app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > td {
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.app-main-content .app-settings-card table.nested > tbody > tr > th,
.app-main-content .app-settings-card table.nested > tbody > tr > td {
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr:last-child > th,
.app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr:last-child > td {
	border-bottom: 0;
}

.app-main-content .app-settings-card table.nested > tbody > tr:last-child > th,
.app-main-content .app-settings-card table.nested > tbody > tr:last-child > td {
	border-bottom: 0;
}

.app-main-content td[bgcolor],
.app-main-content th[bgcolor] {
	background: rgba(var(--app-bg-rgb), 0.92) !important;
	color: #e2e8f0 !important;
}

.app-main-content th[bgcolor="#999999"],
.app-main-content td[bgcolor="#999999"],
.app-main-content th[bgcolor="#CCCCCC"],
.app-main-content td[bgcolor="#CCCCCC"] {
	background: rgba(51, 65, 85, 0.92) !important;
}

.tab_head {
	background: rgba(51, 65, 85, 0.94) !important;
}

.io-table-heading {
	background: #2b3f57 !important;
	color: #f8fafc !important;
}

.tab_normal {
	background: rgba(var(--app-bg-rgb), 0.92) !important;
}

.tab_threeo {
	width: 30%;
}

.tscolunm_center {
	text-align: center;
}

.tscolunm_right {
	text-align: right;
}

.tscolunm_status1 {
	color: #ffffff;
	font-weight: 600;
}

tr.tsrow_general {
	transition: filter 120ms ease;
}

tr.tsrow_general:hover {
	filter: brightness(1.08);
}

tr.tsrow_status1 {
	background-color: var(--status-released) !important;
}

tr.tsrow_status2 {
	background-color: var(--status-danger) !important;
}

tr.tsrow_status3 {
	background-color: var(--status-blacklist) !important;
}

tr.tsrow_status4 {
	background-color: var(--status-whitelist) !important;
}

tr.tsrow_status5 {
	background-color: var(--status-spam) !important;
}

tr.tsrow_status6 {
	background-color: var(--status-clean) !important;
}

tr.tsrow_status1 td,
tr.tsrow_status2 td,
tr.tsrow_status4 td,
tr.tsrow_status5 td,
tr.tsrow_status6 td {
	color: #e2e8f0;
}

/* Pagination */
.tssearchpagin {
	background: rgba(var(--app-bg-rgb), 0.92);
	border: 1px solid var(--app-border);
	border-radius: 10px;
	padding: 0.55rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 0.55rem 1rem;
	text-align: left;
}

.tssearchpagin-summary {
	flex: 1 1 auto;
	min-width: 0;
}

.tssearchpagin div.ln,
.tssearchpagin-nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 0;
	margin-left: auto;
	flex: 0 1 auto;
	min-width: 0;
}

.app-date-filter-strip-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.65rem;
	margin: 0.6rem 0 0.78rem;
	padding: 0.5rem 0.62rem;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(var(--app-bg-rgb), 0.8), rgba(var(--app-bg-rgb), 0.56));
	box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.06);
}

.app-date-filter-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #cbd5e1;
}

.app-date-filter-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.42rem;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

.app-date-filter-chip {
	display: inline-block;
	padding: 0.28rem 0.66rem;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.3);
	background: rgba(var(--app-bg-rgb), 0.9);
	color: #dbeafe;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.app-date-filter-chip:hover,
.app-date-filter-chip:focus {
	background: rgba(47, 123, 228, 0.22);
	color: #ffffff;
}

.app-date-filter-chip.active {
	background: #ef8124;
	border-color: #ef8124;
	color: #ffffff !important;
}

.app-status-filter-strip-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.65rem;
	margin: -0.22rem 0 0.78rem;
	padding: 0.5rem 0.62rem;
}

.app-status-filter-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.69rem;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

.app-status-filter-chip {
	text-decoration: none;
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 0 !important;
	padding: 0.24rem 0.65rem;
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	line-height: 1.25;
	transition: filter 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.app-status-filter-chip:hover,
.app-status-filter-chip:focus {
	filter: brightness(1.08);
	text-decoration: none;
}

.app-status-filter-chip.active {
	box-shadow: 0 0 0 2px rgba(239, 129, 36, 0.42);
	border-color: rgba(255, 255, 255, 0.75);
}

ul.messages_paginator {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 4px;
	list-style: none;
}

ul.messages_paginator li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 7px;
	min-height: 24px;
	border-radius: 6px;
	background: rgba(var(--app-bg-rgb), 0.82);
	border: 1px solid rgba(148, 163, 184, 0.28);
	color: #dbeafe;
	font-size: 0.78rem;
	text-decoration: none;
}

ul.messages_paginator li a:hover {
	background: #334155;
	color: #ffffff;
}

ul.messages_paginator li a.current,
ul.messages_paginator li a.current:hover {
	background: #ef8124;
	border-color: #ef8124;
	color: #ffffff;
}

ul.messages_paginator li a.but,
ul.messages_paginator li a.but:hover {
	background: #ef8124;
	border-color: #ef8124;
	color: #ffffff;
}

ul.messages_paginator li a.paginator-nav,
ul.messages_paginator li a.paginator-nav:hover {
	background: #0d6efd;
	border-color: #0d6efd;
	color: #ffffff;
}

/* Alerts */
div.error,
div.ok {
	width: 100%;
	border: 1px solid;
	padding: 0.8rem 0.95rem;
	margin: 0 0 0.8rem;
	border-radius: 10px;
	box-shadow: none;
	font-size: 0.92rem;
}

div.error {
	background: rgba(220, 38, 38, 0.16);
	border-color: rgba(252, 165, 165, 0.65);
	color: #fee2e2;
}

div.ok {
	background: rgba(22, 163, 74, 0.15);
	border-color: rgba(134, 239, 172, 0.56);
	color: #dcfce7;
}

/* Login / password reset */
.logmeinform {
	display: block;
	position: relative;
	margin: 7vh auto 24px;
	padding: 1.4rem;
	max-width: 460px;
	width: calc(100% - 24px);
	background: linear-gradient(180deg, rgba(56, 78, 104, 0.95), rgba(38, 56, 79, 0.94));
	border: 1px solid rgba(191, 219, 254, 0.18);
	border-radius: 14px;
	box-shadow: 0 14px 28px rgba(2, 6, 23, 0.2);
	color: var(--app-text);
}

.logmeinform * {
	margin: 0;
	padding: 0;
}

.logmeinform h1 {
	font-size: 1.35rem;
	text-align: center;
	margin-bottom: 1rem;
	font-weight: 700;
	color: #ffffff;
}

.logmeinform .login-logo-wrap {
	text-align: center;
	margin-bottom: 1.45rem;
}

.logmeinform .login-logo {
	width: 200px;
	max-width: 100%;
	display: inline-block;
}

.logmeinform .login-title {
	margin-top: 0;
}

.logmeinform p {
	margin-bottom: 0.75rem;
}

.turnstile-wrap {
	display: flex;
	justify-content: flex-start;
	margin: 0.6rem 0 0.85rem;
}

.turnstile-wrap .cf-turnstile {
	width: 100%;
	max-width: 100%;
}

.logmeinform a {
	text-decoration: none;
	font-size: 0.85rem;
}

.logmeinform label {
	color: #dbe6f3;
	font-size: 0.9rem;
}

.logmeinform .form-label {
	color: #dbe6f3 !important;
}

.logmeinform label span {
	margin-left: 3px;
	color: #fca5a5;
}

.logmeinform input[type="text"],
.logmeinform input[type="password"] {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	font-size: 1rem;
	line-height: 1.2;
	padding: 0.5rem 0.7rem;
	width: 100%;
	display: block;
}

.logmeinform .form-control {
	width: 100% !important;
}

.logmeinform input[type="submit"] {
	height: auto;
	line-height: normal;
	padding: 0.5rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 8px;
}

.logmeinform img {
	max-width: 100%;
	height: auto;
}

.forgetmenot {
	float: none;
	width: auto;
}

.two-factor-panel {
	max-width: 520px;
}

.two-factor-subtitle {
	text-align: center;
	color: #eef6ff;
	margin-bottom: 0.95rem;
}

.two-factor-subtitle strong {
	color: #ffffff;
}

.two-factor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.5rem;
}

.two-factor-actions form {
	margin: 0;
}

.two-factor-panel input.two-factor-regenerate-btn {
	background: rgba(148, 163, 184, 0.2) !important;
	color: #dbeafe !important;
	border: 1px solid rgba(191, 219, 254, 0.22) !important;
}

.two-factor-panel input.two-factor-regenerate-btn:hover,
.two-factor-panel input.two-factor-regenerate-btn:focus {
	background: rgba(148, 163, 184, 0.28) !important;
	color: #ffffff !important;
}

.two-factor-panel input.two-factor-cancel-btn {
	background: rgba(30, 41, 59, 0.34) !important;
	color: #cbd5e1 !important;
	border: 1px solid rgba(148, 163, 184, 0.2) !important;
}

.two-factor-panel input.two-factor-cancel-btn:hover,
.two-factor-panel input.two-factor-cancel-btn:focus {
	background: rgba(30, 41, 59, 0.46) !important;
	color: #f8fafc !important;
}

.two-factor-qr-wrap {
	display: flex;
	justify-content: center;
	margin: 0.6rem 0;
}

.two-factor-qr {
	width: 220px;
	height: 220px;
	max-width: 100%;
	border-radius: 10px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #ffffff;
	padding: 0.45rem;
}

.two-factor-secret-wrap {
	margin: 0.55rem 0 0.75rem;
	padding: 0.45rem 0.55rem;
	background: rgba(15, 23, 42, 0.32);
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 8px;
}

.two-factor-secret-wrap code {
	word-break: break-all;
	color: #f8fafc;
}

.two-factor-secret-wrap strong {
	color: #cbd5e1;
}

.two-factor-footer-links {
	margin-top: 0.85rem;
	text-align: center;
}

body[data-theme="light"] .two-factor-subtitle {
	color: #334155;
}

body[data-theme="light"] .two-factor-subtitle strong {
	color: #0f172a;
}

body[data-theme="light"] .app-top-greeting-line .app-top-greeting-text,
body:not([data-theme="dark"]) .app-top-greeting-line .app-top-greeting-text {
	border-left-color: rgba(239, 129, 36, 0.88);
	color: #475569 !important;
}

body[data-theme="light"] .two-factor-secret-wrap,
body:not([data-theme="dark"]) .two-factor-secret-wrap {
	background: #f8fafc;
	border-color: rgba(148, 163, 184, 0.36);
}

body[data-theme="light"] .two-factor-secret-wrap code,
body:not([data-theme="dark"]) .two-factor-secret-wrap code {
	color: #0f172a;
}

body[data-theme="light"] .two-factor-secret-wrap strong,
body:not([data-theme="dark"]) .two-factor-secret-wrap strong {
	color: #475569;
}

.email-table {
	--bs-table-bg: #132033;
	--bs-table-striped-bg: #1f3148;
	--bs-table-color: #dbeafe;
	--bs-table-hover-color: inherit;
	--bs-table-hover-bg: transparent;
	border-radius: 0 !important;
	table-layout: fixed;
	width: 100%;
}

.email-table .email-col-actions {
	width: 12%;
}

.email-table .email-col-time {
	width: 8%;
}

.email-table .email-col-from {
	width: 17%;
}

.email-table .email-col-to {
	width: 17%;
}

.email-table .email-col-subject {
	width: 30%;
}

.email-table .email-col-size {
	width: 7%;
}

.email-table .email-col-status {
	width: 9%;
}

.email-table.email-table-search .email-col-time {
	width: 13%;
}

.email-table.email-table-search .email-col-from {
	width: 16%;
}

.email-table.email-table-search .email-col-to {
	width: 16%;
}

.email-table.email-table-search .email-col-subject {
	width: 26%;
}

.email-table.email-table-search .email-col-size {
	width: 8%;
}

@media (max-width: 1399px) {
	.email-table .email-col-time {
		width: 9%;
	}

	.email-table .email-col-from {
		width: 16%;
	}

	.email-table .email-col-to {
		width: 16%;
	}

	.email-table .email-col-subject {
		width: 27%;
	}

	.email-table .email-col-size {
		width: 8%;
	}

	.email-table .email-col-status {
		width: 12%;
	}

	.email-table.email-table-search .email-col-time {
		width: 17%;
	}

	.email-table.email-table-search .email-col-from {
		width: 14%;
	}

	.email-table.email-table-search .email-col-to {
		width: 14%;
	}

	.email-table.email-table-search .email-col-subject {
		width: 23%;
	}

	.email-table.email-table-search .email-col-size {
		width: 8%;
	}
}

.email-table-text-cell {
	max-width: 0;
}

.email-table-ellipsis {
	display: block;
	width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.email-table th,
.email-table td {
	overflow-wrap: normal;
	word-break: normal;
	white-space: nowrap;
}

.email-table td:nth-child(7) {
	overflow: visible;
}

.email-table tr.tsrow_general:hover {
	filter: none;
}

.email-table thead th {
	background: rgba(51, 65, 85, 0.82);
	color: #f8fafc;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.email-action-btn {
	min-width: 34px;
}

.email-action-btn.email-action-btn-borderless {
	border: none !important;
}

body:not([data-theme="dark"]) .btn-outline-info.js-open-detail:hover {
	color: #fff;
}

body:not([data-theme="dark"]) .js-preview-message {
	color: #475569;
}

body:not([data-theme="dark"]) .js-preview-message:hover {
	color: #fff;
}

body:not([data-theme="dark"]) .js-release-message:hover .fa-paper-plane {
	color: #fff;
}

body[data-theme="dark"] .btn-outline-info.js-open-detail:hover {
	color: #fff !important;
}

body[data-theme="dark"] .js-preview-message {
	color: #b7e3ff;
}

body[data-theme="dark"] .js-preview-message:hover {
	color: #fff;
}

body[data-theme="dark"] .js-release-message:hover {
	color: #fff;
}

.email-actions {
	display: grid;
	grid-template-columns: 34px 34px 34px;
	gap: 0.35rem;
	align-items: center;
	justify-content: center;
}

.email-action-spacer {
	width: 34px;
	height: 31px;
	display: inline-block;
}

.email-mobile-list {
	padding: 0.6rem;
}

.email-mobile-card {
	border: 1px solid rgba(148, 163, 184, 0.28);
	border-radius: 10px;
	padding: 0.72rem 0.75rem;
	margin-bottom: 0.65rem;
	background: rgba(var(--app-bg-rgb), 0.8);
	color: #e2e8f0;
}

.email-mobile-card:last-child {
	margin-bottom: 0;
}

.email-mobile-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
}

.email-mobile-card-time {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.email-mobile-card-line {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 0.45rem;
	align-items: start;
	padding: 0.08rem 0;
}

.email-mobile-label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: inherit;
	opacity: 0.72;
}

.email-mobile-value {
	min-width: 0;
	overflow-wrap: anywhere;
}

.email-mobile-card-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.62rem;
	padding-top: 0.48rem;
	border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.email-mobile-card-actions .email-actions {
	justify-content: flex-end;
}

.email-mobile-card.tsrow_status1 {
	background-color: #d7f0ff !important;
	color: #0f172a !important;
}

.email-mobile-card.tsrow_status2 {
	background-color: #ffd5d5 !important;
	color: #7f1d1d !important;
}

.email-mobile-card.tsrow_status3 {
	background-color: #d8dee8 !important;
	color: #0f172a !important;
}

.email-mobile-card.tsrow_status4 {
	background-color: #d9fce9 !important;
	color: #0f172a !important;
}

.email-mobile-card.tsrow_status5 {
	background-color: #ffe8d4 !important;
	color: #7c2d12 !important;
}

.email-mobile-card.tsrow_status6 {
	background-color: #f8fafc !important;
	color: #1f2937 !important;
}

.status-pill {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
}

.status-pill-all {
	background: rgba(37, 99, 235, 0.22);
	color: #0f172a;
}

.status-pill-released {
	background: #b7e3ff;
	color: #0f172a;
}

.status-pill-virus,
.status-pill-bad_content,
.status-pill-other,
.status-pill-blocked {
	background: rgba(185, 28, 28, 0.25);
	color: #7f1d1d;
}

.status-pill-blacklist {
	background: rgba(17, 24, 39, 0.74);
	color: #f9fafb;
}

.status-pill-whitelist {
	background: rgba(22, 163, 74, 0.2);
	color: #052e16;
}

.status-pill-spam {
	background: rgba(234, 88, 12, 0.28);
	color: #7c2d12;
}

.status-pill-clean,
.status-pill-clean___not_stopped {
	background: rgba(100, 116, 139, 0.28);
	color: #0f172a;
}

#messageDetailModal .modal-content,
#messagePreviewModal .modal-content,
#messageActionModal .modal-content {
	background: #162538;
	color: #e2e8f0;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

#messageDetailModal .modal-header,
#messagePreviewModal .modal-header,
#messageActionModal .modal-header,
#messagePreviewModal .modal-footer,
#messageActionModal .modal-footer {
	border-color: rgba(148, 163, 184, 0.22);
}

#messageDetailModal .btn-close,
#messagePreviewModal .btn-close,
#messageActionModal .btn-close {
	filter: invert(1) grayscale(100%) brightness(200%);
}

.message-preview-frame {
	display: block;
	width: 100%;
	min-height: 68vh;
	border: 0;
	background: #f8fafc;
}

.message-preview-notice {
	padding: 0.7rem 1rem;
	font-size: 0.86rem;
	line-height: 1.35;
	background: rgba(148, 163, 184, 0.14);
	color: #334155;
	border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

body[data-theme="dark"] .message-preview-frame {
	background: #0f1a2b;
}

body[data-theme="dark"] .message-preview-notice {
	background: rgba(71, 85, 105, 0.32);
	color: #cbd5e1;
	border-bottom-color: rgba(148, 163, 184, 0.2);
}

.message-preview-fallback {
	padding: 0.9rem 1rem 1rem;
	border-top: 1px solid rgba(148, 163, 184, 0.24);
	background: #f8fafc;
}

.message-preview-fallback-title {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #475569;
	margin-bottom: 0.45rem;
}

.message-preview-fallback-text {
	margin: 0;
	padding: 0.75rem 0.85rem;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.36);
	border-radius: 8px;
	color: #0f172a;
	font-size: 0.82rem;
	line-height: 1.4;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 32vh;
	overflow: auto;
}

body[data-theme="dark"] .message-preview-fallback {
	background: #102033;
	border-top-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="dark"] .message-preview-fallback-title {
	color: #94a3b8;
}

body[data-theme="dark"] .message-preview-fallback-text {
	background: #0f1a2b;
	border-color: rgba(148, 163, 184, 0.28);
	color: #e2e8f0;
}

body[data-theme="light"] .modal,
body:not([data-theme="dark"]) .modal {
	--bs-modal-bg: #ffffff;
	--bs-modal-color: #1f2937;
	--bs-modal-border-color: rgba(148, 163, 184, 0.36);
	--bs-modal-header-border-color: rgba(148, 163, 184, 0.3);
	--bs-modal-footer-border-color: rgba(148, 163, 184, 0.3);
}

body[data-theme="dark"] .modal {
	--bs-modal-bg: #162538;
	--bs-modal-color: #e2e8f0;
	--bs-modal-border-color: rgba(148, 163, 184, 0.3);
	--bs-modal-header-border-color: rgba(148, 163, 184, 0.22);
	--bs-modal-footer-border-color: rgba(148, 163, 184, 0.22);
}

body[data-theme="light"] #messageDetailModal .modal-content,
body[data-theme="light"] #messagePreviewModal .modal-content,
body[data-theme="light"] #messageActionModal .modal-content,
body:not([data-theme="dark"]) #messageDetailModal .modal-content,
body:not([data-theme="dark"]) #messagePreviewModal .modal-content,
body:not([data-theme="dark"]) #messageActionModal .modal-content {
	background: #ffffff !important;
	color: #1f2937 !important;
	border-color: rgba(148, 163, 184, 0.36);
}

body[data-theme="light"] #messageDetailModal .modal-header,
body[data-theme="light"] #messagePreviewModal .modal-header,
body[data-theme="light"] #messageActionModal .modal-header,
body[data-theme="light"] #messagePreviewModal .modal-footer,
body[data-theme="light"] #messageActionModal .modal-footer,
body[data-theme="light"] #messageDetailModal .modal-body,
body[data-theme="light"] #messagePreviewModal .modal-body,
body[data-theme="light"] #messageActionModal .modal-body,
body:not([data-theme="dark"]) #messageDetailModal .modal-header,
body:not([data-theme="dark"]) #messagePreviewModal .modal-header,
body:not([data-theme="dark"]) #messageActionModal .modal-header,
body:not([data-theme="dark"]) #messagePreviewModal .modal-footer,
body:not([data-theme="dark"]) #messageActionModal .modal-footer,
body:not([data-theme="dark"]) #messageDetailModal .modal-body,
body:not([data-theme="dark"]) #messagePreviewModal .modal-body,
body:not([data-theme="dark"]) #messageActionModal .modal-body {
	background: #ffffff;
	color: #1f2937;
	border-color: rgba(148, 163, 184, 0.3);
}

body[data-theme="light"] #messageDetailModal .btn-close,
body[data-theme="light"] #messagePreviewModal .btn-close,
body[data-theme="light"] #messageActionModal .btn-close,
body:not([data-theme="dark"]) #messageDetailModal .btn-close,
body:not([data-theme="dark"]) #messagePreviewModal .btn-close,
body:not([data-theme="dark"]) #messageActionModal .btn-close {
	filter: none;
}

body[data-theme="light"] #messageDetailModal .table,
body[data-theme="light"] #messageActionModal .table,
body[data-theme="light"] #messageDetailModal .table td,
body[data-theme="light"] #messageDetailModal .table th,
body[data-theme="light"] #messageActionModal .table td,
body[data-theme="light"] #messageActionModal .table th,
body:not([data-theme="dark"]) #messageDetailModal .table,
body:not([data-theme="dark"]) #messageActionModal .table,
body:not([data-theme="dark"]) #messageDetailModal .table td,
body:not([data-theme="dark"]) #messageDetailModal .table th,
body:not([data-theme="dark"]) #messageActionModal .table td,
body:not([data-theme="dark"]) #messageActionModal .table th {
	color: #1f2937 !important;
}

body[data-theme="dark"] #messageDetailModal .table,
body[data-theme="dark"] #messageActionModal .table,
body[data-theme="dark"] #messageDetailModal .table td,
body[data-theme="dark"] #messageDetailModal .table th,
body[data-theme="dark"] #messageActionModal .table td,
body[data-theme="dark"] #messageActionModal .table th {
	color: #e2e8f0 !important;
	border-color: rgba(148, 163, 184, 0.2);
}

.detail-modal-table th {
	width: 210px;
	background: rgba(30, 41, 59, 0.74);
	color: #f8fafc;
}

.detail-modal-table td {
	background: rgba(var(--app-bg-rgb), 0.88);
	color: #e2e8f0;
}

.app-detail-page-table th {
	width: 220px;
}

.mail-headers-block {
	background: #101d2f;
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 8px;
	padding: 0.7rem 0.8rem;
	max-height: 300px;
	overflow: auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.78rem;
	line-height: 1.45;
}

.mail-header-line {
	white-space: pre-wrap;
	word-break: break-word;
	margin-bottom: 0.18rem;
}

.mail-header-key {
	color: #93c5fd;
	font-weight: 700;
}

.mail-header-sep {
	color: #cbd5e1;
	padding-right: 0.25rem;
}

.mail-header-value {
	color: #e2e8f0;
}

.mail-header-cont .mail-header-value {
	color: #cbd5e1;
}

/* Misc */
input.tssave {
	width: 150px;
	margin: 2px 10px;
}

span.yes,
span.no,
span.na {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
}

span.yes {
	background: rgba(34, 197, 94, 0.22);
	color: #bbf7d0;
}

span.no {
	background: rgba(239, 68, 68, 0.22);
	color: #fecaca;
}

span.na {
	background: #032830;
	color: #0dcaf0;
}

.scanner-meta-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.35;
	background: rgba(148, 163, 184, 0.28);
	color: #e2e8f0;
}

.scanner-meta-badge-authout,
.scanner-meta-badge-external {
	background: rgba(59, 130, 246, 0.24);
	color: #bfdbfe;
}

.scanner-meta-badge-inbound,
.scanner-meta-badge-internal {
	background: rgba(59, 130, 246, 0.24);
	color: #bfdbfe;
}

.scanner-meta-badge-mixed {
	background: rgba(59, 130, 246, 0.24);
	color: #bfdbfe;
}

.user-action-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 6px;
	text-decoration: none;
}

.user-list-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem;
}

.user-list-entry {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.user-list-name {
	font-weight: 600;
}

.user-list-email {
	margin-top: 0.18rem;
	font-size: 0.82rem;
	color: #94a3b8;
}

.user-role-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.08rem 0.5rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: rgba(96, 165, 250, 0.22);
	color: #bfdbfe;
	border: 1px solid rgba(96, 165, 250, 0.35);
}

.user-add-toggle-wrap {
	display: flex;
	justify-content: flex-end;
	margin: 0.7rem 0 0.45rem;
}

.user-add-toggle-btn {
	width: auto;
	min-width: 150px;
	padding: 0.25rem 0.65rem;
}

.user-list-actions-cell {
	width: 1%;
	white-space: nowrap;
}

.users-twofactor-table {
	table-layout: fixed;
}

.users-twofactor-table > tbody > tr > td:first-child {
	width: calc(100% - 150px);
}

.users-twofactor-table .user-list-actions-cell {
	width: 150px;
	text-align: right !important;
}

.user-action-manage {
	width: auto;
	min-width: 120px;
	height: auto;
	min-height: 1.8rem;
	padding: 0.2rem 0.55rem;
	gap: 0.35rem;
	white-space: nowrap;
	border: 1px solid rgba(148, 163, 184, 0.35);
}

.user-action-label {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
}

.user-action-edit {
	color: #93c5fd;
}

.user-action-delete {
	color: #fca5a5;
}

.user-action-protected {
	color: #94a3b8;
	background: rgba(148, 163, 184, 0.16);
	cursor: default;
	pointer-events: none;
}

.user-action-close {
	color: #94a3b8;
}

.user-action-link:hover {
	background: rgba(148, 163, 184, 0.16);
	color: #ffffff;
}

.user-form-header-cell {
	padding-right: 0.5rem;
}

.user-form-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.user-email-inline {
	display: grid;
	grid-template-columns: minmax(170px, 230px) auto minmax(170px, max-content);
	align-items: center;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
	justify-content: flex-start;
}

.user-email-inline input[name="email_local"] {
	width: 100% !important;
	min-width: 170px;
	max-width: 100%;
}

.user-email-inline .select2-container {
	width: auto !important;
	min-width: 170px;
	max-width: min(260px, 48%);
	flex: 0 0 auto;
}

.user-email-inline input[name="username"] {
	min-width: 210px;
}

.user-at-sign {
	font-weight: 700;
	color: inherit;
}

#loading,
.app-loading {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(2, 6, 23, 0.65);
	z-index: 1100;
	transition: opacity 180ms ease;
}

.app-loading-panel {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	padding: 1.2rem 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0.7rem;
	background: rgba(15, 23, 42, 0.72);
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.34);
	backdrop-filter: blur(8px);
}

.app-loading-message {
	color: #f8fafc;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

#loading.is-hidden,
.app-loading.is-hidden {
	opacity: 0;
	pointer-events: none;
}

/* Light mode is default; dark mode is selected via body[data-theme="dark"] */
body[data-theme="light"],
body:not([data-theme="dark"]) {
	background:
		radial-gradient(1200px circle at 0% -20%, #dbeafe 0%, transparent 44%),
		radial-gradient(1000px circle at 100% -10%, #dcfce7 0%, transparent 38%),
		linear-gradient(180deg, #f7fafc, #edf2f7 80%);
	color: #0f172a;
}

body[data-theme="light"] div.error,
body:not([data-theme="dark"]) div.error {
	background: rgba(239, 68, 68, 0.14);
	border-color: rgba(239, 68, 68, 0.36);
	color: #7f1d1d;
}

body[data-theme="light"] div.ok,
body:not([data-theme="dark"]) div.ok {
	background: rgba(34, 197, 94, 0.14);
	border-color: rgba(34, 197, 94, 0.34);
	color: #14532d;
}

body[data-theme="light"] .app-card,
body:not([data-theme="dark"]) .app-card {
	background: rgba(255, 255, 255, 0.95);
	border-color: rgba(148, 163, 184, 0.32);
	color: #0f172a;
	backdrop-filter: none;
}

body[data-theme="light"] .card-header,
body:not([data-theme="dark"]) .card-header {
	background: linear-gradient(180deg, #e2e8f0, #f1f5f9);
	color: #1f2937;
}

body[data-theme="light"] .app-list-item,
body[data-theme="light"] .list-group-item.app-list-item,
body:not([data-theme="dark"]) .app-list-item,
body:not([data-theme="dark"]) .list-group-item.app-list-item {
	color: #1e293b;
	border-color: rgba(148, 163, 184, 0.24);
}

body[data-theme="light"] .app-top-list .app-list-item,
body[data-theme="light"] .app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item,
body:not([data-theme="dark"]) .app-top-list .app-list-item,
body:not([data-theme="dark"]) .app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item {
	background: linear-gradient(180deg, #ffffff, #f8fafc);
	box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.04);
}

body[data-theme="light"] .app-list-item:hover,
body[data-theme="light"] .list-group-item.app-list-item:hover,
body:not([data-theme="dark"]) .app-list-item:hover,
body:not([data-theme="dark"]) .list-group-item.app-list-item:hover {
	background: rgba(251, 219, 187, 0.62);
	border-color: rgba(239, 129, 36, 0.42);
	color: #9a3412;
}

body[data-theme="light"] .app-top-nav-links .list-group-item-action:hover,
body[data-theme="light"] .app-top-nav-links .list-group-item-action:focus,
body:not([data-theme="dark"]) .app-top-nav-links .list-group-item-action:hover,
body:not([data-theme="dark"]) .app-top-nav-links .list-group-item-action:focus {
	background: rgba(251, 219, 187, 0.62) !important;
	border-color: rgba(239, 129, 36, 0.42) !important;
	color: #9a3412 !important;
}

body[data-theme="light"] .small.text-white-50,
body:not([data-theme="dark"]) .small.text-white-50 {
	color: #475569 !important;
}

body[data-theme="light"] .app-quick-search-advanced,
body:not([data-theme="dark"]) .app-quick-search-advanced {
	border-color: rgba(148, 163, 184, 0.35);
}

body[data-theme="light"] .password-policy-help,
body[data-theme="light"] .password-policy-feedback,
body:not([data-theme="dark"]) .password-policy-help,
body:not([data-theme="dark"]) .password-policy-feedback {
	color: #64748b;
}

body[data-theme="light"] .password-policy-meter,
body:not([data-theme="dark"]) .password-policy-meter {
	background: #cbd5e1;
}

body[data-theme="light"] .password-policy-feedback.is-invalid,
body:not([data-theme="dark"]) .password-policy-feedback.is-invalid {
	color: #b91c1c;
}

body[data-theme="light"] .password-policy-feedback.is-valid,
body:not([data-theme="dark"]) .password-policy-feedback.is-valid {
	color: #166534;
}

body[data-theme="light"] .password-visibility-toggle,
body:not([data-theme="dark"]) .password-visibility-toggle {
	color: #475569;
}

body[data-theme="light"] .password-visibility-toggle:hover,
body[data-theme="light"] .password-visibility-toggle:focus,
body:not([data-theme="dark"]) .password-visibility-toggle:hover,
body:not([data-theme="dark"]) .password-visibility-toggle:focus {
	background: rgba(71, 85, 105, 0.12);
	color: #0f172a;
}

.logmeinform .password-policy-help,
.logmeinform .password-policy-feedback,
body[data-theme="light"] .logmeinform .password-policy-help,
body[data-theme="light"] .logmeinform .password-policy-feedback,
body:not([data-theme="dark"]) .logmeinform .password-policy-help,
body:not([data-theme="dark"]) .logmeinform .password-policy-feedback {
	color: #dbeafe;
	font-size: 0.76rem;
	line-height: 1.35;
}

.logmeinform .password-policy-feedback.is-invalid,
body[data-theme="light"] .logmeinform .password-policy-feedback.is-invalid,
body:not([data-theme="dark"]) .logmeinform .password-policy-feedback.is-invalid {
	color: #fecaca;
}

.logmeinform .password-policy-feedback.is-valid,
body[data-theme="light"] .logmeinform .password-policy-feedback.is-valid,
body:not([data-theme="dark"]) .logmeinform .password-policy-feedback.is-valid {
	color: #bbf7d0;
}

body[data-theme="light"] .app-brand-tagline,
body:not([data-theme="dark"]) .app-brand-tagline {
	color: #475569;
}

body[data-theme="light"] .app-header-bar,
body:not([data-theme="dark"]) .app-header-bar {
	background: #fefefe;
	padding: 0.85rem 1rem;
}

body[data-theme="light"] .form-label,
body:not([data-theme="dark"]) .form-label {
	color: #334155;
}

body[data-theme="light"] .form-select,
body[data-theme="light"] .form-control,
body[data-theme="light"] input[type="text"],
body[data-theme="light"] input[type="password"],
body[data-theme="light"] textarea,
body[data-theme="light"] select,
body:not([data-theme="dark"]) .form-select,
body:not([data-theme="dark"]) .form-control,
body:not([data-theme="dark"]) input[type="text"],
body:not([data-theme="dark"]) input[type="password"],
body:not([data-theme="dark"]) textarea,
body:not([data-theme="dark"]) select {
	background-color: #ffffff !important;
	border: 1px solid rgba(148, 163, 184, 0.55) !important;
	color: #0f172a !important;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder,
body[data-theme="light"] input::-webkit-input-placeholder,
body[data-theme="light"] textarea::-webkit-input-placeholder,
body:not([data-theme="dark"]) input::placeholder,
body:not([data-theme="dark"]) textarea::placeholder {
	color: #64748b !important;
	opacity: 1 !important;
}

body:not([data-theme="dark"]) input::-webkit-input-placeholder,
body:not([data-theme="dark"]) textarea::-webkit-input-placeholder {
	color: #64748b !important;
	opacity: 1 !important;
}

body[data-theme="light"] .list-editor-auth-warning,
body:not([data-theme="dark"]) .list-editor-auth-warning {
	border-color: #f59e0b;
	background: #fffbeb;
	color: #78350f;
}

body[data-theme="light"] .form-check-input[type="checkbox"]:not(:checked),
body[data-theme="light"] .form-check-input[type="radio"]:not(:checked),
body:not([data-theme="dark"]) .form-check-input[type="checkbox"]:not(:checked),
body:not([data-theme="dark"]) .form-check-input[type="radio"]:not(:checked) {
	background-color: #ffffff !important;
	border-color: rgba(148, 163, 184, 0.55) !important;
}

body[data-theme="light"] .select2-container--default .select2-selection--single,
body[data-theme="light"] .select2-container--default .select2-selection--multiple,
body:not([data-theme="dark"]) .select2-container--default .select2-selection--single,
body:not([data-theme="dark"]) .select2-container--default .select2-selection--multiple {
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.55);
	color: #0f172a;
}

body[data-theme="light"] .select2-container--default .select2-selection--single .select2-selection__rendered,
body:not([data-theme="dark"]) .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #0f172a;
}

body[data-theme="light"] .select2-dropdown,
body:not([data-theme="dark"]) .select2-dropdown {
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.55);
	color: #1f2937;
}

body[data-theme="light"] .select2-results__option,
body:not([data-theme="dark"]) .select2-results__option {
	color: #1f2937;
}

body[data-theme="light"] .select2-container--default .select2-results__option--selected,
body:not([data-theme="dark"]) .select2-container--default .select2-results__option--selected {
	background-color: #e5e7eb;
	color: #111827;
}

body[data-theme="light"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
body:not([data-theme="dark"]) .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #dbe6f5;
	color: #1f2937;
}

body[data-theme="light"] .btn-outline-light,
body:not([data-theme="dark"]) .btn-outline-light {
	border-color: rgba(100, 116, 139, 0.5);
	color: #334155;
}

body[data-theme="light"] .btn-outline-light:hover,
body:not([data-theme="dark"]) .btn-outline-light:hover {
	background: rgba(148, 163, 184, 0.18);
	color: #0f172a;
}

body[data-theme="light"] .theme-toggle-btn,
body:not([data-theme="dark"]) .theme-toggle-btn {
	background: linear-gradient(180deg, #edf2f7, #e2e8f0);
	border-color: rgba(148, 163, 184, 0.65);
	color: #334155;
}

body[data-theme="light"] .app-filter-toggle-btn,
body:not([data-theme="dark"]) .app-filter-toggle-btn {
	background: linear-gradient(180deg, #edf2f7, #e2e8f0);
	border-color: rgba(148, 163, 184, 0.65);
	color: #334155;
}

body[data-theme="light"] .app-filter-toggle-btn:hover,
body[data-theme="light"] .app-filter-toggle-btn:focus,
body:not([data-theme="dark"]) .app-filter-toggle-btn:hover,
body:not([data-theme="dark"]) .app-filter-toggle-btn:focus {
	background: linear-gradient(180deg, #cbd5e1, #b8c3d3);
	color: #0f172a;
}

body[data-theme="light"] .app-filter-toggle-btn[aria-expanded="true"],
body:not([data-theme="dark"]) .app-filter-toggle-btn[aria-expanded="true"] {
	background: linear-gradient(180deg, #fb923c, #f97316);
	border-color: rgba(194, 65, 12, 0.55);
	color: #ffffff;
}

body[data-theme="light"] .app-filter-toggle-btn[aria-expanded="true"]:hover,
body[data-theme="light"] .app-filter-toggle-btn[aria-expanded="true"]:focus,
body:not([data-theme="dark"]) .app-filter-toggle-btn[aria-expanded="true"]:hover,
body:not([data-theme="dark"]) .app-filter-toggle-btn[aria-expanded="true"]:focus {
	background: linear-gradient(180deg, #fdba74, #fb923c);
	color: #ffffff;
}

body[data-theme="light"] .app-main-content,
body:not([data-theme="dark"]) .app-main-content {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(148, 163, 184, 0.32);
}

body[data-theme="light"] .con_head,
body:not([data-theme="dark"]) .con_head {
	color: #1f2937;
}

body[data-theme="light"] .con_txt,
body[data-theme="light"] .content_txt,
body[data-theme="light"] .content_txt_blacklist,
body:not([data-theme="dark"]) .con_txt,
body:not([data-theme="dark"]) .content_txt,
body:not([data-theme="dark"]) .content_txt_blacklist {
	color: #1f2937;
}

body[data-theme="light"] .tssearchpagin,
body:not([data-theme="dark"]) .tssearchpagin {
	background: #ffffff;
	color: #1f2937;
}

body[data-theme="light"] .app-date-filter-strip-wrap,
body:not([data-theme="dark"]) .app-date-filter-strip-wrap {
	background: linear-gradient(180deg, #ffffff, #f8fafc);
	border-color: rgba(148, 163, 184, 0.36);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

body[data-theme="light"] .app-date-filter-label,
body:not([data-theme="dark"]) .app-date-filter-label {
	color: #64748b;
}

body[data-theme="light"] .app-date-filter-chip,
body:not([data-theme="dark"]) .app-date-filter-chip {
	background: #ffffff;
	border-color: rgba(148, 163, 184, 0.5);
	color: #1f2937;
}

body[data-theme="light"] .app-date-filter-chip:hover,
body[data-theme="light"] .app-date-filter-chip:focus,
body:not([data-theme="dark"]) .app-date-filter-chip:hover,
body:not([data-theme="dark"]) .app-date-filter-chip:focus {
	background: #eef2f7;
	color: #0f172a;
}

body[data-theme="light"] .app-date-filter-chip.active,
body[data-theme="light"] .app-date-filter-chip.active:hover,
body[data-theme="light"] .app-date-filter-chip.active:focus,
body:not([data-theme="dark"]) .app-date-filter-chip.active,
body:not([data-theme="dark"]) .app-date-filter-chip.active:hover,
body:not([data-theme="dark"]) .app-date-filter-chip.active:focus {
	background: #ef8124;
	border-color: #ef8124;
	color: #ffffff !important;
}

body[data-theme="light"] .app-status-filter-chip.active,
body[data-theme="light"] .app-status-filter-chip.active:hover,
body[data-theme="light"] .app-status-filter-chip.active:focus,
body:not([data-theme="dark"]) .app-status-filter-chip.active,
body:not([data-theme="dark"]) .app-status-filter-chip.active:hover,
body:not([data-theme="dark"]) .app-status-filter-chip.active:focus {
	box-shadow: 0 0 0 2px rgba(239, 129, 36, 0.35);
	border-color: rgba(15, 23, 42, 0.38);
}

body[data-theme="light"] .app-main-content table,
body[data-theme="light"] .app-main-content .table,
body:not([data-theme="dark"]) .app-main-content table,
body:not([data-theme="dark"]) .app-main-content .table {
	--bs-table-bg: #ffffff;
	--bs-table-striped-bg: #f8fafc;
	--bs-table-striped-color: #1f2937;
	--bs-table-hover-bg: #eef2f7;
	--bs-table-hover-color: #0f172a;
	color: #1f2937;
	border-color: rgba(148, 163, 184, 0.34);
}

body[data-theme="light"] .app-main-content table th,
body:not([data-theme="dark"]) .app-main-content table th {
	background: #e7eef8;
	color: #1f2937;
}

body[data-theme="light"] .app-main-content table td,
body:not([data-theme="dark"]) .app-main-content table td {
	color: #1f2937;
	background-color: transparent;
}

body[data-theme="light"] .email-table,
body:not([data-theme="dark"]) .email-table {
	--bs-table-bg: #ffffff;
	--bs-table-striped-bg: #f8fafc;
	--bs-table-color: #1f2937;
	--bs-table-hover-color: inherit;
	--bs-table-hover-bg: transparent;
}

body[data-theme="light"] .email-table thead th,
body:not([data-theme="dark"]) .email-table thead th {
	background: #dbe6f5;
	color: #1f2937;
}

body[data-theme="light"] .email-table tbody td,
body:not([data-theme="dark"]) .email-table tbody td {
	color: #1f2937 !important;
}

body[data-theme="light"] .tab_head,
body:not([data-theme="dark"]) .tab_head {
	background: #e5e7eb !important;
	color: #334155 !important;
}

body[data-theme="light"] .io-table-heading,
body:not([data-theme="dark"]) .io-table-heading {
	background: #eceff3 !important;
	color: #334155 !important;
}

body[data-theme="light"] .tab_normal,
body:not([data-theme="dark"]) .tab_normal {
	background: #ffffff !important;
	color: #1f2937 !important;
}

body[data-theme="light"] .app-main-content table.nested.top,
body:not([data-theme="dark"]) .app-main-content table.nested.top {
	background: #ffffff;
	border-color: rgba(148, 163, 184, 0.3);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .app-main-content .app-settings-card,
body:not([data-theme="dark"]) .app-main-content .app-settings-card {
	background: #ffffff;
	border-color: rgba(148, 163, 184, 0.3);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .app-main-content table.nested.top > tbody > tr > td > table.nested,
body:not([data-theme="dark"]) .app-main-content table.nested.top > tbody > tr > td > table.nested {
	background: #ffffff;
	border-color: rgba(148, 163, 184, 0.3);
}

body[data-theme="light"] .app-main-content .app-settings-card table.nested,
body:not([data-theme="dark"]) .app-main-content .app-settings-card table.nested {
	background: #ffffff;
	border-color: rgba(148, 163, 184, 0.3);
}

body[data-theme="light"] .app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > th,
body[data-theme="light"] .app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > td,
body:not([data-theme="dark"]) .app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > th,
body:not([data-theme="dark"]) .app-main-content table.nested.top > tbody > tr > td > table.nested > tbody > tr > td {
	border-bottom-color: rgba(148, 163, 184, 0.24);
}

body[data-theme="light"] .app-main-content .app-settings-card table.nested > tbody > tr > th,
body[data-theme="light"] .app-main-content .app-settings-card table.nested > tbody > tr > td,
body:not([data-theme="dark"]) .app-main-content .app-settings-card table.nested > tbody > tr > th,
body:not([data-theme="dark"]) .app-main-content .app-settings-card table.nested > tbody > tr > td {
	border-bottom-color: rgba(148, 163, 184, 0.24);
}

body[data-theme="light"] .app-main-content table.nested.top .tab_head,
body:not([data-theme="dark"]) .app-main-content table.nested.top .tab_head {
	background: #dbe6f5 !important;
	color: #1f2937 !important;
}

body[data-theme="light"] .app-main-content .app-settings-card .tab_head,
body:not([data-theme="dark"]) .app-main-content .app-settings-card .tab_head {
	background: #dbe6f5 !important;
	color: #1f2937 !important;
}

body[data-theme="light"] .app-main-content table.nested.top .io-table-heading,
body:not([data-theme="dark"]) .app-main-content table.nested.top .io-table-heading {
	background: #eceff3 !important;
	color: #334155 !important;
}

body[data-theme="light"] .app-main-content .app-settings-card .io-table-heading,
body:not([data-theme="dark"]) .app-main-content .app-settings-card .io-table-heading {
	background: #eceff3 !important;
	color: #334155 !important;
}

body[data-theme="light"] .app-main-content .app-users-card .users-current-table .io-table-heading,
body[data-theme="light"] .app-main-content .app-users-card .users-list-table .io-table-heading,
body[data-theme="light"] .app-main-content .app-users-card .users-form-table .io-table-heading,
body[data-theme="light"] .app-main-content .app-config-options-card .io-table-heading,
body:not([data-theme="dark"]) .app-main-content .app-users-card .users-current-table .io-table-heading,
body:not([data-theme="dark"]) .app-main-content .app-users-card .users-list-table .io-table-heading,
body:not([data-theme="dark"]) .app-main-content .app-users-card .users-form-table .io-table-heading,
body:not([data-theme="dark"]) .app-main-content .app-config-options-card .io-table-heading {
	background: #dbe6f5 !important;
	color: #1f2937 !important;
}

body[data-theme="light"] .app-main-content .app-users-card .users-form-table .tab_head:not(.io-table-heading),
body[data-theme="light"] .app-main-content .app-config-options-card .tab_head:not(.io-table-heading),
body:not([data-theme="dark"]) .app-main-content .app-users-card .users-form-table .tab_head:not(.io-table-heading),
body:not([data-theme="dark"]) .app-main-content .app-config-options-card .tab_head:not(.io-table-heading) {
	background: #eceff3 !important;
	color: #334155 !important;
}

body[data-theme="light"] .user-list-email,
body:not([data-theme="dark"]) .user-list-email {
	color: #64748b;
}

body[data-theme="light"] .mail-headers-block,
body:not([data-theme="dark"]) .mail-headers-block {
	background: #f8fafc;
	border-color: rgba(148, 163, 184, 0.4);
}

body[data-theme="light"] .detail-modal-table th,
body:not([data-theme="dark"]) .detail-modal-table th {
	background: #e7eef8;
	color: #1f2937;
}

body[data-theme="light"] .detail-modal-table td,
body:not([data-theme="dark"]) .detail-modal-table td {
	background: #ffffff;
	color: #1f2937;
}

body[data-theme="light"] .mail-header-key,
body:not([data-theme="dark"]) .mail-header-key {
	color: #1d4ed8;
}

body[data-theme="light"] .mail-header-sep,
body[data-theme="light"] .mail-header-value,
body[data-theme="light"] .mail-header-cont .mail-header-value,
body:not([data-theme="dark"]) .mail-header-sep,
body:not([data-theme="dark"]) .mail-header-value,
body:not([data-theme="dark"]) .mail-header-cont .mail-header-value {
	color: #1f2937;
}

body[data-theme="light"] .app-main-content td[bgcolor],
body[data-theme="light"] .app-main-content th[bgcolor],
body:not([data-theme="dark"]) .app-main-content td[bgcolor],
body:not([data-theme="dark"]) .app-main-content th[bgcolor] {
	background: #ffffff !important;
	color: #1f2937 !important;
}

body[data-theme="light"] .app-main-content th[bgcolor="#999999"],
body[data-theme="light"] .app-main-content td[bgcolor="#999999"],
body[data-theme="light"] .app-main-content th[bgcolor="#CCCCCC"],
body[data-theme="light"] .app-main-content td[bgcolor="#CCCCCC"],
body:not([data-theme="dark"]) .app-main-content th[bgcolor="#999999"],
body:not([data-theme="dark"]) .app-main-content td[bgcolor="#999999"],
body:not([data-theme="dark"]) .app-main-content th[bgcolor="#CCCCCC"],
body:not([data-theme="dark"]) .app-main-content td[bgcolor="#CCCCCC"] {
	background: #dbe6f5 !important;
}

body[data-theme="light"] span.yes,
body:not([data-theme="dark"]) span.yes {
	background: #bbf7d0;
	border: 1px solid #4ade80;
	color: #14532d;
}

body[data-theme="light"] span.no,
body:not([data-theme="dark"]) span.no {
	background: #fecaca;
	border: 1px solid #f87171;
	color: #7f1d1d;
}

body[data-theme="light"] span.na,
body:not([data-theme="dark"]) span.na {
	background: #0dcaf0;
	border: 1px solid #032830;
	color: #032830;
}

body[data-theme="light"] .scanner-meta-badge,
body:not([data-theme="dark"]) .scanner-meta-badge {
	background: #e2e8f0;
	color: #334155;
}

body[data-theme="light"] .scanner-meta-badge-authout,
body[data-theme="light"] .scanner-meta-badge-external,
body:not([data-theme="dark"]) .scanner-meta-badge-authout,
body:not([data-theme="dark"]) .scanner-meta-badge-external {
	background: #dbeafe;
	color: #1e3a8a;
}

body[data-theme="light"] .scanner-meta-badge-inbound,
body[data-theme="light"] .scanner-meta-badge-internal,
body:not([data-theme="dark"]) .scanner-meta-badge-inbound,
body:not([data-theme="dark"]) .scanner-meta-badge-internal {
	background: #dbeafe;
	color: #1e3a8a;
}

body[data-theme="light"] .scanner-meta-badge-mixed,
body:not([data-theme="dark"]) .scanner-meta-badge-mixed {
	background: #dbeafe;
	color: #1e3a8a;
}

body[data-theme="light"] .message-modal-content .detail-modal-table span.na,
body:not([data-theme="dark"]) .message-modal-content .detail-modal-table span.na {
	background: #0dcaf0;
	border: none;
	color: #032830;
}

body[data-theme="dark"] .message-modal-content .detail-modal-table span.na {
	background: #032830;
	border: none;
	color: #0dcaf0;
}

body[data-theme="light"] #messagePreviewModal span.yes,
body[data-theme="light"] .detail-modal-table span.yes,
body[data-theme="light"] .detail-modal-table span.no,
body[data-theme="light"] .detail-modal-table span.na,
body:not([data-theme="dark"]) #messagePreviewModal span.yes,
body:not([data-theme="dark"]) .detail-modal-table span.yes,
body:not([data-theme="dark"]) .detail-modal-table span.no,
body:not([data-theme="dark"]) .detail-modal-table span.na {
	border: none;
}

body[data-theme="light"] .user-action-edit,
body:not([data-theme="dark"]) .user-action-edit {
	color: #1d4ed8;
}

body[data-theme="light"] .user-action-delete,
body:not([data-theme="dark"]) .user-action-delete {
	color: #b91c1c;
}

body[data-theme="light"] .user-action-close,
body:not([data-theme="dark"]) .user-action-close {
	color: #475569;
}

body[data-theme="light"] .user-action-protected,
body:not([data-theme="dark"]) .user-action-protected {
	color: #64748b;
	background: rgba(148, 163, 184, 0.24);
}

body[data-theme="light"] .user-action-link:hover,
body:not([data-theme="dark"]) .user-action-link:hover {
	background: rgba(148, 163, 184, 0.24);
	color: inherit;
}

body[data-theme="light"] .user-role-pill,
body:not([data-theme="dark"]) .user-role-pill {
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
	border-color: rgba(37, 99, 235, 0.3);
}

body[data-theme="light"] .app-logout-btn,
body:not([data-theme="dark"]) .app-logout-btn {
	box-shadow: 0 2px 8px rgba(100, 116, 139, 0.1);
}

body[data-theme="light"] tr.tsrow_status1 td,
body:not([data-theme="dark"]) tr.tsrow_status1 td {
	background-color: #d7f0ff !important;
	color: #0f172a !important;
}

body[data-theme="light"] tr.tsrow_status2 td,
body:not([data-theme="dark"]) tr.tsrow_status2 td {
	background-color: #ffd5d5 !important;
	color: #7f1d1d !important;
}

body[data-theme="light"] tr.tsrow_status3 td,
body:not([data-theme="dark"]) tr.tsrow_status3 td {
	background-color: #d8dee8 !important;
	color: #0f172a !important;
}

body[data-theme="light"] tr.tsrow_status4 td,
body:not([data-theme="dark"]) tr.tsrow_status4 td {
	background-color: #d9fce9 !important;
	color: #0f172a !important;
}

body[data-theme="light"] tr.tsrow_status5 td,
body:not([data-theme="dark"]) tr.tsrow_status5 td {
	background-color: #ffe8d4 !important;
	color: #7c2d12 !important;
}

body[data-theme="light"] tr.tsrow_status6 td,
body:not([data-theme="dark"]) tr.tsrow_status6 td {
	background-color: #f8fafc !important;
	color: #1f2937 !important;
}

body[data-theme="dark"] .email-table tbody td {
	color: #e2e8f0 !important;
}

body[data-theme="dark"] .email-table {
	--bs-table-bg: #132033;
	--bs-table-striped-bg: #1f3148;
	--bs-table-color: #e2e8f0;
	--bs-table-hover-color: inherit;
	--bs-table-hover-bg: transparent;
}

body[data-theme="dark"] tr.tsrow_status1 td {
	background-color: #254d66 !important;
	color: #dcefff !important;
}

body[data-theme="dark"] tr.tsrow_status2 td {
	background-color: #64272d !important;
	color: #fde2e2 !important;
}

body[data-theme="dark"] tr.tsrow_status3 td {
	background-color: #454b55 !important;
	color: #f8fafc !important;
}

body[data-theme="dark"] tr.tsrow_status4 td {
	background-color: #214b38 !important;
	color: #dcfce7 !important;
}

body[data-theme="dark"] tr.tsrow_status5 td {
	background-color: #5a3a22 !important;
	color: #ffedd5 !important;
}

body[data-theme="dark"] tr.tsrow_status6 td {
	background-color: #293544 !important;
	color: #e2e8f0 !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status1 {
	background-color: #254d66 !important;
	color: #dcefff !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status2 {
	background-color: #64272d !important;
	color: #fde2e2 !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status3 {
	background-color: #454b55 !important;
	color: #f8fafc !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status4 {
	background-color: #214b38 !important;
	color: #dcfce7 !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status5 {
	background-color: #5a3a22 !important;
	color: #ffedd5 !important;
}

body[data-theme="dark"] .email-mobile-card.tsrow_status6 {
	background-color: #293544 !important;
	color: #e2e8f0 !important;
}

body[data-theme="dark"] .status-pill-released {
	background: #2f6f96;
	color: #e8f6ff;
}

body[data-theme="dark"] .status-pill-all {
	background: rgba(96, 165, 250, 0.18);
	color: #bfdbfe;
}

body[data-theme="dark"] .status-pill-virus,
body[data-theme="dark"] .status-pill-bad_content,
body[data-theme="dark"] .status-pill-other,
body[data-theme="dark"] .status-pill-blocked {
	background: rgba(185, 28, 28, 0.3);
	color: #fee2e2;
}

body[data-theme="dark"] .status-pill-blacklist {
	background: rgba(2, 6, 23, 0.72);
	color: #e5e7eb;
}

body[data-theme="dark"] .status-pill-whitelist {
	background: rgba(74, 222, 128, 0.16);
	color: #bbf7d0;
}

body[data-theme="dark"] .status-pill-spam {
	background: rgba(251, 146, 60, 0.16);
	color: #fed7aa;
}

body[data-theme="dark"] .status-pill-clean,
body[data-theme="dark"] .status-pill-clean___not_stopped {
	background: rgba(148, 163, 184, 0.2);
	color: #e2e8f0;
}

@media (max-width: 767.98px) {
	#messageDetailModal .modal-dialog {
		margin: 0.45rem;
		max-width: calc(100% - 0.9rem);
	}

	#messageDetailModal .modal-content {
		border-radius: 12px;
	}

	#messageDetailModal .modal-header,
	#messageDetailModal .modal-body {
		padding: 0.72rem 0.78rem;
	}

	.detail-modal-table,
	.detail-modal-table > tbody,
	.detail-modal-table > tbody > tr,
	.detail-modal-table > tbody > tr > th,
	.detail-modal-table > tbody > tr > td {
		display: block;
		width: 100%;
	}

	.detail-modal-table > tbody > tr {
		border: 1px solid rgba(148, 163, 184, 0.26);
		border-radius: 10px;
		margin-bottom: 0.62rem;
		overflow: hidden;
	}

	.detail-modal-table > tbody > tr:last-child {
		margin-bottom: 0;
	}

	.detail-modal-table > tbody > tr > th {
		width: auto;
		padding: 0.62rem 0.7rem 0.35rem;
		font-size: 0.72rem;
		line-height: 1.25;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		border-bottom: 0;
	}

	.detail-modal-table > tbody > tr > td {
		padding: 0.15rem 0.7rem 0.68rem;
		border-top: 0;
	}

	.mail-headers-block {
		max-height: min(48vh, 320px);
		padding: 0.6rem 0.65rem;
		font-size: 0.74rem;
	}
}

body[data-theme="dark"] .email-table thead th {
	background: #1f2937;
	color: #f8fafc;
}

body[data-theme="dark"] tr.tsrow_status1 td {
	background-color: rgba(14, 116, 144, 0.26) !important;
	color: #e2e8f0 !important;
}

body[data-theme="dark"] tr.tsrow_status2 td {
	background-color: rgba(185, 28, 28, 0.3) !important;
	color: #fee2e2 !important;
}

body[data-theme="dark"] tr.tsrow_status3 td {
	background-color: #454b55 !important;
	color: #f8fafc !important;
}

body[data-theme="dark"] tr.tsrow_status4 td {
	background-color: rgba(22, 163, 74, 0.26) !important;
	color: #dcfce7 !important;
}

body[data-theme="dark"] tr.tsrow_status5 td {
	background-color: rgba(234, 88, 12, 0.28) !important;
	color: #ffedd5 !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status1 td {
	background-color: #254d66 !important;
	color: #dcefff !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status2 td {
	background-color: #64272d !important;
	color: #fde2e2 !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status3 td {
	background-color: #454b55 !important;
	color: #f8fafc !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status4 td {
	background-color: #214b38 !important;
	color: #dcfce7 !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status5 td {
	background-color: #5a3a22 !important;
	color: #ffedd5 !important;
}

body[data-theme="dark"] tr.tsrow_status6 td {
	background-color: rgba(100, 116, 139, 0.26) !important;
	color: #e2e8f0 !important;
}

body[data-theme="dark"] .email-table tr.tsrow_status6 td {
	background-color: #293544 !important;
	color: #e2e8f0 !important;
}

body[data-theme="dark"] .email-table .status-pill-released {
	background: #2f6f96;
	color: #e8f6ff;
}

body[data-theme="dark"] .email-table .status-pill-whitelist {
	background: rgba(74, 222, 128, 0.16);
	color: #bbf7d0;
}

body[data-theme="dark"] .email-table .status-pill-spam {
	background: rgba(251, 146, 60, 0.16);
	color: #fed7aa;
}

body[data-theme="dark"] .email-table .status-pill-clean,
body[data-theme="dark"] .email-table .status-pill-clean___not_stopped {
	background: rgba(100, 116, 139, 0.36);
	color: #e2e8f0;
}

body[data-theme="dark"] .email-mobile-card {
	border-color: rgba(148, 163, 184, 0.28);
}

body[data-theme="dark"] .email-mobile-card.tsrow_status6 {
	background-color: rgba(30, 41, 59, 0.82) !important;
	color: #f8fafc !important;
}

body[data-theme="dark"] .email-mobile-card .status-pill-clean,
body[data-theme="dark"] .email-mobile-card .status-pill-clean___not_stopped {
	background: rgba(100, 116, 139, 0.36);
	color: #e2e8f0;
}

body[data-theme="dark"] .app-header-bar {
	background: #4b5563;
	padding: 0.85rem 1rem;
}

@media (min-width: 1400px) {
	.app-top-meta-line {
		flex-wrap: nowrap;
	}

	.app-top-domain-line {
		flex: 1 1 auto;
		min-width: 0;
	}

	.app-quick-search-form {
		flex: 0 1 720px;
	}

	.app-top-nav-links {
		align-items: center;
	}

	.app-top-list .app-list-item:hover,
	.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item:hover {
		transform: translateY(-1px);
	}
}

.app-main-content table .form-control,
.app-main-content table .form-select {
	display: inline-block;
	width: auto;
	min-width: 170px;
	max-width: 100%;
}

.app-main-content table textarea.form-control {
	display: block;
	width: 100%;
}

.app-main-content .table-responsive {
	-webkit-overflow-scrolling: touch;
}

.app-main-content table .form-check-input {
	width: 1.05rem;
	height: 1.05rem;
}

.app-top-nav-links .app-list-item {
	font-size: 0.9rem;
}

@media (max-width: 1299px) {
	.app-top-nav-links .app-list-item {
		font-size: 0.75rem;
	}
}

@media (max-width: 1199px) {
	.app-main-content {
		min-height: 0;
	}

	.app-header-bar {
		flex-wrap: wrap;
		align-items: flex-start !important;
	}

	.app-top-tools {
		order: 2;
		margin-left: auto;
	}

	.app-top-nav-collapse {
		order: 3;
		flex: 1 1 100%;
		width: 100%;
		margin-top: 0.55rem;
	}

	.app-top-nav-line {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.app-top-nav-links {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		row-gap: 0.55rem;
		column-gap: 0;
	}

	.app-top-nav-links .list-group-item-action {
		width: 100% !important;
		flex: 1 1 auto;
	}

	.app-top-list .app-list-item,
	.app-top-nav-links.list-group-horizontal-xl > .list-group-item.app-list-item {
		border-radius: 8px;
		border: 1px solid rgba(148, 163, 184, 0.3);
		padding: 0.62rem 0.9rem;
	}
}

@media (max-width: 1159px) {
	.app-quick-search-form {
		flex: 0 1 540px;
		width: auto;
		min-width: 0;
		margin-left: auto;
	}
}

@media (max-width: 991px) {

	.app-top-meta-line {
		align-items: flex-start;
	}

	.app-top-domain-line {
		flex-wrap: wrap;
		min-width: 0;
		width: 100%;
	}

	.app-top-domain-line > .small {
		flex: 0 0 100%;
	}

	.app-domain-inline-form {
		flex: 1 1 auto;
		width: 100%;
	}

	.app-domain-inline-form .form-select {
		min-width: 0;
		width: 100%;
	}

	.app-domain-inline-form .select2-container,
	.app-domain-inline-form select.select2-inline + .select2-container {
		width: 100% !important;
		min-width: 0;
		max-width: 100%;
	}

	.app-quick-search-form {
		flex: 1 1 100%;
		min-width: 0;
		width: 100%;
		max-width: none;
		margin-left: 0;
	}

	.app-quick-search-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.app-quick-search-main .form-control {
		grid-column: 1 / -1;
		width: 100%;
	}

	.app-quick-search-main .btn {
		width: 100%;
	}

	.app-main-content table.nested,
	.app-main-content table.nested > tbody,
	.app-main-content table.nested > tbody > tr,
	.app-main-content table.nested > tbody > tr > th,
	.app-main-content table.nested > tbody > tr > td,
	.app-main-content > table,
	.app-main-content > table > tbody,
	.app-main-content > table > tbody > tr,
	.app-main-content > table > tbody > tr > th,
	.app-main-content > table > tbody > tr > td {
		display: block;
		width: 100%;
	}

	.app-main-content table.nested > tbody > tr,
	.app-main-content > table > tbody > tr {
		border-top: 1px solid rgba(148, 163, 184, 0.22);
	}

	.app-main-content table.nested > tbody > tr:first-child,
	.app-main-content > table > tbody > tr:first-child {
		border-top: 0;
	}

	.app-main-content table.nested > tbody > tr > th,
	.app-main-content table.nested > tbody > tr > td,
	.app-main-content > table > tbody > tr > th,
	.app-main-content > table > tbody > tr > td {
		padding: 0.68rem 0.72rem;
		text-align: left !important;
	}

	.app-main-content table.nested .tscolunm_center,
	.app-main-content table.nested .tscolunm_right,
	.app-main-content > table .tscolunm_center,
	.app-main-content > table .tscolunm_right {
		text-align: left !important;
	}

	.app-main-content table.nested .tab_threeo {
		width: 100%;
	}

	.app-main-content table .form-control,
	.app-main-content table .form-select,
	.app-main-content table input[type="text"],
	.app-main-content table input[type="password"],
	.app-main-content table input[type="email"],
	.app-main-content table textarea,
	.app-main-content table select {
		display: block;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100%;
	}

	.app-main-content table textarea {
		min-height: 170px;
	}

	.app-main-content table .select2-container {
		width: 100% !important;
		max-width: 100%;
	}

	.user-email-inline {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(120px, 1fr);
		gap: 0.45rem;
		width: 100%;
		align-items: center;
	}

	.user-email-inline .user-at-sign {
		justify-self: center;
	}

		.user-email-inline input[name="email_local"] {
			min-width: 0;
			max-width: none;
			flex: 1 1 auto;
		}

	.user-email-inline .select2-container {
		width: 100% !important;
		min-width: 0;
	}

	.logmeinform {
		margin-top: 4vh;
		padding: 1.1rem;
	}

	.logmeinform .login-logo {
		width: 170px;
	}

	.app-detail-page-table,
	.app-detail-page-table > tbody,
	.app-detail-page-table > tbody > tr,
	.app-detail-page-table > tbody > tr > th,
	.app-detail-page-table > tbody > tr > td {
		display: block;
		width: 100%;
	}

	.app-detail-page-table > tbody > tr > th {
		border-bottom-width: 0;
	}

	.app-detail-page-table > tbody > tr > td {
		border-top-width: 0;
	}
}

@media (max-width: 768px) {
	.app-date-filter-strip-wrap {
		padding: 0.48rem 0.52rem;
		gap: 0.5rem;
	}

	.app-status-filter-strip-wrap {
		padding: 0.48rem 0.52rem;
		gap: 0.5rem;
	}

	.app-date-filter-strip {
		flex-wrap: wrap;
		overflow-x: visible;
		width: 100%;
		padding-bottom: 0;
	}

	.app-status-filter-strip {
		flex-wrap: wrap;
		overflow-x: visible;
		width: 100%;
		padding-bottom: 0;
	}

	.app-header-bar {
		align-items: center !important;
	}

	.app-brand-tagline {
		font-size: 0.74rem;
	}

	.app-main-content {
		padding: 0.45rem;
	}

	.con_head {
		font-size: 0.72rem;
	}

	.con_txt,
	.content_txt,
	.content_txt_blacklist {
		font-size: 0.8rem;
	}

	ul.messages_paginator {
		flex-wrap: wrap;
	}

	.user-email-inline {
		grid-template-columns: 1fr;
	}

	.user-email-inline .user-at-sign {
		justify-self: start;
	}

	.list-editor-section-head {
		flex-direction: column;
		align-items: stretch;
	}

	.app-main-content table.nested > tbody > tr > th,
	.app-main-content table.nested > tbody > tr > td,
	.app-main-content > table > tbody > tr > th,
	.app-main-content > table > tbody > tr > td {
		padding: 0.6rem 0.65rem;
	}
}
