@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
	--modern-bg: #f4f7fc;
	--modern-surface: #ffffff;
	--modern-surface-soft: #f8faff;
	--modern-ink: #0f172a;
	--modern-ink-soft: #334155;
	--modern-muted: #64748b;
	--modern-border: #dbe4f0;
	--modern-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	--modern-shadow-soft: 0 6px 16px rgba(15, 23, 42, 0.06);
	--modern-brand: hsl(var(--base));
	--modern-brand-dark: hsl(var(--base-700));
	--modern-danger: #d92d20;
	--modern-success: #0f9f67;
	--modern-header-bg: #243b60;
	--modern-header-top: #2f4a73;
	--modern-header-nav: #355381;
	--modern-header-link: #e6eefc;
	--modern-header-link-hover: #ffffff;
	--modern-footer-bg: #2a426b;
	--modern-footer-text: #d8e2f5;
}

body {
	font-family: "Manrope", var(--body-font);
	background: radial-gradient(circle at 15% -20%, #e4edff 0%, transparent 40%), linear-gradient(180deg, #f8fbff 0%, var(--modern-bg) 100%) !important;
	color: var(--modern-ink-soft);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.card-title {
	color: var(--modern-ink);
	font-family: "Space Grotesk", var(--heading-font);
	letter-spacing: 0.01em;
}

p,
label,
li,
span,
small,
td,
th {
	color: inherit;
}

a {
	color: hsl(var(--link-color));
}

a:hover {
	color: hsl(var(--link-color-hover));
}

/* Global modern surfaces */
.service-category,
.section-full,
.pt-60.pb-60,
.pt-120.pb-120,
.pt-60.pb-60.bg--light,
.pb--120,
.pt--120 {
	background: transparent !important;
}

.modern-panel-card,
.service-category .card,
.section-full .card,
.table,
.modal-content,
.faq-item,
.custom-input-box {
	border: 1px solid var(--modern-border) !important;
	border-radius: 16px !important;
	background: var(--modern-surface);
	box-shadow: var(--modern-shadow-soft);
}

.service-category .card,
.section-full .card {
	overflow: hidden;
}

.service-category .card-header,
.section-full .card-header {
	background: var(--modern-surface-soft) !important;
	border-bottom: 1px solid var(--modern-border) !important;
	color: var(--modern-ink) !important;
}

.service-category .card-header.bg-dark-two,
.section-full .card-header.bg-dark-two {
	background: linear-gradient(135deg, #2d4b78 0%, #3a5f94 100%) !important;
	color: #eff5ff !important;
}

.service-category .card-header .text-white,
.section-full .card-header .text-white,
.service-category .bg-dark-two,
.section-full .bg-dark-two {
	color: #eff5ff !important;
}

/* Inputs and forms */
.form-control,
.form--control,
.form-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	border-radius: 12px !important;
	border-color: #d3dceb !important;
	background: #ffffff !important;
	color: var(--modern-ink) !important;
	box-shadow: none !important;
}

.form-control::placeholder,
.form--control::placeholder,
input::placeholder,
textarea::placeholder {
	color: #8fa0ba !important;
}

.form-control:focus,
.form--control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: hsl(var(--base)) !important;
	box-shadow: 0 0 0 0.2rem hsl(var(--base) / 0.15) !important;
}

.form-group label,
.form-label {
	color: #23314d;
	font-weight: 600;
}

.btn {
	border-radius: 12px;
}

.btn--base,
.bg--base {
	background: linear-gradient(135deg, hsl(var(--base-600)) 0%, hsl(var(--base-700)) 100%) !important;
	border-color: hsl(var(--base-700)) !important;
	color: #fff !important;
}

.btn--base:hover,
.btn--base:focus {
	background: linear-gradient(135deg, hsl(var(--base-700)) 0%, hsl(var(--base-800)) 100%) !important;
	color: #fff !important;
}

.btn--base-outline {
	border: 1px solid hsl(var(--base) / 0.35) !important;
	background: #fff !important;
	color: hsl(var(--base-700)) !important;
}

.btn--base-outline:hover {
	border-color: hsl(var(--base)) !important;
	background: hsl(var(--base) / 0.08) !important;
	color: hsl(var(--base-800)) !important;
}

/* Two-row modern header */
.modern-client-header {
	background: linear-gradient(180deg, rgba(47, 74, 115, 0.98) 0%, rgba(36, 59, 96, 0.98) 100%) !important;
	border-bottom: 1px solid rgba(203, 217, 241, 0.3);
	box-shadow: 0 10px 24px rgba(31, 51, 82, 0.2);
}

.modern-client-header .header-row {
	display: flex;
	align-items: center;
	width: 100%;
}

.modern-client-header .header-row-top {
	justify-content: space-between;
	gap: 1rem;
	padding: 8px 0 6px;
}

.modern-client-header .header-row-nav {
	padding: 6px 0 8px;
	border-top: 1px solid rgba(203, 217, 241, 0.22);
}

.modern-client-header .logo img {
	max-width: 162px;
	max-height: 32px;
}

.modern-client-header .header-top-controls {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-left: auto;
}

.modern-client-header .modern-header-tools {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.modern-user-dropdown .modern-user-trigger {
	border: 1px solid rgba(214, 226, 246, 0.42);
	background: rgba(255, 255, 255, 0.14);
	color: #f8fbff;
	border-radius: 12px;
	min-width: 188px;
	text-align: left;
	padding: 6px 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.05;
}

.modern-user-dropdown .modern-user-trigger::after {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.modern-user-meta {
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(236, 242, 255, 0.75);
	padding-right: 20px;
}

.modern-user-name {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	max-width: 190px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 20px;
}

.modern-dropdown-menu {
	border-radius: 12px;
	border: 1px solid var(--modern-border);
	box-shadow: var(--modern-shadow);
	padding: 8px;
	min-width: 230px;
}

.modern-dropdown-menu .dropdown-item {
	border-radius: 10px;
	color: #1e293b;
	font-weight: 600;
	padding: 9px 12px;
}

.modern-dropdown-menu .dropdown-item:hover {
	background: #eef4ff;
	color: #0f172a;
}

.modern-guest-actions .btn {
	min-width: 94px;
}

.modern-client-header .add-cart {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	border: 1px solid rgba(214, 226, 246, 0.42);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 0 !important;
	background: rgba(255, 255, 255, 0.14);
}

.modern-client-header .add-cart i {
	color: #f8fbff;
	font-size: 14px;
	position: relative;
}

.modern-client-header .add-cart i span {
	position: absolute;
	top: -9px;
	right: -10px;
	min-width: 16px;
	height: 16px;
	font-size: 9px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--modern-header-bg);
}

.modern-client-header .currency_switcher,
.modern-client-header .language_switcher {
	border: 1px solid rgba(214, 226, 246, 0.42);
	border-radius: 12px;
	padding: 7px 24px 7px 9px !important;
	background: rgba(255, 255, 255, 0.14);
	margin-left: 0 !important;
}

.modern-client-header .currency_switcher::after,
.modern-client-header .language_switcher::after {
	right: 10px;
}

.modern-client-header .currency_switcher__caption .text,
.modern-client-header .language_switcher__caption .text,
.modern-client-header .currency_switcher::after,
.modern-client-header .language_switcher::after {
	color: #f8fbff !important;
}

.modern-client-header .menu {
	margin-left: 0;
	width: 100%;
	justify-content: flex-start;
	gap: 4px;
}

.modern-client-header .menu > li > a {
	color: var(--modern-header-link);
	border-radius: 10px;
	padding: 6px 10px;
	font-size: 14px;
	font-weight: 600;
}

.modern-client-header .menu > li > a:hover,
.modern-client-header .menu > li > a.active {
	color: var(--modern-header-link-hover);
	background: rgba(255, 255, 255, 0.16);
}

.modern-client-header .menu li.has-sub-menu > a::after {
	color: rgba(236, 242, 255, 0.75);
}

.modern-client-header .sub-menu {
	background: #2d466f;
	border: 1px solid rgba(214, 226, 246, 0.25);
	border-radius: 12px;
	padding: 8px;
}

.modern-client-header .sub-menu li a {
	color: #eef4ff;
	border-radius: 8px;
}

.modern-client-header .sub-menu li a:hover {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.1);
	padding-left: 15px;
}

.modern-client-header .header-trigger__icon {
	color: #f1f5ff;
	font-size: 29px;
}

@media (max-width: 1199px) {
	.modern-client-header .header-row-top {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.modern-client-header .header-top-controls {
		width: 100%;
		justify-content: flex-end;
	}

	.modern-client-header .menu {
		background: #2a4268;
		border: 1px solid rgba(214, 226, 246, 0.26);
		border-radius: 12px;
	}

	.modern-client-header .menu li {
		border-bottom: 1px solid rgba(214, 226, 246, 0.24);
	}

	.modern-client-header .menu li a {
		color: #f3f7ff;
	}

	.modern-client-header .menu .sub-menu {
		background: transparent;
		border: none;
		padding: 0 0 0 16px;
	}

	.modern-client-header .menu .sub-menu li a {
		color: #d2dcf2;
	}
}

@media (max-width: 767px) {
	.modern-user-dropdown .modern-user-trigger {
		min-width: 154px;
	}

	.modern-user-meta {
		font-size: 10px;
	}

	.modern-user-name {
		font-size: 12px;
	}

	.modern-client-header .logo img {
		max-width: 132px;
	}

	.modern-client-header .currency_switcher,
	.modern-client-header .language_switcher,
	.modern-client-header .add-cart {
		transform: scale(0.93);
		transform-origin: right center;
	}
}

/* Breadcrumb and section spacing */
.breadcrumb-bg {
	background: #eef3fb;
	border-bottom: 1px solid #d9e5f5;
	color: #334155;
}

.breadcrumb-bg a {
	text-decoration: none;
	font-weight: 600;
}

/* Sidebar and quick panels */
.sidebar,
#actionMenu,
#categoryMenu {
	border-radius: 14px !important;
	border: 1px solid var(--modern-border) !important;
	overflow: hidden;
}

.sidebar .bg-dark-two,
#actionMenu .bg-dark-two,
#categoryMenu .bg-dark-two {
	background: linear-gradient(135deg, #35537f 0%, #436899 100%) !important;
	color: #f8fbff !important;
}

.list-group-item,
.sidebar .list-group-item {
	color: #1f2f49 !important;
	border-color: #edf2fb !important;
	background: #fff !important;
	font-weight: 600;
}

.list-group-item:hover,
.sidebar .list-group-item:hover {
	background: #f4f8ff !important;
	color: #0f1b31 !important;
}

/* Dashboard widgets */
.user-dashboard .dash-widget {
	border: 1px solid #d7e3f5;
	border-radius: 16px;
	background: linear-gradient(145deg, #ffffff 0%, #f3f8ff 100%);
	box-shadow: 0 10px 24px rgba(33, 55, 87, 0.09);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.user-dashboard .dash-widget:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(33, 55, 87, 0.16);
}

.user-dashboard .dash-widget .card-body {
	padding: 1.15rem;
}

.widgets-icons-2 {
	width: 48px;
	height: 48px;
	border-radius: 14px !important;
	font-size: 1.35rem;
}

/* Tables with readable contrast */
.table {
	color: #1f2d45;
	margin-bottom: 0;
}

.table tbody tr td::before {
	color: #2c3e5d !important;
	font-weight: 700 !important;
}

.table thead th {
	background: #f4f8ff;
	color: #1b2a45;
	border-bottom: 1px solid #d9e5f5 !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.01em;
}

/* Ensure heading contrast overrides legacy .table thead tr th (white text) */
.section-full .table thead tr,
.project-modern-page .table thead tr,
.support-modern-page .table thead tr,
.license-modern-page .table thead tr {
	background: #ecf3ff !important;
}

.section-full .table thead tr th,
.project-modern-page .table thead tr th,
.support-modern-page .table thead tr th,
.license-modern-page .table thead tr th {
	background: #ecf3ff !important;
	color: #1f3352 !important;
	border-color: #d9e5f5 !important;
}

.table tbody td {
	color: #22324e;
	border-top: 1px solid #edf2fa;
	background: #fff;
}

.table tbody td a {
	color: #234f9a;
	font-weight: 600;
}

.table tbody td a:hover {
	color: #1a3b73;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
	background-color: #fbfdff;
}

.table .badge,
.badge {
	border-radius: 999px;
}

/* Auth pages modern redesign */
.modern-auth-section {
	min-height: 100vh;
	padding: 28px 0;
	background: linear-gradient(180deg, #eef4ff 0%, #eaf1fc 100%);
}

.modern-auth-glow {
	position: absolute;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	filter: blur(50px);
	opacity: 0.35;
	pointer-events: none;
}

.modern-auth-glow--one {
	top: -120px;
	left: -80px;
	background: #89b2ff;
}

.modern-auth-glow--two {
	right: -120px;
	bottom: -120px;
	background: #87e4c2;
}

.modern-auth-shell {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #d5e1f2;
	background: #fff;
	box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.modern-auth-side {
	background: linear-gradient(160deg, #15233d 0%, #1c2f52 60%, #24406b 100%);
	color: #f0f6ff;
	padding: 28px 24px;
}

.modern-auth-side__inner {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modern-auth-side-logo img {
	max-width: 170px;
	max-height: 40px;
}

.modern-auth-side-title {
	color: #ffffff;
	font-size: 1.45rem;
	line-height: 1.2;
}

.modern-auth-side-text {
	color: #d8e5fb;
	line-height: 1.55;
}

.modern-auth-side-points {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modern-auth-side-points li {
	color: #e3ecff;
	font-weight: 600;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.modern-auth-side-points i {
	color: #8dffcc;
	margin-top: 3px;
}

.modern-auth-form-col {
	background: #ffffff;
}

.modern-auth-card-wrap {
	padding: 18px 20px;
}

.modern-auth-logo img {
	max-width: 165px;
	max-height: 40px;
}

.account-form {
	border: 1px solid #dce5f3;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	padding: 22px;
}

.modern-auth-card-wrap .modern-auth-logo {
	margin-top: 0 !important;
	margin-bottom: 0.75rem !important;
}

@media (max-width: 450px) {
	.modern-auth-card-wrap {
		padding: 12px;
	}

	.account-form {
		padding: 16px;
	}
}

/* Modern footer */
.modern-footer {
	background: linear-gradient(180deg, #34507d 0%, var(--modern-footer-bg) 100%) !important;
	color: var(--modern-footer-text);
	border-top: 1px solid rgba(216, 228, 245, 0.32);
	padding: 58px 0 34px;
}

.modern-footer-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr));
	gap: 28px;
}

.modern-footer-brand .logo img {
	max-width: 180px;
	max-height: 42px;
}

.modern-footer-text,
.modern-footer-copy {
	color: var(--modern-footer-text);
	line-height: 1.75;
}

.modern-footer-title {
	color: #f3f7ff;
	margin-bottom: 12px;
	font-size: 1rem;
}

.modern-footer-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.modern-footer-links a {
	color: #e6eefc;
	text-decoration: none;
	font-weight: 500;
}

.modern-footer-links a:hover {
	color: #ffffff;
}

@media (max-width: 991px) {
	.modern-footer-grid {
		grid-template-columns: repeat(2, minmax(160px, 1fr));
	}
}

@media (max-width: 575px) {
	.modern-footer-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.modern-footer {
		padding: 42px 0 24px;
	}
}

/* Service pages */
.modern-service-page .service-product-card,
.modern-domain-page .card {
	border: 1px solid #dbe4f0 !important;
	border-radius: 16px !important;
	box-shadow: var(--modern-shadow-soft);
	background: #ffffff;
}

.modern-service-page .service-product-card:hover,
.modern-domain-page .card:hover {
	box-shadow: var(--modern-shadow);
}

/* Service detail redesign */
.service-detail-page .service-detail-hero-card,
.service-detail-page .service-detail-summary-card,
.service-detail-page .service-detail-config-card {
	border: 1px solid #dbe6f3 !important;
	border-radius: 16px !important;
	background: #ffffff;
	box-shadow: var(--modern-shadow-soft);
}

.service-detail-page .new-card {
	background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%) !important;
	border: 1px solid #d8e4f4;
	border-radius: 14px;
	line-height: 1.35;
	padding: 24px;
}

.service-detail-page .new-card h3,
.service-detail-page .new-card h4,
.service-detail-page .new-card h5,
.service-detail-page .new-card small,
.service-detail-page .new-card em,
.service-detail-page .new-card a {
	color: #1e2f4d !important;
}

.service-detail-page .list-group-item {
	background: transparent;
	border-color: #e8eef7;
	color: #253956;
	font-weight: 600;
}

.service-detail-page .list-group-item strong,
.service-detail-page .list-group-item .badge {
	color: #1c2e4b;
}

.service-detail-page .progress-bg {
	background: #dae4f2 !important;
	border-radius: 999px;
}

/* Domain detail redesign */
.domain-detail-page .domain-detail-main-card {
	border: 1px solid #dbe6f3 !important;
	border-radius: 16px !important;
	box-shadow: var(--modern-shadow-soft);
	background: #fff;
}

.domain-detail-page .domain-detail-main-card .card-header {
	background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%) !important;
	border: 1px solid #dbe6f3;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 14px;
}

.domain-detail-page .domain-detail-main-card .card-header a {
	background: #eaf2ff;
	border: 1px solid #d7e4f8;
	border-radius: 10px;
	padding: 8px 10px;
	color: #1f477e !important;
	text-decoration: none;
	font-weight: 700;
	margin-bottom: 8px;
}

.domain-detail-page .domain-detail-main-card .list-group-item {
	background: transparent;
	border-color: #e7eef8;
	font-weight: 600;
	color: #253956;
}

.domain-detail-page .new-card {
	background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%) !important;
	border: 1px solid #d8e4f4;
	color: #213554;
}

/* Compare pricing redesign */
.modern-compare-table {
	border-radius: 16px;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #dbe4f0;
	background: #fff;
	box-shadow: var(--modern-shadow-soft);
	padding-bottom: 4px;
}

.modern-compare-scroll {
	overflow-x: auto !important;
	overflow-y: hidden !important;
}

.modern-compare-scroll::-webkit-scrollbar,
.modern-compare-table::-webkit-scrollbar {
	height: 10px;
}

.modern-compare-scroll::-webkit-scrollbar-track,
.modern-compare-table::-webkit-scrollbar-track {
	background: #e8effa;
	border-radius: 999px;
}

.modern-compare-scroll::-webkit-scrollbar-thumb,
.modern-compare-table::-webkit-scrollbar-thumb {
	background: #b6c8e8;
	border-radius: 999px;
}

.modern-compare-scroll .table {
	width: max-content;
	min-width: 100%;
	table-layout: auto;
	border-collapse: separate;
	border-spacing: 0;
}

.modern-compare-scroll .table th,
.modern-compare-scroll .table td {
	width: auto !important;
	max-width: none;
}

.modern-compare-table .table thead th {
	background: #eff4ff;
	border-bottom: 1px solid #dbe4f0;
	vertical-align: top;
	padding-top: 12px;
	padding-bottom: 12px;
}

.modern-compare-intro {
	min-width: clamp(210px, 24vw, 270px);
	position: sticky;
	left: 0;
	z-index: 4;
	background: #eff4ff !important;
}

.modern-compare-plan-col {
	min-width: clamp(180px, 20vw, 230px);
}

.modern-compare-plan {
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid #d8e3f4;
	border-radius: 14px;
	padding: 14px 12px;
	text-align: center;
	box-shadow: 0 7px 16px rgba(15, 23, 42, 0.06);
	height: 100%;
}

.modern-compare-plan--popular {
	border-color: hsl(var(--base) / 0.55);
	box-shadow: 0 11px 25px hsl(var(--base) / 0.17);
}

.modern-compare-plan-title {
	color: #172844;
	font-size: 0.95rem;
	line-height: 1.25;
}

.modern-compare-plan-price {
	color: #0f1f3b;
	font-size: clamp(1.15rem, 1.2vw, 1.45rem);
}

.modern-compare-plan-cycle {
	color: #5d708f;
	font-size: 0.8rem;
}

.modern-compare-action {
	font-size: 0.78rem !important;
	padding: 6px 10px;
}

.modern-feature-label {
	color: #1a2b47;
	font-weight: 700;
	position: sticky;
	left: 0;
	z-index: 3;
	background: #ffffff;
	min-width: clamp(210px, 24vw, 270px);
}

.modern-feature-value {
	color: #263854;
	min-width: clamp(180px, 20vw, 230px);
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

.modern-compare-icon-yes {
	color: var(--modern-success);
}

.modern-feature-value .text-danger {
	color: #dc3545 !important;
}

.compare-table-section-row td {
	background: #f2f7ff !important;
	color: #21355a !important;
}

.modern-compare-table tbody tr:hover td {
	background: #fbfdff;
}

@media (max-width: 991px) {
	.modern-compare-plan {
		padding: 12px 10px;
	}

	.modern-feature-label,
	.modern-feature-value,
	.modern-compare-plan-col {
		min-width: 185px;
	}

	.modern-compare-intro {
		min-width: 210px;
	}
}

/* Affiliate page color fixes */
.affiliate-modern-page .text-muted,
.affiliate-modern-page p,
.affiliate-modern-page small {
	color: #4e607d !important;
}

.affiliate-modern-page .border.rounded,
.affiliate-modern-page .card,
.affiliate-modern-page .table-responsive {
	background: #fff;
	border-color: #dbe6f3 !important;
}

.affiliate-modern-page .card-header {
	background: #f4f8ff !important;
	color: #1a2c49 !important;
	border-bottom: 1px solid #d9e5f5 !important;
}

.affiliate-modern-page .table thead th {
	background: #ecf3ff !important;
	color: #1f3352 !important;
}

.affiliate-modern-page .table tbody td {
	color: #223650 !important;
}

.affiliate-modern-page pre.bg-dark {
	background: #101a2d !important;
	border: 1px solid #2a3b58;
	color: #e8f0ff !important;
}

/* Additional global table contrast safety */
.table.table--light.style--two thead th,
.table.table-bordered thead th {
	background: #ecf3ff !important;
	color: #1f3352 !important;
	border-color: #d9e5f5 !important;
}

.table.table--light.style--two tbody td,
.table.table-bordered tbody td {
	background: #fff !important;
	color: #223650 !important;
	border-color: #e7eef9 !important;
}

.table.table--light.style--two tbody tr:nth-child(even) td,
.table.table-bordered tbody tr:nth-child(even) td {
	background: #f9fbff !important;
}

/* Support and ticket redesign */
.support-modern-page .support-list-card,
.support-modern-page .support-create-card,
.support-modern-page .support-view-card,
.support-modern-page .support-thread-card {
	border-radius: 16px;
}

.support-modern-page .support-thread-message {
	border-radius: 12px;
	padding: 14px 10px !important;
}

.support-thread-message--user {
	background: #f7faff;
	border-color: #dbe6f6 !important;
}

.support-thread-message--staff {
	background: #fff7eb !important;
	border-color: #f2d9aa !important;
}

.support-modern-page .badge--dark {
	background: #334155;
	color: #fff;
}

.support-modern-page .badge--warning {
	background: #f59e0b;
	color: #fff;
}

.support-modern-page .badge--danger {
	background: #ef4444;
	color: #fff;
}

/* Utility fixes for contrast */
.text-muted,
.ticket-attachments-message,
.service-category small,
.service-category .small {
	color: #60718d !important;
}

.service-category .text--dark,
.section-full .text--dark {
	color: #16243f !important;
}

.bg--dark,
.bg-dark-two,
.header,
.modern-footer,
.modern-client-header {
	color: #f3f8ff;
}

.bg--dark a,
.bg-dark-two a,
.header a,
.modern-footer a,
.modern-client-header a {
	color: inherit;
}

.bg--dark .text--base,
.bg-dark-two .text--base {
	color: #c8d9ff !important;
}

/* Increase dropdown and submenu width on smaller screens */
@media (max-width: 1199px) {
	.modern-dropdown-menu {
		min-width: 280px;
	}
	.modern-client-header .menu .sub-menu {
		min-width: 280px;
	}
}

@media (max-width: 767px) {
	.modern-dropdown-menu {
		min-width: 320px;
	}
	.modern-client-header .menu .sub-menu {
		min-width: 320px;
	}
}

