:root {
	--bg-primary: #0d1117;
	--bg-card: #161b22;
	--accent: #00eaff;
	--accent-soft: rgba(0, 234, 255, 0.12);
	--accent-strong: rgba(0, 234, 255, 0.35);
	--text-primary: #e6edf3;
	--text-muted: #8b949e;
	--radius: 18px;
}

body {
	background:
		radial-gradient(circle at top left, rgba(0, 234, 255, 0.1), transparent 30%),
		radial-gradient(circle at bottom right, rgba(0, 234, 255, 0.05), transparent 45%),
		linear-gradient(160deg, #07090d 0%, #0d1117 45%, #0b1620 100%);
	color: var(--text-primary);
	min-height: 100vh;
	font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	color: #5df2ff;
}

.navbar,
.card {
	background-color: var(--bg-card);
	border: 1px solid rgba(0, 234, 255, 0.1);
	border-radius: var(--radius);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
}

.card.text-bg-light,
.card.bg-light,
.card.text-bg-white {
	background-color: #f8fafc;
	color: #0c1724;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.card.text-bg-light .card-title,
.card.text-bg-light .display-6,
.card.text-bg-light p,
.card.text-bg-light span {
	color: inherit;
}

.text-muted {
	color: rgba(216, 232, 241, 0.78) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
}

.text-muted strong {
	color: var(--accent);
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
	color: var(--text-primary);
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
	color: var(--accent);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	padding: 0.3rem 0.75rem;
}

.theme-toggle:hover,
.theme-toggle:focus {
	background: rgba(0, 234, 255, 0.16);
	color: var(--accent);
	border-color: rgba(0, 234, 255, 0.35);
}

.card-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	background-color: transparent;
	color: var(--text-primary);
}

.list-group-item {
	background-color: rgba(15, 19, 26, 0.6);
	border-color: rgba(0, 234, 255, 0.08);
	color: var(--text-primary);
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent) 0%, #00bcd4 100%);
	border: none;
	color: #03191f;
	box-shadow: 0 8px 20px rgba(0, 234, 255, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	box-shadow: 0 12px 28px rgba(0, 234, 255, 0.35);
	transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-danger,
.btn-outline-secondary {
	border-radius: 999px;
}

.btn-outline-light {
	color: var(--text-primary);
	border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.metric-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(0, 234, 255, 0.14);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: var(--accent);
}

.customer-section-tabs {
	gap: 0.5rem;
}

.customer-section-tabs .nav-link {
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	padding: 0.45rem 1.05rem;
}

.customer-section-tabs .nav-link:hover,
.customer-section-tabs .nav-link:focus {
	color: var(--accent);
	border-color: rgba(0, 234, 255, 0.35);
	background: rgba(0, 234, 255, 0.08);
}

.customer-section-tabs .nav-link.active {
	background: rgba(0, 234, 255, 0.16);
	color: var(--accent);
	border-color: rgba(0, 234, 255, 0.4);
}

.internet-only-toggle.is-on {
	background: rgba(0, 234, 255, 0.16);
	color: var(--accent);
	border: 1px solid rgba(0, 234, 255, 0.4);
}

.dns-record-value {
	max-width: 42rem;
	word-break: break-word;
}

.dns-record-value code {
	color: var(--text-primary);
	font-size: 0.85rem;
	white-space: pre-wrap;
}

.support-subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0.45rem;
	border-radius: 16px;
	background: rgba(15, 19, 26, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-subnav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	color: var(--text-primary);
	text-decoration: none;
	border: 1px solid transparent;
}

.support-subnav__link:hover,
.support-subnav__link:focus {
	color: var(--accent);
	background: rgba(0, 234, 255, 0.08);
}

.support-subnav__link.is-active {
	background: rgba(0, 234, 255, 0.16);
	color: var(--accent);
	border-color: rgba(0, 234, 255, 0.3);
}

.support-subnav__count {
	font-size: 0.75rem;
	opacity: 0.7;
}

.tech-card {
	position: relative;
	overflow: hidden;
	color: var(--text-primary);
}

a.text-decoration-none .tech-card {
	color: var(--text-primary);
}

a.text-decoration-none .metric__label {
	color: var(--text-muted);
}

a.text-decoration-none .metric__value {
	color: #ffffff;
}

a.text-decoration-none .text-muted {
	color: var(--text-muted) !important;
}

a.text-decoration-none:hover .metric__value {
	color: var(--accent);
}

.tech-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(0, 234, 255, 0.2), transparent 55%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.tech-card:hover::after {
	opacity: 1;
}

.tech-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid transparent;
	background:
		linear-gradient(120deg, rgba(0, 234, 255, 0.3), rgba(0, 234, 255, 0)) border-box;
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.tech-card:hover::before {
	opacity: 1;
}

.metric {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.metric__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(0, 234, 255, 0.16);
	color: var(--accent);
	box-shadow: inset 0 0 0 1px rgba(0, 234, 255, 0.24);
}

.metric__label {
	font-size: 0.85rem;
	text-transform: uppercase;
	color: var(--text-muted);
	letter-spacing: 0.08em;
	margin-bottom: 0.2rem;
}

.metric__value {
	font-size: 2rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.15;
}

.customer-hero .btn-primary {
	min-width: 190px;
	justify-content: center;
}

.customer-name-cell a {
	color: var(--text-primary);
}

.customer-name-cell a:hover {
	color: var(--accent);
}

.directory-toolbar {
	position: sticky;
	top: 0.75rem;
	z-index: 20;
}

.directory-search {
	position: relative;
}

.directory-search i {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	pointer-events: none;
}

.directory-search .form-control {
	padding-left: 2.4rem;
}

.directory-az {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem;
	padding: 0 1.25rem 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.directory-az__link {
	min-width: 1.7rem;
	height: 1.7rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text-primary);
	text-decoration: none;
}

.directory-az__link:hover {
	background: rgba(0, 234, 255, 0.12);
	color: var(--accent);
}

.directory-az__link.is-active {
	background: var(--accent);
	color: #03191f;
}

.directory-az__link.is-empty {
	opacity: 0.28;
	cursor: default;
}

.directory-letter-row td {
	background: rgba(0, 234, 255, 0.08);
	color: var(--accent);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.78rem;
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
	border-top: 1px solid rgba(0, 234, 255, 0.15);
}

.directory-letter-row {
	scroll-margin-top: 8rem;
}

.directory-letter-row td:target,
tr.directory-letter-row:target td {
	background: rgba(0, 234, 255, 0.18);
}

.pagination .page-link {
	background: #101725;
	border-color: rgba(0, 234, 255, 0.18);
	color: var(--text-primary);
}

.pagination .page-item.active .page-link {
	background: var(--accent);
	border-color: var(--accent);
	color: #03191f;
}

.pagination .page-item.disabled .page-link {
	background: transparent;
	color: var(--text-muted);
}

.directory-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.5rem;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.95rem;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent) 0%, #00bcd4 100%);
	color: #03191f;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(0, 234, 255, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.6rem);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.directory-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.directory-to-top:hover {
	color: #03191f;
	transform: translateY(-2px);
}

