﻿/*
Theme Name: GBSOFT
Version: 2.0
*/

/* Design tokens */
:root {
	/* Colors — light */
	--bg: #f5f7fb;
	--surface: #ffffff;
	--surface-2: #f0f2f7;
	--text: #1f2937;
	--text-soft: #6b7280;
	--border: #e5e7eb;
	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--accent-soft: #dbeafe;
	--success: #059669;
	--success-soft: #f0fdf4;
	--success-hover: #047857;
	--danger: #dc2626;
	--danger-soft: #fef2f2;
	--danger-hover: #b91c1c;
	--warning: #d97706;
	--warning-soft: #fffbeb;
	--warning-hover: #b45309;

	/* Text on semantic colors */
	--on-accent: #fff;
	--on-success: #fff;
	--on-danger: #fff;
	--on-warning: #111827;

	/* Button tokens (neutral dark role) */
	--btn-dark-text: #fff;
	--btn-dark-color: #343a40;
	--btn-dark-hover-text: #fff;
	--btn-dark-hover-bg: #23272b;

	/* Typography */
	--font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Border radius */
	--radius: 14px;
	--radius-sm: 10px;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

	/* Transition */
	--transition: 0.2s ease;

	/* Layout */
	--sidebar-w: 280px;
	--gap: 15px;
	--content-gap: 40px;

	/* Account shell */
	--account-header-height: 48px;
	--account-sidebar-width: 280px;
	--account-sidebar-offset: 280px;
	--account-z-header: 30;
	--account-z-sidebar: 20;
	--account-z-overlay: 15;
	--account-bg-main: #343a40;
	--account-bg-surface: #3f4750;
	--account-border-soft: #dde9f830;
	--account-focus-ring: var(--accent);
}

/*  Dark tokens */
[data-theme="dark"] {
	--bg: #0f172a;
	--surface: #1e293b;
	--surface-2: #273549;
	--text: #f1f5f9;
	--text-soft: #94a3b8;
	--border: #334155;
	--accent: #3b82f6;
	--accent-hover: #2563eb;
	--accent-soft: #1e3a5f;
	--success: #22c55e;
	--success-soft: rgba(34, 197, 94, 0.1);
	--success-hover: #16a34a;
	--danger: #ef4444;
	--danger-soft: rgba(239, 68, 68, 0.1);
	--danger-hover: #dc2626;
	--warning: #f59e0b;
	--warning-soft: rgba(245, 158, 11, 0.1);
	--warning-hover: #d97706;
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);

	/* Text on semantic colors */
	--on-accent: #fff;
	--on-success: #052e16;
	--on-danger: #fff;
	--on-warning: #111827;

	/* Button tokens (neutral dark role) */
	--btn-dark-text: #f8fafc;
	--btn-dark-color: #334155;
	--btn-dark-hover-text: #f8fafc;
	--btn-dark-hover-bg: #1e293b;
}

/* Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

ul[class],
ol[class] {
	padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}

/* Base */

html,
body {
	background: var(--bg);
	color: var(--text);
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 400;
	font-size: 16px;
	overflow-x: hidden;
	line-height: 1.3;
	letter-spacing: 0.1px;
}

body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

ul[class],
ol[class] {
	list-style: none;
}

a:not([class]) {
	text-decoration-skip-ink: auto;
}

img {
	max-width: 100%;
	display: block;
}

article>*+* {
	margin-top: 0;
}