.progress {
	background: rgba(0, 234, 255, 0.1);
	height: 0.4rem;
	border-radius: 999px;
}

.progress-bar {
	background: linear-gradient(135deg, var(--accent) 0%, #00bcd4 100%);
}

.badge.bg-info,
.badge.bg-info.text-dark {
	background: rgba(0, 234, 255, 0.15) !important;
	color: #b8fbff !important;
	border: 1px solid rgba(0, 234, 255, 0.45);
}

.glass {
	background: rgba(15, 19, 26, 0.65);
	backdrop-filter: blur(12px);
	border-radius: var(--radius);
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 600;
	color: var(--text-primary);
}

.hero-subtitle {
	color: var(--text-muted);
	max-width: 38rem;
}

/* Compact dashboard layout — keep overview above the fold */
.dashboard-title {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--text-primary);
}

.dashboard-metric {
	padding: 0.65rem 0.75rem;
}

.dashboard-metric .metric {
	gap: 0.65rem;
}

.dashboard-metric .metric__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	font-size: 1rem;
	flex-shrink: 0;
}

.dashboard-metric .metric__label {
	font-size: 0.68rem;
	margin-bottom: 0;
	letter-spacing: 0.06em;
}

.dashboard-metric .metric__value {
	font-size: 1.35rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.1;
}

.dashboard-metric-sub {
	font-size: 0.65rem;
	display: block;
	line-height: 1.2;
}

.dashboard-progress {
	height: 4px;
}

.dashboard-panel .card-header {
	font-size: 0.9rem;
}

.dashboard-panel-list {
	max-height: min(28vh, 220px);
	overflow-y: auto;
}

.dashboard-panel-list .list-group-item {
	font-size: 0.88rem;
}

.dashboard-panel-list .fw-semibold {
	font-size: 0.88rem;
}

body:has(.dashboard) .navbar {
	margin-bottom: 0.75rem !important;
}

body:has(.dashboard) main.container {
	padding-bottom: 0.75rem;
}

.list-group-flush > .list-group-item:last-child {
	border-bottom-left-radius: var(--radius);
	border-bottom-right-radius: var(--radius);
}

.table {
	color: var(--text-primary);
}

.table-glass {
	--bs-table-bg: transparent;
	--bs-table-striped-bg: rgba(17, 25, 36, 0.78);
	--bs-table-hover-bg: rgba(22, 35, 52, 0.85);
	--bs-table-striped-color: var(--text-primary);
	--bs-table-hover-color: var(--text-primary);
	--bs-table-border-color: rgba(0, 234, 255, 0.08);
	background: #0b121c;
	border-collapse: separate;
	border-spacing: 0;
	color: var(--text-primary);
}

.table-glass thead th {
	border: none;
	background: #121c2b;
	color: var(--text-muted);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	padding: 1rem 1.5rem;
}

.table-glass tbody tr {
	background: #0d1623;
	border-bottom: 1px solid rgba(0, 234, 255, 0.08);
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.table-glass tbody tr:nth-child(even),
.table-glass tbody tr:nth-of-type(odd) {
	background: transparent;
}

.table-glass tbody tr:hover {
	background: rgba(22, 39, 57, 0.78);
	border-bottom-color: rgba(0, 234, 255, 0.24);
	box-shadow: inset 0 0 0 1px rgba(0, 234, 255, 0.12);
}

.table-glass td,
.table-glass th {
	border: none;
	padding: 1rem 1.5rem;
	vertical-align: middle;
	color: var(--text-primary);
}

.table-glass .btn-group .btn {
	border-radius: 999px;
}

.table-glass .btn-outline-light {
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.08);
}

.table-glass .btn-outline-light:hover {
	background: rgba(0, 234, 255, 0.25);
	color: #03191f;
}

.table-glass .btn-outline-danger {
	border-color: rgba(255, 99, 132, 0.45);
	background: rgba(255, 99, 132, 0.12);
	color: #ff7d9d;
}

.table-glass .btn-outline-danger:hover {
	background: #ff7d9d;
	color: #03191f;
}

.table-glass .badge {
	background: rgba(0, 234, 255, 0.2);
	border: 1px solid rgba(0, 234, 255, 0.4);
	color: #b8fbff !important;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.75rem;
}

.suppliers-table td,
.suppliers-table th {
	padding: 0.9rem 1.1rem;
	vertical-align: top;
}

.suppliers-table .supplier-vendor-cell {
	min-width: 10rem;
}