input,
button,
textarea,
select {
	font: inherit;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

a {
	transition: 0.5s;
	text-decoration: none;
	color: #117db3;
}

a:hover,
a:active,
a:focus,
a:visited {
	text-decoration: none;
	color: #117db3;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

/* Scrollbar */

::-webkit-scrollbar,
div::-webkit-scrollbar {
	width: 3px;
	background: var(--surface-2);
}

::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-thumb {
	width: 3px;
	background: var(--border);
}

/* Typography */

strong {
	font-weight: 600;
}

.bold {
	font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 12px 0 12px;
	font-family: Open Sans;
	font-weight: 600;
	width: 100%;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 22px;
}

h4 {
	font-size: 19px;
}

p {
	margin: 12px 0;
}

.container {
	max-width: 1240px;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.row {
	width: 100%;
	display: block;
}

.btn,
a.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	color: #212529;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: transparent;
	border: 1px solid transparent;
	padding: 12px 18px;
	width: auto;
	height: 48px;
	font-size: 15px;
	line-height: 1;
	border-radius: 10px;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	white-space: nowrap;
}

.btn.inline-block,
a.btn.inline-block {
	display: inline-block;
	height: auto;
}

.block-submit-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.w100,
.btn.w100 {
	width: 100%;
}

.w50,
.btn.w50 {
	width: calc(50% - 11px);
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

/* Buttons */

.btn-info,
a.btn-info,
.btn-primary,
a.btn-primary {
	color: var(--on-accent, #fff);
	background-color: var(--accent);
	border-color: var(--accent);
	font-weight: 500;
}

.btn-info:hover,
a.btn-info:hover,
.btn-primary:hover,
a.btn-primary:hover {
	color: var(--on-accent, #fff);
	background-color: var(--accent-hover);
	border-color: var(--accent-hover);
}

.btn-outline-info,
a.btn-outline-info,
.btn-outline-primary,
a.btn-outline-primary {
	color: var(--accent);
	background-color: transparent;
	background-image: none;
	border-color: var(--accent);
}

.btn-outline-info:hover,
a.btn-outline-info:hover,
.btn-outline-primary:hover,
a.btn-outline-primary:hover {
	color: var(--on-accent, #fff);
	background-color: var(--accent);
	background-image: none;
	border-color: var(--accent);
}

.btn-danger,
a.btn-danger {
	color: var(--on-danger, #fff);
	background-color: var(--danger);
	border-color: var(--danger);
}

.btn-danger:hover,
a.btn-danger:hover {
	color: var(--on-danger, #fff);
	background-color: var(--danger-hover);
	border-color: var(--danger-hover);
}

.btn-outline-danger,
a.btn-outline-danger {
	color: var(--danger);
	background-color: transparent;
	background-image: none;
	border-color: var(--danger);
}

.btn-outline-danger:hover,
a.btn-outline-danger:hover {
	color: var(--on-danger, #fff);
	background-color: var(--danger);
	background-image: none;
	border-color: var(--danger);
}

.btn-warning,
a.btn-warning {
	color: var(--on-warning, #111827);
	background-color: var(--warning);
	border-color: var(--warning);
}

.btn-warning:hover,
a.btn-warning:hover {
	color: var(--on-warning, #111827);
	background-color: var(--warning-hover);
	border-color: var(--warning-hover);
}

.btn-outline-warning,
a.btn-outline-warning {
	color: var(--warning);
	background-color: transparent;
	background-image: none;
	border-color: var(--warning);
}

.btn-outline-warning:hover,
a.btn-outline-warning:hover {
	color: var(--on-warning, #111827);
	background-color: var(--warning);
	background-image: none;
	border-color: var(--warning);
}

.btn-success,
a.btn-success {
	color: var(--on-success, #fff);
	background-color: var(--success);
	border-color: var(--success);
}

.btn-success:hover,
a.btn-success:hover {
	color: var(--on-success, #fff);
	background-color: var(--success-hover);
	border-color: var(--success-hover);
}

.btn-outline-success,
a.btn-outline-success {
	color: var(--success);
	background-color: transparent;
	background-image: none;
	border-color: var(--success);
}

.btn-outline-success:hover,
a.btn-outline-success:hover {
	color: var(--on-success, #fff);
	background-color: var(--success);
	background-image: none;
	border-color: var(--success);
}

.btn-dark,
a.btn-dark {
	color: var(--btn-dark-text, #fff);
	background-color: var(--btn-dark-color, #343a40);
}

.btn-dark:hover,
a.btn-dark:hover {
	color: var(--btn-dark-hover-text, #fff);
	background-color: var(--btn-dark-hover-bg, #23272b);
}

.btn-outline-dark,
a.btn-outline-dark {
	color: var(--btn-dark-hover-bg, #23272b);
	background-color: transparent;
	background-image: none;
	border-color: var(--btn-dark-hover-bg, #23272b);
}

.btn-outline-dark:hover,
a.btn-outline-dark:hover {
	color: var(--btn-dark-hover-text, #fff);
	background-color: var(--btn-dark-hover-bg, #23272b);
	background-image: none;
	border-color: var(--btn-dark-hover-bg, #23272b);
}

/* Alerts */

.alert {
	position: relative;
	margin: 15px 0;
	border: none !important;
	border-left: 4px solid transparent;
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 14px;
}

.alert-success {
	background-color: var(--success-soft);
	border-left-color: var(--success);
	color: var(--success);
}

.alert-danger {
	background-color: var(--danger-soft);
	border-left-color: var(--danger);
	color: var(--danger);
}

.alert-warning {
	background-color: var(--warning-soft);
	border-left-color: var(--warning);
	color: var(--warning);
}

.alert-primary {
	background-color: var(--accent-soft);
	border-left-color: var(--accent);
	color: var(--accent);
}

.alert-info {
	background-color: var(--accent-soft);
	border-left-color: var(--accent);
	color: var(--accent);
}

.form-status .alert {
	text-align: center;
}

input,
button,
textarea,
select {
	padding: 12px 15px;
	border-radius: 10px;
	border: 1px solid var(--accent-soft);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
	width: 100%;
	height: 48px;
	outline: none;
}

input:focus-visible,
button:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: none;
}

.one-input input:disabled {
	background: #343a4010;
}

.parent-form {
	width: 100%;
}

.form-heading {
	font-weight: 500;
	font-size: 28px;
	margin: 0 0 7px;
}

.form-mini-heading {
	font-weight: 400;
	font-size: 18px;
	margin: 0 0 15px;
}

.h-one-input {
	font-size: 17px;
	font-weight: 600;
	margin: 12px 0 0;
	padding-left: 63px;
}

.one-input,
.block-submit-btn {
	margin: 9px 0;
	width: 100%;
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.one-input input {
	width: calc(100% - 48px);
	margin-left: 48px;
	border-radius: 0 10px 10px 0;
	border-left: none;
}

.one-input select {
	width: calc(100% - 48px);
	margin-left: 48px;
	border-radius: 0 10px 10px 0;
	padding: 12px 12px;
}

.one-input span.select2.select2-container {
	width: calc(100% - 48px) !important;
	margin-left: 48px;
	border-radius: 0 10px 10px 0;
	height: 48px;
	border: 1px solid var(--accent-soft);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
}

.one-input span.select2.select2-container .selection,
.select2-container .select2-selection--single {
	width: 100% !important;
	height: 46px !important;
	display: flex !important;
	align-items: center !important;
	border-radius: 0 10px 10px 0 !important;
	border: none !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 15px !important;
	padding-right: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 11px !important;
}

.description-input {
	font-size: 14px;
	margin: 0 0 5px;
}



.image-form-bonus {
	width: 100%;
	margin: 7px 0 0 63px;
	position: relative;
}

.delete-btn {
	position: absolute;
	top: 7px;
	right: 7px;
	background: #dc3545;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 0 10px -2px rgba(255, 255, 255, .075);
}

.image-form-bonus img {
	border-radius: 10px;
	height: 105px;
}

.one-input textarea {
	width: calc(100% - 48px);
	margin-left: 48px;
	border-radius: 0 10px 10px 0;
	border-left: none;
	height: 160px;
}

.icon-input {
	background: var(--accent-soft);
	width: 48px;
	height: 48px;
	border-radius: 10px 0 0 10px;
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--accent-soft);
	border-right: none;
}

.eye-pass {
	background: var(--accent-soft);
	width: 48px;
	height: 48px;
	border-radius: 0 10px 10px 0;
	position: absolute;
	left: calc(100% - 48px);
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9;
}

.eye-pass i:nth-child(2),
.eye-pass.active i:nth-child(1) {
	display: none;
}

.eye-pass.active i:nth-child(2) {
	display: flex;
}

.block-form-btn {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 25px 0 0;
}

.one-input .btn,
.one-input a.btn {
	margin-left: 10px;
}

.form-status {
	width: 100%;
}



.header {
	padding: 10px 0;
	border-bottom: 1px solid #e1e1e150;
}

.header .container {
	justify-content: space-between;
}

.logo {
	width: 240px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.logo img {
	height: 60px;
}



.topmenu {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.topmenu a {
	color: #2c3e50;
	font-size: 17px;
	font-weight: 400;
	display: inline-block;
	margin: 0 10px;
}



.header-btn {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.header-btn a.btn {
	margin-left: 15px;
}

.header-btn a.btn i {
	display: none;
}

.close-menu {
	display: none;
}



.content {
	min-height: 100vh;
}

#background {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}

/*  Auth page  */

.auth-page {
	background: linear-gradient(160deg, #f2fbff 0%, #f7fcff 50%, #fdffff 100%) !important;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-page .form {
	width: 100%;
}

.auth-page .btn-header-lang {
	width: 54px;
	padding: 0;
	margin: 0 0 3px;
}

.auth-page .btn-header-lang select {
	padding: 4px 5px;
	color: #94A3B8 !important;
}

.auth-page .container {
	position: relative;
	z-index: 3;
	justify-content: center;
}

.auth-page .logo-parent-form {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 30px;
}

.auth-page .logo-parent-form img {
	width: 100%;
	max-width: 320px;
}

.auth-page .parent-form {
	max-width: 480px;
	padding: 60px 50px 70px;
	/* background: linear-gradient(165deg, #fcfeff 0%, #f7fcff 55%, #f1f9ff 100%); */
	opacity: 1;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 30px rgba(56, 189, 248, 0.12), 0 2px 8px rgba(15, 23, 42, 0.05);
	border-radius: 10px;
	z-index: 5;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
}

.auth-page .form-heading,
.auth-page .form-mini-heading {
	text-align: center;
	width: 100%;
}

.top-heading {
	max-width: 1200px;
	padding: 0;
}

.top-heading h1 {
	padding: 0;
}

.top-heading .h-mini-heading {
	padding: 0;
	margin: 0;
}

.breadcrumbs {
	width: 100%;
	margin: 7px 0 0;
	color: #ccc;
	font-size: 13px;
	display: none;
}

.breadcrumbs a {
	color: #ccc;
}

.content-page-text {
	max-width: 1200px;
	margin: 30px 0 0;
	font-size: 15px;
	line-height: 1.4;
}

.content-page-text p {
	margin: 0 0 18px;
}

.ql-editor em,
.content-page-text em {
	font-style: italic;
}

.content-page-text h1,
.content-page-text h2,
.content-page-text h3,
.content-page-text h4,
.content-page-text h5,
.content-page-text h6 {
	padding: 0;
	margin: 0 0 15px;
}

blockquote {
	border-left: 5px solid var(--accent);
	padding: 10px 0 10px 15px;
	margin: 18px 0;
	display: block;
}

.ql-snow .ql-tooltip {
	z-index: 999;
}

/* Layout */

.account-container {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

/* Header */

.header-account {
	position: sticky;
	display: flex;
	align-items: center;
	justify-content: space-between;
	top: var(--gap);
	z-index: 30;
	height: var(--account-header-height);
	margin-top: var(--gap);
	margin-right: var(--gap);
	margin-bottom: 0;
	margin-left: calc(var(--sidebar-w) + var(--content-gap));
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 2px);
	background: var(--surface);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow-sm);
	width: calc(100% - var(--sidebar-w) - var(--gap) * 2);
}

.header-account a {
	color: #dde9f8;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-right: 15px;
}

.close-account-menu,
.overlay-account-menu {
	display: none;
}

.btn-header-account {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.btn-header-lang {
	padding: 5px;
}

.btn-header-lang select {
	padding: 1px 2px;
	height: auto;
}

.header-account .btn-header-account:nth-child(2) a {
	margin-left: 15px;
}

.header-account a .icon-menu {
	width: 20px;
	text-align: center;
	margin-right: 7px;
	font-size: 17px;
	border-radius: 4px;
}

.header-account a.support-top-link.active .icon-menu {
	background-color: #F85C4D;
}

.header-account a .text-menu {
	font-size: 15px;
	white-space: nowrap;
}

.header-account .btn-header-account {
	gap: 8px;
}

.header-account .btn-header-account>a,
.header-account .close-account-menu,
.header-account .btn-header-lang {
	border-radius: var(--radius-sm);
	transition: background var(--transition), color var(--transition), transform var(--transition);
}

.header-account .btn-header-account>a:hover,
.header-account .close-account-menu:hover {
	background: var(--surface-2);
}

.header-account .icon-menu i {
	color: var(--text-soft);
}

.header-account .text-menu {
	color: var(--text);
	font-weight: 500;
	letter-spacing: 0;
}

.header-account .text-menu strong {
	font-weight: 600;
}

.header-account select[name="code_lang"] {
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	color: var(--text);
	padding: 6px 6px 6px 10px;
	outline: none;
}

.header-account a[href*="logout"] .text-menu {
	color: var(--danger);
}

/* Sidebar menu */

.account-menu-container {
	width: 100%;
}

.account-menu .account-menu-container {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 2px);
	box-shadow: var(--shadow-sm);
	padding: 14px;
	margin: var(--gap);
}

.account-menu {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: var(--account-sidebar-width);
	height: calc(100vh - var(--account-header-height));
	position: fixed;
	overflow-y: auto;
	z-index: var(--account-z-sidebar);
	background: var(--bg);
}

/* Sidebar logo */

.account-logo {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	padding: 8px 6px 14px;
}

.account-logo a,
.account-logo .account-logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 78px;
}

.account-logo a:focus-visible,
.account-logo .account-logo-link:focus-visible {
	outline: 2px solid var(--account-focus-ring);
	outline-offset: 2px;
}

.account-logo img,
.account-logo .account-logo-image {
	display: block;
	max-width: 100%;
	max-height: 50px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Sidebar menu */

.account-menu-list {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	border-top: 1px solid var(--border);
	padding-bottom: 30px;
}

.account-menu-list ul,
.account-menu-list ul li {
	width: 100%;
}

.account-menu-list ul,
.account-menu-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.account-menu-list ul li a {
	position: relative;
	width: 100%;
	color: #dde9f8;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	padding: 15px 22px;
}

.account-menu-list ul .menu-item-has-children>a:first-child:after {
	display: block;
	width: 15px;
	/* height: 15px; */
	position: absolute;
	top: 50%;
	right: 22px;
	transform: translateY(-50%);
	font-family: "Font Awesome 5 Free";
	font-weight: 700;
}

.account-menu-list ul .menu-item-has-children>.closed:after {
	content: "\f107"
}

.account-menu-list ul .menu-item-has-children>.opened:after {
	content: "\f105"
}

.account-menu-list ul li a:hover,
.account-menu-list ul li.current-menu-item a,
.account-menu-list ul li.current_page_item a,
.account-menu-list .sub-menu li a:hover {
	background: var(--surface-2);
	color: var(--text);
}

.one-account-menu-list {
	width: 100%;
	border-bottom: 1px solid #dde9f830;
}

.one-account-menu-list a {
	color: #dde9f8;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	width: 100%;
	padding: 15px 22px;
}

.one-account-menu-list a.active,
.one-account-menu-list a:hover {
	background: var(--accent);
	color: #fff;
}

.one-account-menu-list a .icon-menu {
	width: 20px;
	text-align: center;
	margin-right: 12px;
	font-size: 17px;
}

.one-account-menu-list a .text-menu {
	font-size: 16px;
}


.account-menu-list>ul>li>a {
	display: block;
	padding: 11px 12px;
	border-radius: 10px;
	color: var(--text);
	font-weight: 500;
	transition: background var(--transition), color var(--transition);
}

.account-menu-list li.menu-item-has-children>a.opened {
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 500;
}

.account-menu-list .sub-menu {
	margin-top: 6px;
	margin-bottom: 10px;
	padding-left: 6px;
	border-left: 1px dashed var(--border);
}

.account-menu-list .sub-menu li a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--text-soft);
	font-weight: 400;
	background: transparent;
}

/* Content */

.account-content {
	width: calc(100% - var(--account-sidebar-width) - var(--content-gap));
	min-height: calc(100vh - 61px);
	position: relative;
	top: 0;
	left: calc(var(--account-sidebar-width) + var(--content-gap));
	padding: 30px 22px 30px 0;
}

.content-container-content {
	width: 100%;
}

.h-mini-heading {
	font-size: 26px;
	text-align: left;
	width: 100%;
	font-weight: 500;
	margin: 0 0 15px;
}

.h-micro-heading {
	font-size: 18px;
	text-align: left;
	width: 100%;
	font-weight: 400;
	margin: 0 0 15px;
}

.h3-heading {
	font-size: 21px;
	text-align: left;
	width: 100%;
	font-weight: 500;
	margin: 0 0 10px;
}

.mini-heading {
	font-size: 26px;
	text-align: left;
	width: 100%;
	font-weight: 500;
	margin: 0 0 10px;
}

.full-width {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	gap: 22px;
	margin-bottom: 22px;
}

.one-container-content {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	border-radius: 10px;
	/* overflow-x: hidden; */
}

.one-container1-content {
	flex-basis: 100%;
}

.one-container2-content {
	flex-basis: calc(50% - 11px);
}

.one-container3-content {
	flex-basis: calc(33.33% - 15px);
}

.one-container4-content {
	flex-basis: calc(25% - 17px);
}

.one-container5-content {
	flex-basis: calc(20% - 18px);
}



.form-account {
	width: 100%;
}

.form-account .form {
	width: 100%;
	max-width: 400px;
}

.form_change_pass {
	margin-top: 45px;
}

.account-btns {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 15px;
}

.account-btns .btn,
.account-btns a.btn {
	display: inline-flex;
}


/* Table */

table.with-table {
	width: 100%;
	margin: 0 0 20px;
	font-size: 15px;
}

table.with-table tr td {
	padding: 9px 8px;
	border-bottom: 1px solid #33435420;
}

table.with-table tr td:nth-child(1) {
	font-weight: 600;
}



.link-profile {
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 22px;
}

a.one-link-profile {
	flex-basis: calc(50% - 11px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #2c3e50;
	border: 1px solid #242e4230;
	border-radius: 10px;
	padding: 22px;
}

.icon-one-link-profile {
	width: 56px;
	font-size: 44px;
	line-height: 1;
	text-align: center;
	color: var(--accent);
}

.icon-one-link-profile i {
	color: var(--accent);
}

.content-one-link-profile {
	width: calc(100% - 71px);
}

.h-one-link-profile {
	font-weight: 600;
	font-size: 20px;
	line-height: 1.1;
	color: var(--accent);
}

.text-link-profile {
	margin: 5px 0 0;
	font-size: 15px;
}

a.one-link-profile:hover {
	background: var(--accent);
	color: #fff;
}

a.one-link-profile:hover .icon-one-link-profile,
a.one-link-profile:hover .icon-one-link-profile i,
a.one-link-profile:hover .h-one-link-profile,
a.one-link-profile:hover .text-link-profile {
	color: #fff;
}



#notifycation-tooltip {
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	width: max-content;
	max-width: min(340px, calc(100vw - 24px));
	padding: 10px 12px;
	background: linear-gradient(145deg, rgba(9, 15, 26, 0.97), rgba(23, 38, 61, 0.97));
	border: 1px solid rgba(23, 162, 184, 0.45);
	border-radius: 12px;
	box-shadow: 0 16px 42px rgba(3, 8, 18, 0.45), 0 4px 16px rgba(23, 162, 184, 0.16);
	backdrop-filter: blur(3px);
	color: #e9f8fc;
	font-size: 13px;
	line-height: 1.45;
	letter-spacing: 0.01em;
	word-break: break-word;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 8px, 0) scale(0.98);
	transform-origin: top left;
	z-index: 9999;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#notifycation-tooltip.active {
	opacity: 1;
	visibility: visible;
	transform: translate3d(0, 0, 0) scale(1);
}

#notifycation-tooltip::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	background: #121f33;
	border-left: 1px solid rgba(23, 162, 184, 0.45);
	border-top: 1px solid rgba(23, 162, 184, 0.45);
	transform: rotate(45deg);
	top: -6px;
	left: 16px;
}

#notifycation-tooltip[data-placement="top"] {
	transform-origin: bottom left;
}

#notifycation-tooltip[data-placement="top"]::after {
	top: auto;
	bottom: -6px;
	border-left: 0;
	border-top: 0;
	border-right: 1px solid rgba(23, 162, 184, 0.45);
	border-bottom: 1px solid rgba(23, 162, 184, 0.45);
}

@media (max-width: 767px) {
	#notifycation-tooltip {
		font-size: 12px;
		padding: 9px 10px;
		max-width: calc(100vw - 16px);
	}
}

.container-table {
	overflow-x: auto;
	width: 100%;
	max-width: 100%;
}

.container-table table {
	width: 100%;
}

.container-table table tr th,
.container-table table tr td {
	padding: 12px 12px;
	font-size: 15px;
	vertical-align: middle;
}

.container-table table tr th {
	font-weight: 600;
	background: var(--accent);
	padding: 14px 12px;
	color: #fff;
}

.container-table table tr th a {
	color: #fff;
	white-space: nowrap;
}

.container-table table tr th a i {
	margin-left: 6px;
}

.container-table table tr th:first-child {
	border-radius: 10px 0 0 10px;
}

.container-table table tr th:last-child {
	border-radius: 0 10px 10px 0;
}

.container-table table thead tr {
	border-bottom: none;
}

.container-table table tbody tr:nth-child(even) {
	background: rgba(0, 0, 0, .075);
}

.container-table table tbody tr:last-child {
	border-bottom: none;
}

.container-table.container-table-users-admin table tbody tr {
	background: #fff;
	border-bottom: 1px solid var(--accent-soft);
}

.container-table.container-table-users-admin table tbody tr:nth-child(even).child-user-super {
	background: rgba(0, 0, 0, .075);
}

.container-table table tr td.date-td {
	width: 100px;
	font-size: 13px;
	font-weight: 400;
	color: #a8aab1;
	text-align: center;
}

.container-table.fs14 table tr th,
.container-table.fs14 table tr td {
	font-size: 14px;
}

.container-table input[type=checkbox] {
	width: 24px;
	height: 24px;
	box-shadow: none;
	position: relative;
}

.container-table input[type=checkbox]:disabled:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 4;
	background: #888;
	border-radius: 4px;
}

.one-container-table-btn {
	/* margin: 22px 0 0; */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.all-check-array {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 8px;
}

.all-check-array span {
	white-space: nowrap;
}

.all-check-array label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}



.td-select-table {
	width: 150px;
}

input.table-input-text {
	width: 74px;
	height: auto;
	padding: 7px 5px;
	font-weight: 600;
}

.container-table table tr td.td-select-table {
	vertical-align: top;
}


/* ==========================================================================
   STATUS BADGES
   ========================================================================== */

.status-block {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px !important;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	border: 1px solid transparent;
}

.status-success {
	background-color: var(--success-soft) !important;
	color: var(--success) !important;
	border-color: #c3e6cb !important;
}

.status-error {
	background-color: var(--danger-soft) !important;
	color: var(--danger) !important;
}

.status-pending {
	background-color: var(--warning-soft) !important;
	color: var(--warning) !important;
	border-color: #ffeeba !important;
}

.status-processed {
	background-color: var(--accent-soft) !important;
	color: var(--accent) !important;
	border-color: #bee5eb !important;
}

.status-warning {
	background-color: var(--warning-soft) !important;
	color: var(--warning) !important;
	border-color: #ffeeba;
}

.status-primary {
	background-color: var(--accent-soft) !important;
	color: var(--accent) !important;
	border-color: #b8daff;
}

.status-secondary {
	background-color: var(--bg) !important;
	color: var(--text-soft) !important;
	border: 1px solid var(--border);
}

.status-dark {
	background-color: var(--text) !important;
	color: var(--bg) !important;
	border-color: #343a40;
}



.container-table table.transfers-table tr th {
	padding: 9px 7px;
	font-size: 13px;
	line-height: 1.15;
	white-space: nowrap;
}

.container-table table.transfers-table tr td {
	padding: 9px 7px;
	font-size: 14px;
}

.container-table table.transfers-table .btn,
.container-table table.transfers-table a.btn {
	margin: 3px 0;
	padding: 3px 5px;
	height: 26px;
	font-size: 13px;
}

.container-table table.stat-table tr th,
.container-table table.stat-table tr td {
	font-size: 14px;
}


/* Pagination */

.pagination,
.wp-pagenavi {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin: 20px 0 0;
}

.pagination a,
.wp-pagenavi a,
.wp-pagenavi span {
	background: var(--accent);
	color: #fff;
	padding: 10px 15px;
	margin: 0 1px;
	border-radius: 5px;
}

.pagination a.active,
.pagination a:hover,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	background: #333e48;
	color: #fff;
}

.wp-pagenavi span.pages,
.wp-pagenavi span.extend,
.wp-pagenavi a.first,
.wp-pagenavi a.last,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink,
.wp-pagenavi span.pages {
	display: none;
}



.search-admin {
	width: 100%;
}

form.form-list {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
}

.count-block {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin: 0;
}

.count-text {
	width: 100%;
	font-weight: 700;
}

.select-count {
	margin-left: 15px;
}

.count-block span.select2.select2-container {
	border-radius: 10px;
	height: 48px;
	border: 1px solid var(--accent-soft);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
}

.count-block span.select2.select2-container .selection,
.count-block .select2-container .select2-selection--single {
	width: 100% !important;
	height: 46px !important;
	display: flex !important;
	align-items: center !important;
	border-radius: 10px !important;
	border: none !important;
}



.table-total-line,
table tbody tr:last-child.table-total-line {
	background: var(--accent) !important;
	color: #fff;
}



.list-post {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 22px;
}

.one-post {
	width: calc(50% - 11px);
	border: 1px solid var(--accent-soft);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
	padding: 22px;
	border-radius: 10px;
}

.h-one-post {
	font-size: 20px;
	margin: 0 0 6px;
	font-weight: 600;
}

.h-one-post a {
	color: var(--accent);
}

.h-one-post a:hover {
	color: var(--accent);
}

.date-one-post {
	font-size: 13px;
	margin: 0 0 4px;
}

.text-one-post p {
	margin: 0;
}



#chat-main-block {
	max-width: 500px;
	max-width: 100%;
	width: 100%;
	box-shadow: 0px 2px 6px 0px #969AB6;
	background: #fff;
	border-radius: 13px;
}

.close-sidebar {
	display: none;
	align-items: center;
	color: #B2BFE2;
	cursor: pointer;
	font-weight: 400;
}

.close-sidebar svg {
	fill: #969AB6;
	width: 16px;
	margin-left: 8px;
}

.close-sidebar:hover {
	color: #969AB6;
}

.close-sidebar:hover svg {
	fill: #888CA7;
}


form#post-form .one-input {
	margin-bottom: 30px;
}

form#post-form .one-input input,
form#post-form .one-input textarea,
form#post-form .one-input select {
	margin-left: 0;
	width: 100%;
	border-radius: 10px;
	border: 1px solid var(--accent-soft);
}

.acf-fields.acf-form-fields .acf-label {
	width: 100%;
	font-size: 17px;
	font-weight: 600;
	margin: 12px 0 10px;
}

ul.checkbox-list {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

ul.checkbox-list li {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 6px 0;
}

ul.checkbox-list li label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font-size: 15px;
	cursor: pointer;
}

form#post-form .one-input.one-input-checkbox ul.checkbox-list input[type=checkbox],
.one-input.one-input-checkbox ul.checkbox-list input[type=checkbox],
form#post-form .one-input.one-input-checkbox ul.checkbox-list input[type=radio],
.one-input.one-input-checkbox ul.checkbox-list input[type=radio] {
	width: 22px;
	height: 22px;
	margin: 0 8px 0 0;
	border-radius: 10px;
}

form#post-form .h-one-input {
	padding-left: 15px;
}

form#post-form #message.updated {
	display: none;
}

.td-balance-gamer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-size: 17px;
	line-height: 1;
}

.plus-balance,
.minus-balance {
	font-size: 22px;
	cursor: pointer;
}

.ql-toolbar.ql-snow {
	border-radius: 10px 10px 0 0;
	border: 1px solid var(--accent-soft);
	box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.075);
}

.ql-container.ql-snow {
	border: 1px solid var(--accent-soft);
}

.ql-editor {
	font-size: 16px;
	padding: 14px 22px;
	min-height: 200px;
}

.ql-editor p {
	margin: 8px 0;
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4,
.ql-editor h5,
.ql-editor h6 {
	margin: 15px 0;
}

.ql-toolbar.ql-snow .ql-formats {
	margin-right: 5px;
}

.ql-snow.ql-toolbar button,
.ql-snow .ql-toolbar button {
	box-shadow: none;
	height: 28px;
	width: 28px;
}



.form-two-colunms {
	width: 100%;
	gap: 22px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.form-w100 {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.form-w50 {
	width: calc(50% - 11px);
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.form-w33 {
	width: calc(33.33% - 15px);
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.form-w25 {
	width: calc(25% - 17px);
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.input-no-icon .one-input .icon-input {
	display: none;
}

.input-no-icon .one-input input,
.input-no-icon .one-input select,
.input-no-icon .one-input textarea {
	border: 1px solid var(--accent-soft);
	border-radius: 10px;
	width: 100%;
	margin-left: 0;
}

.input-no-icon .h-one-input {
	padding-left: 15px;
}

.form-two-colunms .h-one-input {
	margin: 7px 0 0;
}

.form-two-colunms .one-input {
	margin: 9px 0 0;
}

.block-balance {
	width: 100%;
}

.h-block-balance {
	width: 100%;
}

.number-block-balance {
	width: 100%;
	margin: 5px 0 0;
}

.number-block-balance strong {
	padding-right: 5px;
	font-size: 24px;
}



.modal-win#balance,
.modal-win#balance-users {
	max-width: 480px;
}

.span-balance {
	white-space: nowrap;
}

.nowrap {
	white-space: nowrap;
}

.radio-input {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.one-radio-input {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0 0 10px;
}

.one-radio-input label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.one-radio-input input {
	width: 24px;
	height: 24px;
	margin: 0 7px 0 0;
	border-radius: 50%;
}

.text-one-radio-input {
	width: calc(100% - 31px);
}

.statistics-table table {
	font-size: 14px;
}

.statistics-table th {
	white-space: nowrap;
}

.container-table.statistics-table table tr th,
.container-table.statistics-table table tr td {
	font-size: 14px;
}

.container-table.statistics-table table tr td {
	padding: 7px 12px;
}

.container-table.statistics-table table tbody tr th {
	width: 200px;
	border-radius: 0;
	border-bottom: 1px solid var(--accent-soft);
	text-align: left;
	white-space: nowrap;
}

.container-table.statistics-table table tbody tr:first-child th {
	border-radius: 10px 0 0 0;
}

.container-table.statistics-table table tbody tr:last-child th {
	border-radius: 0 0 0 10px;
}

.btn-statistics-gamers {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0;
	gap: 15px;
}

.btn-statistics-gamers .btn {
	width: 100%;
}

hr {
	border-color: #dde9f830;
	margin: 35px 0;
	width: 100%;
}

.video-dashboard {
	margin-top: 75px;
}

.video-dashboard iframe {
	width: 100%;
	height: 600px;
	margin: 10px 0 0;
	border-radius: 10px;
}



.block-copy-link {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 5px 0 0;
	gap: 15px;
}



.open-child-user-td {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 3px 10px 3px 8px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 20px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-soft);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	user-select: none;
	margin: 0 auto;
	line-height: 1;
	white-space: nowrap;
}

.open-child-user-td:hover {
	background: var(--border);
	border-color: var(--text-soft);
	color: var(--text);
}

.open-child-user-td .child-count {
	font-weight: 600;
	font-size: 13px;
}

.open-child-user-td i.fa-chevron-down {
	font-size: 9px;
	transition: transform 0.25s ease;
}

.open-child-user-td.active {
	background: var(--accent-soft);
	border-color: var(--accent);
	color: var(--accent);
}

.open-child-user-td.active:hover {
	background: var(--accent-soft);
	border-color: var(--accent-hover);
	color: var(--accent-hover);
}

.open-child-user-td.active i.fa-chevron-down {
	transform: rotate(180deg);
}

/* Table link components */
a.table-id-badge {
	display: inline-flex;
	align-items: center;
	font-family: ui-monospace, 'SF Mono', 'Fira Code', monospace;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-soft);
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 2px 7px;
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.table-id-badge:hover {
	background: var(--accent-soft);
	border-color: var(--accent);
	color: var(--accent);
	text-decoration: none;
}

a.table-name-link {
	color: var(--accent);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

a.table-name-link:hover {
	color: var(--accent-hover);
	text-decoration: underline;
}

a.table-name-link strong {
	font-weight: 600;
}

.circle-icon-td {
	font-size: 5px;
}

.flex {
	display: flex;
}

form.form-date-stat {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	font-weight: 400;
}

form.form-range-statistic {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	gap: 15px;
	font-weight: 400;
	margin-right: 15px;
}

.page-template-page-spins-statistics form.form-date-stat input[name=date_start],
.page-template-page-spins-statistics form.form-date-stat input[name=date_end] {
	max-width: 25%;
}

.text-mark-form {
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 48px
}

.checkbox-list-valutes {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px;
}

.one-checkbox-list-valutes {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}

.one-checkbox-list-valutes input {
	width: 20px !important;
	height: 20px;
}

.footer {
	background: rgba(0, 0, 0, .075);
	padding: 22px 0 22px var(--account-sidebar-offset);
	font-size: 13px;
	font-weight: 500;
}

.footer .container {
	margin: 0;
}

.modal-overflow {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 16px;
	background-color: rgba(3, 11, 21, .45);
	opacity: 0;
	z-index: -1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
}

.modal-overflow.active {
	z-index: 9991;
	opacity: 1;
}

.modal-container {
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	z-index: -1;
}

.modal-container.active {
	opacity: 1;
	z-index: 9992;
}

.modal-win {
	min-width: 400px;
	background: #fff;
	padding: 22px;
	border-radius: 10px;
	display: none;
	z-index: -1;
	position: relative;
}

.modal-win.active {
	z-index: 9993;
	display: block;
}

.close-small {
	color: #2c3e50;
	line-height: 1;
	font-size: 16px;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	z-index: 9;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container-modal-win {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-top: 10px;
}

.h-modal-win {
	width: 100%;
	font-size: 24px;
	text-align: center;
	font-weight: 600;
	margin: 0 0 15px;
}

.content-modal-win {
	width: 100%;
}



.hidden {
	display: none;
}

@media screen and (max-width: 1280px) {

	.h-one-input {
		font-size: 15px;
	}

	.form-w20,
	.form-w25 {
		width: calc(33.33% - 15px);
	}
}

@media screen and (max-width: 1200px) {

	.one-container4-content,
	.one-container5-content {
		flex-basis: calc(33.33% - 15px);
	}

	.video-dashboard iframe {
		height: 500px;
		margin: 5px 0 0;
	}
}



@media screen and (max-width: 991px) {

	.close-menu,
	.close-account-menu {
		cursor: pointer;
		color: var(--accent);
		font-size: 28px;
		line-height: 1;
		width: 25px;
		height: 25px;
		position: absolute;
		top: 10px;
		right: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.close-account-menu {
		right: auto;
		left: 20px;
		top: 11px;
		color: var(--text);
		z-index: 20;
	}

	.close-menu i:nth-child(2),
	.close-menu.active i:nth-child(1),
	.close-account-menu i:nth-child(2),
	.close-account-menu.active i:nth-child(1) {
		display: none;
	}

	.close-menu.active i:nth-child(2),
	.close-account-menu.active i:nth-child(2) {
		display: inline;
	}

	.header-account {
		padding: 15px 22px 15px 48px;
	}

	.header-account .btn-header-account:nth-child(1) a {
		display: none;
	}

	.header-account .btn-header-account:nth-child(2) a:nth-child(2) .text-menu {
		display: none;
	}

	.header-account .btn-header-account:nth-child(2) a:nth-child(2) .icon-menu {
		margin-right: 0;
	}

	.account-menu {
		height: calc(100vh - var(--account-header-height));
		top: var(--account-header-height);
		display: none;
	}

	.overlay-account-menu {
		position: fixed;
		width: calc(100% - var(--account-sidebar-width));
		height: calc(100vh - var(--account-header-height));
		top: var(--account-header-height);
		right: 0;
		z-index: var(--account-z-overlay);
		background: #242e4250;
		cursor: pointer;
	}

	.account-container.active .account-menu,
	.account-container.active .overlay-account-menu {
		display: flex;
	}

	.account-menu-list ul li a {
		font-size: 15px;
	}

	.account-content {
		width: 100%;
		min-height: calc(100vh - var(--account-header-height));
		top: 0;
		left: 0;
	}

	.h-mini-heading {
		font-size: 22px;
		margin: 0 0 12px;
	}

	.one-container3-content,
	.one-container4-content,
	.one-container5-content {
		flex-basis: calc(50% - 11px);
	}

	.form-w20,
	.form-w25,
	.form-w33 {
		width: calc(50% - 11px);
	}

	.video-dashboard iframe {
		height: 450px;
	}

	.footer {
		padding: 15px var(--gap);
	}

	:root {
		--content-gap: 0;
		--gap: 12px;
	}

	.header-account {
		margin-left: var(--gap);
		margin-right: var(--gap);
		width: calc(100% - var(--gap) * 2);
		padding: 10px 12px 10px 44px;
		gap: 6px;
		flex-wrap: nowrap;
		overflow: hidden;
	}

	.header-account .btn-header-account {
		gap: 6px;
		flex-shrink: 0;
		min-width: 0;
	}

	.header-account .btn-header-account:nth-child(2) a {
		margin-left: 8px;
	}

	.header-account a .text-menu {
		font-size: 14px;
	}

	.account-menu {
		width: min(100vw - var(--gap), var(--account-sidebar-width));
		max-width: 300px;
	}

	.overlay-account-menu {
		width: 100%;
		left: 0;
	}

	.account-menu .account-menu-container {
		margin: 0;
		border-radius: 0;
		border-left: 0;
		border-top: 0;
		border-bottom: 0;
		min-height: 100%;
	}

	.account-content {
		padding: 18px var(--gap) 28px;
		left: 0;
	}

	.account-menu-list ul li a,
	.one-account-menu-list a {
		padding: 12px 16px;
	}

	.container {
		padding: 0 14px;
	}

}

@media screen and (max-width: 768px) {

	html,
	body {
		font-size: 15px;
	}

	.form-w20,
	.form-w25,
	.form-w33,
	.form-w50 {
		width: 100%;
	}

	.form-account .form {
		max-width: 100%;
	}

	.one-input .one-radio-input input {
		width: 22px;
		height: 22px;
		margin: 0 7px 0 0;
		border-radius: 50%;
		flex-shrink: 0;
	}

	.ql-snow.ql-toolbar button,
	.ql-snow .ql-toolbar button {
		height: 28px;
		width: 28px;
		min-width: 28px;
	}

	.ql-toolbar.ql-snow {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.ql-editor {
		min-height: 140px;
		padding: 12px 14px;
		font-size: 15px;
	}

	.btn-statistics-gamers {
		flex-wrap: wrap;
		gap: 8px;
	}

	.btn-statistics-gamers .btn {
		width: calc(50% - 4px);
		font-size: 13px;
		min-height: 44px;
	}

	.container-table.statistics-table table tbody tr th {
		width: auto;
		min-width: 110px;
		max-width: 150px;
		white-space: break-spaces;
		font-weight: 400;
		font-size: 13px;
	}

	.h-one-input {
		padding-left: 52px;
	}

	.text-one-radio-input {
		font-size: 14px;
		width: calc(100% - 27px);
	}

	.h-mini-heading {
		font-size: 20px;
		margin: 0 0 8px;
	}

	.h-micro-heading {
		font-size: 16px;
		margin: 0 0 12px;
	}

	ul.checkbox-list li label {
		font-size: 14px;
	}

	form#post-form .one-input.one-input-checkbox ul.checkbox-list input[type=checkbox],
	.one-input.one-input-checkbox ul.checkbox-list input[type=checkbox],
	form#post-form .one-input.one-input-checkbox ul.checkbox-list input[type=radio],
	.one-input.one-input-checkbox ul.checkbox-list input[type=radio] {
		width: 20px;
		height: 20px;
	}

	.account-btns {
		gap: 8px;
	}

	.video-dashboard {
		margin-top: 35px;
	}

	.video-dashboard iframe {
		height: 320px;
	}

	.mini-heading {
		font-size: 20px;
		margin: 0 0 6px;
	}

	form.form-date-stat {
		flex-wrap: wrap;
	}

	.text-mark-form {
		width: 20px;
		height: 44px;
	}

	.page-template-page-spins-statistics form.form-date-stat input[name=date_start],
	.page-template-page-spins-statistics form.form-date-stat input[name=date_end],
	form.form-date-stat input {
		max-width: calc(100% - 35px);
		width: calc(100% - 35px);
	}

	form.form-date-stat button.btn {
		width: 100%;
	}

	.auth-page {
		align-items: flex-start;
		padding: 0;
	}

	.auth-page .container {
		padding: 0;
	}

	.auth-page .parent-form {
		max-width: 100%;
		border-radius: 0;
		padding: 45px 30px 45px;
	}

	.auth-page .logo-parent-form {
		margin: 0 0 20px;
	}

	.auth-page .logo-parent-form img {
		max-width: 220px;
	}

	.auth-page .form-heading {
		font-size: 22px;
	}

	.auth-page .form-mini-heading {
		font-weight: 400;
		font-size: 16px;
		margin: 0px 0 12px;
	}

	.block-submit-btn {
		flex-wrap: wrap;
	}

	.block-submit-btn .btn.w50 {
		width: 100%;
		margin: 0 0 9px;
	}

	.form-two-colunms {
		width: 100%;
		gap: 11px;
	}

	.form-w50 {
		width: 100%;
	}

	.h-one-input {
		font-size: 14px;
	}

	.form-two-colunms .one-input {
		margin: 6px 0 0;
	}

	.alert {
		padding: 12px 20px;
		margin: 10px 0;
	}

	.btn,
	a.btn {
		padding: 10px 18px;
		height: 44px;
		font-size: 14px;
	}

	input,
	button,
	select {
		padding: 10px 15px;
		height: 44px;
	}

	select {
		padding: 10px 12px;
	}

	.icon-input {
		width: 44px;
		height: 44px;
		font-size: 15px;
	}

	.one-input input,
	.one-input select {
		width: calc(100% - 44px);
		margin-left: 44px;
	}

	.one-input textarea {
		width: calc(100% - 44px);
		margin-left: 44px;
		height: 130px;
	}

	.eye-pass {
		width: 44px;
		height: 44px;
		left: calc(100% - 44px);
	}

	.full-width {
		gap: 18px;
		margin-bottom: 18px;
	}

	form.form-list,
	.count-block {
		flex-wrap: wrap;
	}

	form.form-list {
		gap: 8px;
	}

	form.form-list .btn,
	form.form-list a.btn {
		width: calc(50% - 4px);
	}

	.count-text,
	.select-count {
		width: 100%;
		margin-left: 0;
	}

	.container-table table tr th {
		padding: 12px 9px;
		font-size: 13px;
	}

	.container-table table tr td {
		padding: 9px 9px;
		font-size: 14px;
	}

	.td-balance-gamer {
		gap: 4px;
		font-size: 14px;
	}

	.plus-balance,
	.minus-balance {
		font-size: 20px;
	}

	.modal-win {
		border-radius: 0;
	}

	.h-modal-win {
		font-size: 18px;
		margin: 0 0 8px;
	}

	.one-post {
		width: 100%;
	}

	.h-one-post {
		font-size: 17px;
	}

	.status-block {
		padding: 2px 5px;
		font-size: 11px;
	}

	.list-post,
	.link-profile {
		gap: 18px;
	}

	a.one-link-profile {
		flex-basis: 100%;
		padding: 18px;
	}

	.icon-one-link-profile {
		width: 36px;
		font-size: 30px;
	}

	.content-one-link-profile {
		width: calc(100% - 48px);
	}

	.h-one-link-profile {
		font-size: 16px;
	}

	.text-link-profile {
		margin: 2px 0 0;
		font-size: 13px;
	}

	.one-container1-content,
	.one-container2-content,
	.one-container3-content,
	.one-container4-content,
	.one-container5-content {
		flex-basis: 100%;
	}

	.container {
		padding: 0 12px;
	}

	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 18px;
	}

	.header-account {
		margin-left: max(8px, env(safe-area-inset-left, 0px));
		margin-right: max(8px, env(safe-area-inset-right, 0px));
		width: calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
		padding: 8px 10px 8px 40px;
		border-radius: var(--radius);
	}

	.account-content {
		padding: 14px 12px 24px;
		padding-left: max(12px, env(safe-area-inset-left, 0px));
		padding-right: max(12px, env(safe-area-inset-right, 0px));
	}

	.footer {
		padding: 12px max(12px, env(safe-area-inset-left, 0px)) 12px max(12px, env(safe-area-inset-right, 0px));
	}

	.container-table {
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		margin: 0 -2px;
	}

	.container-table table tr th a {
		white-space: normal;
	}

	.modal-overflow {
		padding: max(12px, env(safe-area-inset-top, 0px)) 8px max(12px, env(safe-area-inset-bottom, 0px));
		align-items: flex-end;
	}

	.modal-win {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		padding: 18px 16px 22px;
	}

	.modal-win#balance,
	.modal-win#balance-users {
		max-width: 100%;
	}

	.one-input span.select2.select2-container {
		width: calc(100% - 44px) !important;
		margin-left: 44px;
		height: 44px;
	}

	.one-input span.select2.select2-container .selection,
	.select2-container .select2-selection--single {
		height: 42px !important;
	}

	.select2-container--default .select2-selection--single .select2-selection__arrow {
		top: 9px !important;
	}

	.image-form-bonus {
		margin-left: 44px;
	}

	.form_change_pass {
		margin-top: 28px;
	}

	form.form-range-statistic {
		flex-wrap: wrap;
		gap: 10px;
		margin-right: 0;
	}

	.block-copy-link {
		flex-wrap: wrap;
		gap: 10px;
	}

	.block-copy-link .btn,
	.block-copy-link a.btn {
		width: 100%;
	}

	.pagination a,
	.wp-pagenavi a,
	.wp-pagenavi span {
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 10px 12px;
	}

	.video-dashboard iframe {
		height: auto;
		min-height: 200px;
		aspect-ratio: 16 / 9;
	}

	.close-menu,
	.close-account-menu {
		min-width: 44px;
		min-height: 44px;
		top: 6px;
	}

	.theme-toggle-btn {
		width: 40px;
		height: 40px;
	}
}

@media screen and (max-width: 480px) {

	.btn-statistics-gamers .btn {
		width: 100%;
	}

	form.form-list .btn,
	form.form-list a.btn {
		width: 100%;
	}

	.auth-page .parent-form {
		padding: 36px 20px 40px;
	}

	.account-btns {
		flex-direction: column;
	}

	.account-btns .btn,
	.account-btns a.btn {
		width: 100%;
	}
}

/* ─── Layout ─────────────────────────────────────────── */
.account-content article {
	/* max-width: 1200px; */
	width: 100%;
	margin: 0 auto;
}

/* ─── Page heading ───────────────────────────────────── */
.h-mini-heading {
	font-size: 24px !important;
	line-height: 1.2;
	font-weight: 600 !important;
	margin: 6px 0 18px !important;
	letter-spacing: -0.2px;
	color: var(--text) !important;
}

/* ─── Dashboard cards ────────────────────────────────── */
.full-width .one-container-content {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.link-profile {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}

.one-link-profile {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	min-height: 110px;
	background: var(--surface) !important;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 16px !important;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.one-link-profile:hover {
	transform: translateY(-2px);
	border-color: var(--border);
	box-shadow: var(--shadow-md);
}

a.one-link-profile:hover .icon-one-link-profile i,
a.one-link-profile:hover .h-one-link-profile,
a.one-link-profile:hover .text-link-profile {
	color: var(--accent);
}

.icon-one-link-profile {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	background: var(--surface-2);
}

.icon-one-link-profile i {
	color: var(--accent);
	font-size: 16px;
}

.h-one-link-profile {
	color: var(--text);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.1px;
	margin-bottom: 4px;
}

.text-link-profile {
	color: var(--text-soft);
	font-weight: 400;
	font-size: 13px;
	line-height: 1.45;
}

/* ─── Table headers ──────────────────────────────────── */
.container-table table tr th {
	font-weight: 600;
	background: var(--accent-soft);
	padding: 14px 12px;
	color: var(--text);
}

.container-table table tr th a {
	color: var(--text);
	white-space: nowrap;
}

[data-theme="dark"] .container-table table tbody tr:nth-child(even) {
	background: rgb(39 53 74 / 33%);
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
	margin-top: 28px;
	background: transparent !important;
}

.footer .container {
	max-width: 1200px;
	margin: 0 auto 16px;
	padding: 12px 18px;
	border-top: 1px solid var(--border);
}

.footer .copyright {
	color: var(--text-soft);
	font-size: 13px;
}

/* ─── Modals ─────────────────────────────────────────── */
.modal-win {
	background: var(--surface) !important;
	border-radius: 16px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-md);
}

.modal-win .h-one-input {
	color: var(--text);
	font-weight: 500;
}

.modal-win .one-input {
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
}

.modal-win input,
.modal-win select {
	color: var(--text);
}

.modal-win .btn.btn-info {
	background: var(--accent) !important;
	border: 0 !important;
	border-radius: 10px;
	color: #fff !important;
	font-weight: 500 !important;
}

.modal-win .btn.btn-info:hover {
	background: var(--accent-hover) !important;
}

/* ─── Inputs global ──────────────────────────────────── */
input,
select,
textarea {
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	color: var(--text);
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* ─── Auth page dark theme ───────────────────────────── */
[data-theme="dark"] .auth-page {
	background: linear-gradient(160deg, var(--bg) 0%, var(--surface) 100%) !important;
}

[data-theme="dark"] .auth-page .parent-form {
	background: var(--surface);
	border-color: var(--border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .auth-page .btn-header-lang select {
	color: var(--text-soft) !important;
}

/* ─── Theme toggle button ────────────────────────────── */
.theme-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-soft);
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
	flex-shrink: 0;
}

.theme-toggle-btn:hover {
	background: var(--surface-2);
	color: var(--text);
}

/* ─── Header — single row, no inner wrap ─────────────── */
.header-account {
	flex-wrap: nowrap;
	min-height: var(--account-header-height);
	height: auto;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.header-account::-webkit-scrollbar {
	display: none;
}

.header-account .btn-header-account {
	flex-wrap: nowrap;
	flex-shrink: 0;
	min-width: 0;
}

.header-account a {
	flex-wrap: nowrap !important;
	flex-shrink: 0;
	white-space: nowrap;
	margin-right: 10px !important;
}

.header-account .btn-header-account:nth-child(2) a {
	margin-left: 8px !important;
}

.header-account a .icon-menu {
	flex-shrink: 0;
}

.header-account a .text-menu {
	flex-shrink: 0;
}

.header-account .theme-toggle-btn {
	flex-shrink: 0;
}

/* Sidebar visible, content area narrows (≈992px–1280px) */
@media (min-width: 992px) and (max-width: 1280px) {

	.header-account {
		padding: 8px 12px !important;
		column-gap: 6px;
	}

	.header-account .btn-header-account {
		gap: 4px !important;
	}

	.header-account a {
		margin-right: 6px !important;
	}

	.header-account .btn-header-account:nth-child(2) a {
		margin-left: 6px !important;
	}

	.header-account a .icon-menu {
		width: 18px !important;
		margin-right: 5px !important;
		font-size: 15px !important;
	}

	.header-account a .text-menu {
		font-size: 13px !important;
	}

	.header-account select[name="code_lang"] {
		padding: 5px 8px !important;
		font-size: 13px !important;
	}
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 900px) {

	.header-account,
	.account-menu .account-menu-container,
	.account-content {
		margin: 8px;
	}

	.header-account {
		width: calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
		margin-left: max(8px, env(safe-area-inset-left, 0px));
		margin-right: max(8px, env(safe-area-inset-right, 0px));
		padding: 10px 12px 10px 42px;
	}

	.account-content {
		padding: 12px 10px 20px;
		width: calc(100% - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
		margin-left: max(8px, env(safe-area-inset-left, 0px));
		margin-right: max(8px, env(safe-area-inset-right, 0px));
	}

	.account-menu .account-menu-container {
		padding: 12px;
	}

	.h-mini-heading {
		font-size: 20px !important;
		margin: 4px 0 14px !important;
	}

	.link-profile {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.one-link-profile {
		min-height: 88px;
		padding: 14px !important;
		gap: 12px;
	}

	.icon-one-link-profile {
		width: 38px;
		height: 38px;
	}

	.h-one-link-profile {
		font-size: 16px;
	}

	.text-link-profile {
		font-size: 12px;
		line-height: 1.4;
	}

	.footer .container {
		padding: 10px 12px;
	}

	.container-table table tr th {
		padding: 10px 8px;
		font-size: 12px;
	}

	.container-table table tr td {
		padding: 8px;
		font-size: 13px;
	}

	.full-width {
		gap: 14px;
		margin-bottom: 14px;
	}
}

/* ─── Header toolbar (mobile sidebar mode, ≤991px) ───── */
@media (max-width: 991px) {

	.header-account {
		display: grid !important;
		grid-template-columns: 44px minmax(0, 1fr);
		align-items: center;
		column-gap: 8px;
		padding: 8px 10px !important;
		overflow: visible !important;
	}

	.header-account .btn-header-account:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
		width: 44px;
		min-width: 44px;
		flex: 0 0 44px;
	}

	.header-account .close-account-menu {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
		margin: 0;
		color: var(--text) !important;
		flex-shrink: 0;
	}

	.header-account .close-account-menu i {
		color: var(--text);
		font-size: 20px;
		line-height: 1;
	}

	.header-account .btn-header-account:nth-child(2) {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		min-width: 0;
		margin-left: 0 !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.header-account .btn-header-account:nth-child(2)::-webkit-scrollbar {
		display: none;
	}

	.header-account .btn-header-account:nth-child(2) > a,
	.header-account .btn-header-lang,
	.header-account .theme-toggle-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		margin-left: 0 !important;
		padding: 0 !important;
		flex-wrap: nowrap;
	}

	.header-account .btn-header-account:nth-child(2) > a:not([href="/balance/"]) {
		width: 36px;
		min-width: 36px;
		height: 36px;
		min-height: 36px;
	}

	.header-account .btn-header-lang {
		width: auto;
		min-width: 48px;
		height: 36px;
		min-height: 36px;
		padding: 0 4px !important;
		flex-shrink: 0;
	}

	.header-account a {
		margin-right: 0 !important;
		flex-wrap: nowrap !important;
	}

	.header-account a .icon-menu {
		width: 20px !important;
		margin-right: 0 !important;
		font-size: 16px !important;
		flex-shrink: 0;
	}

	.header-account .icon-menu i,
	.header-account .theme-toggle-btn i {
		color: var(--text) !important;
	}

	.header-account .theme-toggle-btn {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
		padding: 0 !important;
		flex-shrink: 0;
		margin: 0 !important;
	}

	.header-account a[href*="logout"] .text-menu,
	.header-account a.support-top-link .text-menu {
		display: none !important;
	}

	.header-account a[href="/balance/"] {
		width: auto !important;
		min-width: 0 !important;
		max-width: none;
		flex-shrink: 0;
		padding: 0 6px !important;
		gap: 4px;
		height: 36px;
		min-height: 36px;
	}

	.header-account a[href="/balance/"] .text-menu:first-child:nth-last-child(2) {
		display: none !important;
	}

	.header-account a[href="/balance/"] .text-menu {
		font-size: 12px !important;
		line-height: 1.2;
		max-width: none;
		overflow: visible;
		text-overflow: clip;
		white-space: nowrap;
		color: var(--text);
	}

	.header-account a[href="/balance/"] .text-menu strong {
		font-weight: 600;
		color: var(--text);
	}

	.header-account select[name="code_lang"] {
		max-width: 52px;
		min-height: 34px;
		height: 34px !important;
		padding: 4px 6px !important;
		font-size: 12px !important;
	}
}

/* ─── Narrow mobile (≤480px) ─────────────────────────── */
@media (max-width: 480px) {

	.account-container {
		overflow-x: clip;
		max-width: 100%;
	}

	.header-account,
	.account-content,
	.account-menu .account-menu-container {
		margin: 6px !important;
	}

	.header-account {
		width: calc(100% - 12px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
		margin-left: max(6px, env(safe-area-inset-left, 0px)) !important;
		margin-right: max(6px, env(safe-area-inset-right, 0px)) !important;
		column-gap: 6px !important;
		min-height: 44px;
		height: auto;
	}

	.header-account .btn-header-account:nth-child(2) {
		gap: 2px !important;
	}

	.header-account .btn-header-account:nth-child(2) > a:not([href="/balance/"]),
	.header-account .theme-toggle-btn {
		width: 34px !important;
		min-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
	}

	.header-account a[href="/balance/"] {
		height: 34px !important;
		min-height: 34px !important;
		padding: 0 4px !important;
	}

	.header-account a[href="/balance/"] .text-menu {
		font-size: 11px !important;
	}

	.header-account .btn-header-lang {
		min-width: 44px !important;
		height: 34px !important;
		min-height: 34px !important;
	}

	.header-account a .icon-menu {
		width: 18px !important;
		font-size: 15px !important;
	}

	.header-account select[name="code_lang"] {
		max-width: 48px !important;
		min-height: 32px !important;
		height: 32px !important;
	}

	.account-content {
		width: calc(100% - 12px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
		margin-left: max(6px, env(safe-area-inset-left, 0px)) !important;
		margin-right: max(6px, env(safe-area-inset-right, 0px)) !important;
		padding: 10px 8px 18px !important;
		padding-left: max(8px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(8px, env(safe-area-inset-right, 0px)) !important;
	}

	.h-mini-heading {
		font-size: 18px !important;
		margin: 2px 0 12px !important;
		word-break: break-word;
	}

	form.form-list {
		gap: 8px !important;
	}

	form.form-list input[type="text"],
	form.form-list input[type="search"],
	form.form-list input[type="email"],
	form.form-list input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
		min-width: 0;
		width: 100%;
	}

	.count-block {
		flex-wrap: wrap;
		gap: 8px;
	}

	.count-text {
		font-size: 13px;
	}

	.select-count {
		width: 100%;
		margin-left: 0 !important;
	}

	.container-table {
		margin: 0;
		border-radius: var(--radius-sm);
	}

	.container-table table {
		min-width: 280px;
	}

	.container-table table tr th {
		padding: 8px 6px !important;
		font-size: 11px !important;
	}

	.container-table table tr td {
		padding: 7px 6px !important;
		font-size: 12px !important;
		max-width: 140px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.container-table table tr th a {
		white-space: nowrap;
		font-size: 11px;
	}

	a.table-id-badge {
		font-size: 11px;
		padding: 2px 5px;
	}

	.open-child-user-td {
		padding: 2px 7px 2px 6px;
		font-size: 11px;
	}

	.btn,
	a.btn {
		padding: 10px 14px !important;
		font-size: 13px !important;
	}

	input,
	select,
	textarea,
	button {
		font-size: 16px;
	}

	.link-profile {
		grid-template-columns: 1fr !important;
	}

	.one-link-profile {
		min-height: 76px !important;
		padding: 12px !important;
	}

	.footer .container {
		padding: 8px 8px !important;
	}

	.modal-overflow {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}

	.modal-win {
		padding: 16px 12px 20px !important;
	}

	.pagination a,
	.wp-pagenavi a,
	.wp-pagenavi span {
		min-width: 40px;
		min-height: 40px;
		padding: 8px 10px;
		font-size: 13px;
	}
}

/* ─── Ultra-narrow (≤320px) ──────────────────────────── */
@media (max-width: 320px) {

	:root {
		--gap: 6px;
	}

	.header-account {
		padding: 6px 8px !important;
		column-gap: 4px !important;
		min-height: 40px;
		border-radius: var(--radius-sm) !important;
		grid-template-columns: 40px minmax(0, 1fr) !important;
	}

	.header-account .btn-header-account:nth-child(1) {
		width: 40px;
		min-width: 40px;
	}

	.header-account .close-account-menu {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
	}

	.header-account .btn-header-account:nth-child(2) > a:not([href="/balance/"]),
	.header-account .theme-toggle-btn {
		width: 32px !important;
		min-width: 32px !important;
		height: 32px !important;
		min-height: 32px !important;
	}

	.header-account a[href="/balance/"] {
		height: 32px !important;
		min-height: 32px !important;
		padding: 0 4px !important;
	}

	.header-account a[href="/balance/"] .text-menu {
		font-size: 11px !important;
	}

	.header-account .btn-header-lang {
		min-width: 40px !important;
		height: 32px !important;
		min-height: 32px !important;
	}

	.header-account a .icon-menu {
		width: 16px !important;
		font-size: 14px !important;
	}

	.header-account select[name="code_lang"] {
		max-width: 40px !important;
		font-size: 11px !important;
		padding: 3px 4px !important;
		min-height: 30px !important;
		height: 30px !important;
	}

	.header-account .theme-toggle-btn {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
		font-size: 13px;
	}

	.account-content {
		padding: 8px 6px 16px !important;
		padding-left: max(6px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(6px, env(safe-area-inset-right, 0px)) !important;
	}

	.h-mini-heading {
		font-size: 16px !important;
		margin: 0 0 10px !important;
		line-height: 1.25;
	}

	.container {
		padding: 0 6px !important;
	}

	.container-table table {
		min-width: 260px;
	}

	.container-table table tr th {
		padding: 6px 4px !important;
		font-size: 10px !important;
	}

	.container-table table tr td {
		padding: 6px 4px !important;
		font-size: 11px !important;
		max-width: 110px;
	}

	.count-text {
		font-size: 12px;
	}

	.btn,
	a.btn {
		padding: 9px 12px !important;
		height: 42px !important;
		font-size: 12px !important;
	}

	.one-link-profile {
		gap: 10px !important;
		padding: 10px !important;
	}

	.icon-one-link-profile {
		width: 32px !important;
		height: 32px !important;
	}

	.h-one-link-profile {
		font-size: 14px !important;
	}

	.text-link-profile {
		font-size: 11px !important;
	}

	.auth-page .parent-form {
		padding: 28px 14px 32px !important;
	}

	.auth-page .logo-parent-form img {
		max-width: 180px !important;
	}

	form.form-date-stat,
	form.form-range-statistic,
	.block-copy-link {
		gap: 8px !important;
	}

	.status-block {
		font-size: 10px !important;
		padding: 2px 4px !important;
	}

	.td-balance-gamer {
		font-size: 12px !important;
	}

	.plus-balance,
	.minus-balance {
		font-size: 18px !important;
	}
}