.suppliers-table .supplier-account-cell {
	min-width: 7rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.suppliers-table .supplier-contact-cell {
	min-width: 14rem;
	max-width: 18rem;
}

.suppliers-table .supplier-contact-name {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.2rem;
}

.suppliers-table .supplier-contact-line {
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.suppliers-table .supplier-contact-line + .supplier-contact-line {
	margin-top: 0.15rem;
}

.suppliers-table .supplier-phone {
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.suppliers-table .supplier-portal-cell {
	white-space: nowrap;
}

.suppliers-table .btn-group {
	flex-wrap: nowrap;
}

.data-table {
	background: linear-gradient(160deg, rgba(8, 12, 19, 0.95), rgba(9, 15, 23, 0.9));
	border-radius: var(--radius);
	box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.data-table .table-responsive {
	background: transparent;
}

.form-control,
.form-select {
	background-color: #101725;
	border: 1px solid rgba(0, 234, 255, 0.18);
	color: var(--text-primary);
	border-radius: 14px;
}

.form-label,
.form-check-label,
.dual-list-label,
.card-header h5,
.card-body h5 {
	color: #ffffff;
}

.form-control::placeholder {
	color: rgba(230, 237, 243, 0.5);
}

.form-control:focus,
.form-select:focus {
	border-color: rgba(0, 234, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.2);
}

.form-select option {
	color: #0b1623;
	background-color: #f4f7fb;
}

.form-select option:checked {
	background-color: rgba(0, 234, 255, 0.3);
	color: #03191f;
}

.dual-list-container {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.dual-list-column {
	flex: 1;
}

.dual-list-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 0.35rem;
}

.dual-list .form-select {
	min-height: 210px;
	background-color: #0f1f33;
}

.dual-list-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dual-list-actions .btn {
	min-width: 140px;
}

.step-tabs {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.step-tabs .btn {
	border-radius: 999px;
	padding: 0.35rem 1rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.step-section {
	display: none;
}

.step-section.active {
	display: block;
	animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.alert {
	border-radius: var(--radius);
	border: 1px solid rgba(255, 255, 255, 0.05);
	background-color: rgba(15, 19, 26, 0.85);
	color: var(--text-primary);
}

.modal-content.card,
.modal-content.tech-card {
	background-color: var(--bg-card);
	color: var(--text-primary);
	border: 1px solid rgba(0, 234, 255, 0.1);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.modal-header,
.modal-footer {
	border-color: rgba(255, 255, 255, 0.08);
}

.modal-title {
	color: #ffffff;
}

.admin-status-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1.25rem;
	padding: 1rem 1.1rem;
	border-radius: calc(var(--radius) - 4px);
	background: rgba(15, 19, 26, 0.72);
	border: 1px solid rgba(0, 234, 255, 0.08);
}

.admin-status-item {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.admin-status-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
}

.admin-status-value {
	color: var(--text-primary);
	font-weight: 500;
	word-break: break-word;
}

.admin-result-box {
	border-radius: calc(var(--radius) - 4px);
	padding: 0.85rem 1rem;
	border: 1px solid transparent;
}

.admin-result-box__title {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.admin-result-box__body {
	font-size: 0.95rem;
	line-height: 1.45;
	word-break: break-word;
}

.admin-result-box--success {
	background: rgba(46, 160, 67, 0.12);
	border-color: rgba(46, 160, 67, 0.28);
}

.admin-result-box--success .admin-result-box__title {
	color: #7ee787;
}

.admin-result-box--error {
	background: rgba(248, 81, 73, 0.12);
	border-color: rgba(248, 81, 73, 0.28);
}

.admin-result-box--error .admin-result-box__title {
	color: #ff7b72;
}

.invgate-sync-badge {
	border-radius: 999px;
	padding: 0.45rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.invgate-sync-badge--running {
	background: rgba(210, 153, 34, 0.18) !important;
	color: #f2cc60 !important;
	border: 1px solid rgba(210, 153, 34, 0.35);
}

.invgate-sync-badge--idle {
	background: rgba(139, 148, 158, 0.16) !important;
	color: #c9d1d9 !important;
	border: 1px solid rgba(139, 148, 158, 0.28);
}

.invgate-sync-badge--running .bi-circle-fill {
	animation: invgate-pulse 1.2s ease-in-out infinite;
}

@keyframes invgate-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.invgate-sync-form .invgate-sync-select {
	flex: 1 1 16rem;
	max-width: none;
}

.invgate-sync-form .invgate-sync-submit {
	white-space: nowrap;
}

.invgate-reports-card .card-body {
	background: #161b22;
}

.invgate-reports-frame {
	width: 100%;
	height: calc(100vh - 17.5rem);
	min-height: 640px;
	border: 0;
	display: block;
	border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
}

@media (max-width: 767px) {
	.admin-status-grid {
		grid-template-columns: 1fr;
	}

	.invgate-sync-form .d-flex {
		flex-direction: column;
	}

	.invgate-sync-form .invgate-sync-submit {
		width: 100%;
	}

	.invgate-reports-frame {
		height: calc(100vh - 15rem);
		min-height: 520px;
	}

	.hero-title {
		font-size: 1.8rem;
	}

	.metric__value {
		font-size: 1.6rem;
	}
}

.contract-dropzone {
	border: 1px dashed rgba(0, 234, 255, 0.35);
	border-radius: 12px;
	padding: 0.9rem;
	background: rgba(0, 234, 255, 0.04);
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contract-dropzone__surface {
	text-align: center;
	color: var(--text-muted);
}

.contract-dropzone__icon {
	font-size: 1.8rem;
	color: var(--accent);
	display: block;
	margin-bottom: 0.35rem;
}

.contract-dropzone.is-dragover {
	border-color: var(--accent);
	background: rgba(0, 234, 255, 0.12);
	box-shadow: inset 0 0 0 1px var(--accent);
}

tr[data-contract-drop] td {
	transition: background-color 0.15s ease;
}

tr[data-contract-drop].is-dragover td {
	background-color: rgba(0, 234, 255, 0.12);
}

.table-glass thead th[data-sort] {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.table-glass thead th[data-sort]:hover,
.table-glass thead th[data-sort]:focus-visible {
	color: var(--text-primary);
}

.table-glass thead th[data-sort] .sort-indicator {
	display: inline-block;
	width: 0.75rem;
	margin-left: 0.35rem;
	font-size: 0.8em;
	line-height: 1;
	vertical-align: middle;
	color: var(--accent);
	opacity: 0;
}

.table-glass thead th[data-sort]:hover .sort-indicator,
.table-glass thead th[data-sort]:focus-visible .sort-indicator {
	opacity: 0.4;
	color: var(--text-muted);
}

.table-glass thead th[data-sort]:hover .sort-indicator::before,
.table-glass thead th[data-sort]:focus-visible .sort-indicator::before {
	content: "\2195";
}

.table-glass thead th[data-sort][aria-sort="ascending"] .sort-indicator,
.table-glass thead th[data-sort][aria-sort="descending"] .sort-indicator {
	opacity: 1;
	color: var(--accent);
}

.table-glass thead th[data-sort][aria-sort="ascending"] .sort-indicator::before {
	content: "\2191";
}

.table-glass thead th[data-sort][aria-sort="descending"] .sort-indicator::before {
	content: "\2193";
}

html[data-theme="light"] {
	color-scheme: light;
}

html[data-theme="light"] body {
	background:
		radial-gradient(circle at top left, rgba(14, 116, 144, 0.08), transparent 32%),
		radial-gradient(circle at bottom right, rgba(14, 116, 144, 0.05), transparent 42%),
		linear-gradient(160deg, #eef3f8 0%, #f7fafc 48%, #e8eef4 100%);
	color: #1b2838;
}

html[data-theme="light"] a {
	color: #0b7d93;
}

html[data-theme="light"] a:hover {
	color: #09667a;
}

html[data-theme="light"] .navbar,
html[data-theme="light"] .card {
	background-color: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .navbar.bg-dark {
	background-color: #ffffff !important;
}

html[data-theme="light"] .navbar-dark .navbar-brand,
html[data-theme="light"] .navbar-dark .nav-link {
	color: #1b2838;
}

html[data-theme="light"] .navbar-dark .nav-link:hover,
html[data-theme="light"] .navbar-dark .nav-link:focus {
	color: #0b7d93;
}

html[data-theme="light"] .theme-toggle {
	border-color: rgba(15, 23, 42, 0.16);
	background: #f4f7fb;
	color: #1b2838;
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus {
	background: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.3);
}

html[data-theme="light"] .text-muted {
	color: #5c6b7a !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] .form-label,
html[data-theme="light"] .form-check-label,
html[data-theme="light"] .card-header h5,
html[data-theme="light"] .card-body h5,
html[data-theme="light"] .modal-title,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .dashboard-title {
	color: #0f1724;
}

html[data-theme="light"] .card-header {
	border-bottom-color: rgba(15, 23, 42, 0.08);
	color: #1b2838;
}

html[data-theme="light"] .list-group-item {
	background-color: #ffffff;
	border-color: rgba(15, 23, 42, 0.08);
	color: #1b2838;
}

html[data-theme="light"] .btn-primary {
	background: linear-gradient(135deg, #0b8fa8 0%, #0e7490 100%);
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(11, 125, 147, 0.22);
}

html[data-theme="light"] .btn-primary:hover,
html[data-theme="light"] .btn-primary:focus {
	box-shadow: 0 10px 22px rgba(11, 125, 147, 0.3);
	color: #ffffff;
}

html[data-theme="light"] .btn-outline-light {
	color: #1b2838;
	border-color: rgba(15, 23, 42, 0.18);
	background: #ffffff;
}

html[data-theme="light"] .btn-outline-light:hover,
html[data-theme="light"] .btn-outline-light:focus {
	background-color: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.3);
}

html[data-theme="light"] .metric-chip {
	background-color: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
}

html[data-theme="light"] .tech-card,
html[data-theme="light"] a.text-decoration-none .tech-card {
	color: #1b2838;
}

html[data-theme="light"] a.text-decoration-none .metric__value,
html[data-theme="light"] .metric__value,
html[data-theme="light"] .dashboard-metric .metric__value {
	color: #0f1724;
}

html[data-theme="light"] .tech-card::after {
	background: radial-gradient(circle at top right, rgba(11, 125, 147, 0.12), transparent 55%);
}

html[data-theme="light"] .metric__icon {
	background: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
	box-shadow: inset 0 0 0 1px rgba(11, 125, 147, 0.18);
}

html[data-theme="light"] .customer-name-cell a,
html[data-theme="light"] .directory-az__link,
html[data-theme="light"] .table {
	color: #1b2838;
}

html[data-theme="light"] .directory-az {
	border-top-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .directory-az__link:hover {
	background: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
}

html[data-theme="light"] .directory-az__link.is-active {
	background: #0b8fa8;
	color: #ffffff;
}

html[data-theme="light"] .directory-letter-row td {
	background: rgba(11, 125, 147, 0.08);
	color: #0b7d93;
	border-top-color: rgba(11, 125, 147, 0.16);
}

html[data-theme="light"] .pagination .page-link {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.12);
	color: #1b2838;
}

html[data-theme="light"] .pagination .page-item.active .page-link {
	background: #0b8fa8;
	border-color: #0b8fa8;
	color: #ffffff;
}

html[data-theme="light"] .directory-to-top {
	background: linear-gradient(135deg, #0b8fa8 0%, #0e7490 100%);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(11, 125, 147, 0.22);
}

html[data-theme="light"] .directory-to-top:hover {
	color: #ffffff;
}

html[data-theme="light"] .progress {
	background: rgba(11, 125, 147, 0.12);
}

html[data-theme="light"] .progress-bar {
	background: linear-gradient(135deg, #0b8fa8 0%, #0e7490 100%);
}

html[data-theme="light"] .badge.bg-info,
html[data-theme="light"] .badge.bg-info.text-dark {
	background: rgba(11, 125, 147, 0.12) !important;
	color: #0b5f70 !important;
	border-color: rgba(11, 125, 147, 0.28);
}

html[data-theme="light"] .glass,
html[data-theme="light"] .alert {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.1);
	color: #1b2838;
}

html[data-theme="light"] .table-glass {
	--bs-table-striped-bg: #f4f7fb;
	--bs-table-hover-bg: #e8f3f6;
	--bs-table-striped-color: #1b2838;
	--bs-table-hover-color: #1b2838;
	--bs-table-border-color: rgba(15, 23, 42, 0.08);
	background: #ffffff;
	color: #1b2838;
}

html[data-theme="light"] .table-glass thead th {
	background: #eef3f8;
	color: #5c6b7a;
}

html[data-theme="light"] .table-glass tbody tr {
	background: #ffffff;
	border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .table-glass tbody tr:hover {
	background: #e8f3f6;
	border-bottom-color: rgba(11, 125, 147, 0.28);
	box-shadow: inset 0 0 0 1px rgba(11, 125, 147, 0.1);
}

html[data-theme="light"] .table-glass td,
html[data-theme="light"] .table-glass th {
	color: #1b2838;
}

html[data-theme="light"] .table-glass .btn-outline-light {
	border-color: rgba(15, 23, 42, 0.16);
	color: #1b2838;
	background: #f4f7fb;
}

html[data-theme="light"] .table-glass .btn-outline-light:hover {
	background: rgba(11, 125, 147, 0.16);
	color: #0b7d93;
}

html[data-theme="light"] .table-glass .badge {
	background: rgba(11, 125, 147, 0.12);
	border-color: rgba(11, 125, 147, 0.28);
	color: #0b5f70 !important;
}

html[data-theme="light"] .data-table {
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] .dual-list .form-select {
	background-color: #ffffff;
	border-color: rgba(15, 23, 42, 0.16);
	color: #1b2838;
}

html[data-theme="light"] .form-control::placeholder {
	color: rgba(27, 40, 56, 0.45);
}

html[data-theme="light"] .form-control:focus,
html[data-theme="light"] .form-select:focus {
	border-color: rgba(11, 125, 147, 0.55);
	box-shadow: 0 0 0 3px rgba(11, 125, 147, 0.16);
}

html[data-theme="light"] .text-light,
html[data-theme="light"] .text-white,
html[data-theme="light"] .card .text-white,
html[data-theme="light"] .tech-card .text-white {
	color: #0f1724 !important;
}

html[data-theme="light"] .link-light,
html[data-theme="light"] .table-glass a:not(.btn) {
	color: #0b7d93 !important;
}

html[data-theme="light"] .link-light:hover,
html[data-theme="light"] .table-glass a:not(.btn):hover {
	color: #09667a !important;
}

html[data-theme="light"] .modal-content.card,
html[data-theme="light"] .modal-content.tech-card {
	background-color: #ffffff;
	color: #1b2838;
	border-color: rgba(15, 23, 42, 0.1);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .modal-header,
html[data-theme="light"] .modal-footer {
	border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .admin-status-grid {
	background: #f4f7fb;
	border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .invgate-sync-badge--idle {
	background: rgba(92, 107, 122, 0.12) !important;
	color: #5c6b7a !important;
	border-color: rgba(92, 107, 122, 0.22);
}

html[data-theme="light"] .invgate-reports-card .card-body {
	background: #ffffff;
}

html[data-theme="light"] .contract-dropzone {
	border-color: rgba(11, 125, 147, 0.28);
	background: rgba(11, 125, 147, 0.04);
}

html[data-theme="light"] .contract-dropzone.is-dragover,
html[data-theme="light"] tr[data-contract-drop].is-dragover td {
	background-color: rgba(11, 125, 147, 0.1);
}

html[data-theme="light"] .navbar-toggler {
	border-color: rgba(15, 23, 42, 0.2);
}

html[data-theme="light"] .navbar-toggler-icon {
	filter: invert(1);
}

.login-wrap {
	min-height: calc(100vh - 3rem);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 0;
}

.login-card {
	width: 100%;
	max-width: 28rem;
}

.dropdown-menu {
	background: var(--bg-card);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.dropdown-item {
	color: var(--text-primary);
}

.dropdown-item:hover,
.dropdown-item:focus {
	background: rgba(0, 234, 255, 0.12);
	color: var(--accent);
}

html[data-theme="light"] .customer-section-tabs .nav-link {
	border-color: rgba(15, 23, 42, 0.12);
	background: #f4f7fb;
	color: #1b2838;
}

html[data-theme="light"] .customer-section-tabs .nav-link:hover,
html[data-theme="light"] .customer-section-tabs .nav-link:focus {
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.35);
	background: rgba(11, 125, 147, 0.08);
}

html[data-theme="light"] .customer-section-tabs .nav-link.active {
	background: rgba(11, 125, 147, 0.14);
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.4);
}

html[data-theme="light"] .internet-only-toggle.is-on {
	background: rgba(11, 125, 147, 0.14);
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.4);
}

html[data-theme="light"] .support-subnav {
	background: #f4f7fb;
	border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .support-subnav__link {
	color: #1b2838;
}

html[data-theme="light"] .support-subnav__link:hover,
html[data-theme="light"] .support-subnav__link:focus {
	color: #0b7d93;
	background: rgba(11, 125, 147, 0.08);
}

html[data-theme="light"] .support-subnav__link.is-active {
	background: rgba(11, 125, 147, 0.14);
	color: #0b7d93;
	border-color: rgba(11, 125, 147, 0.32);
}

html[data-theme="light"] .dropdown-menu {
	background: #ffffff;
	border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .dropdown-item {
	color: #1b2838;
}

html[data-theme="light"] .dropdown-item:hover,
html[data-theme="light"] .dropdown-item:focus {
	background: rgba(11, 125, 147, 0.1);
	color: #0b7d93;
}


