body {
	margin: 0;
	padding: 0;
	background: url("/images/bg.jpg") repeat-x top left #ffffff;
	height: 100%;
	font: 11px Verdana, Tahoma, Arial, Helvetica, sans-serif;
}
table, td {
	font: 11px Tahoma, Verdana, Arial, Helvetica, sans-serif;
}
hr {
	color: #cccccc;
	background-color: #cccccc;
	height: 3px;
	border-width: 0px;
}
h1 {
	font: 16px Arial, Verdana, Tahoma, Helvetica, sans-serif;
	font-weight: bold;
	margin-top: 1px;
	margin-bottom: 3px;
	color: #666666;
}
input[type="text"], input[type="password"], select {
	height: 29px;
	border-radius: 3px;
	border: 1px solid #999999; 
	font-size: 14px;
	padding-left: 3px;
	background: url(/images/input.gif) repeat-x left top #ffffff;
}
input[type="text"]:focus, input[type="password"]:focus {
	border-color: rgba(82, 168, 236, 0.8);
	outline: 0;
	outline: thin dotted \9;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
textarea {
	border-radius: 3px;
}
a {
	color: #006699;
	text-decoration: none;
}
a:hover {
	color: #ff3300;
	text-decoration: underline;
}
.content {
	margin-top: 15px;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	padding: 7px;
	border-radius: 6px;
	height: 100%;
	font-size: 12px;
}
html, body {
	height: 100%;
}
.main {
	min-height: 100%;
}
* html .main {
	height: 100%;
}
.hFooter {
	height: 83px;
}
.footer {
	border-top: 3px solid #003366;
	background-color: #006666;
	height: 70px;
	margin-top: -73px;
	font: 11px Verdana, Tahoma, Arial, Helvetica, sans-serif;
	color: #ffffff;
}
.footer a {
	color: #ffffff;
}
#wrapper {
	margin: 0 auto;
	width: 960px;
}
.menu {
	background: url("/images/menu.gif") repeat-x top left #0099cc;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #eeeeee;
	box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
a.m {
	color: #ffffff; 
	text-decoration: none; 
	font-weight: bold;
	font-size: 14px;
	text-shadow: 1px 1px 0 #333333;
}
a.m:hover {
	color: #003366;
	text-decoration: none; 
	font-weight: bold;
	font-size: 14px;
	text-shadow: none;
}
.sep {
	width: 2px;
	background: url("/images/sep.gif") no-repeat center top;
}
h2 {
	color: #0099cc;
	font-weight: bold;
	font-size: 14px;
	margin: 1px;
	padding: 1px;
}
.authmenu {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.authmenu li {
	border: 1px solid #666666;
	margin-bottom: 1px;
	padding: 4px 0 4px 15px;
	border-radius: 3px;
	background: url("/images/authmenubg.png") repeat-x left bottom #00ccff;
	opacity: 0.7;
}
.authmenu li:hover {
	opacity: 1;
}
.authmenu a {
	color: #ffffff;
	font-weight: bold;
	text-shadow: 1px 1px 0 #333333;
}
.authmenu img {
	margin-right: 10px;
	border: 1px solid #cccccc;
	margin-top: -3px;
	padding: 1px;
	border-radius: 3px;
}

/* Далее идут стили, которые необходимо подключить к стилям вашего шаблона */

.check {
	border: none;
}
.er {
	text-align: center; 
	color: #cc0000; 
	border: 1px solid #990000; 
	background: url("/images/error_ico.png") no-repeat left #ffcccc;
	background-position: 15px 17px;
	padding-top: 20px;
	padding-left: 50px;
	padding-bottom: 20px;
	padding-right: 15px;
	margin-top: 5px;
	margin-bottom: 20px;
	border-radius: 5px;
	font: 12px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-shadow: #ffffff 1px 1px 3px;
}
.erok {
	text-align: center; 
	color: red; 
	color: #009900; 
	border: 1px solid #006600; 
	background: url("/images/errorok_ico.png") no-repeat left #ccffcc;
	background-position: 15px 17px;
	padding-top: 20px;
	padding-left: 50px;
	padding-bottom: 20px;
	padding-right: 15px;
	margin-top: 5px;
	margin-bottom: 20px;
	border-radius: 5px;
	font: 12px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-shadow: #ffffff 1px 1px 3px;
}
.warn {
	text-align: center; 
	color: #663300; 
	border: 1px solid #ffcc00; 
	background: url("/images/warn_ico.png") no-repeat left #ffffcc;
	background-position: 15px 17px;
	padding-top: 20px;
	padding-left: 50px;
	padding-bottom: 20px;
	padding-right: 15px;
	margin-top: 5px;
	margin-bottom: 20px;
	border-radius: 5px;
	font: 12px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-shadow: #ffffff 1px 1px 3px;
}
.clear {
	clear: both;
}
.left {
	float: left;
	margin-bottom: 1px;
}
.right {
	float: right;
	margin-bottom: 1px;
}
.depoico {
	border: 2px solid #cccccc; 
	border-radius: 3px; 
	margin-right: 10px; 
	margin-top: 5px;
	max-width: 100px;
}
.lineclock {
	border: 1px solid #999999;
	background: url("/images/bgclockline.gif") repeat-x top left #eeeeee;
	border-radius: 3px;
	padding: 0px;
}
.percentline {
	background: url("/images/bgclocklinepercent.gif") repeat-x top left;
	height: 19px;
	margin-top: 0px;
}

.subm {
	cursor: pointer;
	background: url('/images/subm.gif') repeat-x #4fc4e9;
	font-weight: bold;
	padding-left: 15px;
	padding-right: 15px;
	color: #333333;
	border-radius: 4px;
	height: 29px;
	border: 1px solid #999999;
}
.subm:hover {
	background: url("/images/asubm.gif") repeat-x #75d1ee;
	color: #000000;
	text-shadow: 1px 1px 0 #eeeeee;
}
.pages {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: right;
	font-size: 12px;
}
.pages a {
	padding: 2px 5px 3px 5px;
	background-color: #eeeeee;
	font-size: 13px;
	border-radius: 3px;
	text-decoration: none;
	font-weight: bold;
}
.hline {
	height: 1px;
	background: url(/images/hline.gif) repeat-x top center;
}
.highslide-image {
	border: 4px solid white;
}
.highslide-caption {
	display: none; 
	border: none; 
	padding: 8px; 
	background-color: white;
}
.highslide-display-block {
	display: block;
}
.highslide-display-none {
	display: none;
}
a.f {
	color: #ffffff; 
	text-decoration: none; 
	font-weight: normal;
}
a.f:hover {
	color: #cccccc;
	text-decoration: underline; 
	font-weight: normal;
}
a.highslide-loading, a.highslide-loading:hover {
	color: black; 
	font-weight: bold; 
	text-decoration: none; 
}
.highslide {
	cursor: url(/images/zoomin.cur), pointer; 
	outline: none;
}
.highslide-loading {
	display: block; 
	padding: 2px; 
	border: 1px solid black; 
	background-color: white; 
	font-size: 11px; 
	font-family: Tahoma, Verdana, Helvetica; 
	padding-left: 22px;
	background-image: url(/images/loader.gif); 
	background-repeat: no-repeat; 
	background-position: 3px 1px; 
}
span.tool {
  position: relative;
  cursor: help;
}
span.tool span.tip {
  display: none;
}
span.tool:hover span.tip {
  display: block;
  z-index: 100;
  position: absolute;
  top: 1.6em;
  left: 0;
  width: auto;
  padding: 3px 7px 4px 6px;
  border: 1px solid #336;
  background-color: #f7f7ee;
  font: normal 0.9em/1.2em arial, helvetica, sans-serif;
  text-align: left;
  color: #000;
}
.addsite {
	margin-left: 15px;
	padding: 5px 10px 5px 25px; 
	background-color: #dddddd; 
	border-radius: 3px; 
	text-shadow: 0 1px 0 #eeeeee; 
	border: 1px solid #cccccc;
	max-width: 220px;
}
.addsite a {
	color: #333333;
	text-decoration: none;
}
.addsite a:hover {
	color: #666666;
}
fieldset {
	border: solid #666666 1px;
	border-radius: 3px;
	background-color: #eeeeee;
}
legend {
	border: solid #666666 1px;
	border-radius: 3px;
	padding: 1px 15px 2px 15px;
	background-color: #dddddd;
	text-shadow: 1px 1px 0 #ffffff;
}

#dialog {
	display: none;
}
#dialogphoto {
	display: none;
}
#hide_div {
	background-color: #ffffff;
	padding: 15px;
	border-radius: 7px;
	text-align: center;
}
#photo {
	background-color: #ffffff;
	margin: 3px;
	padding: 15px;
	border-radius: 7px;
	text-align: center;
}
#subm_avatar,#send_avatar {
    display: none;
}
.newsimg {
	border-radius: 3px;
	width: 50px;
	height: 50px;
}
.user_menu p {
	border: 1px solid #cccccc;
	border-radius: 3px;
	background-color: #dddddd;
	padding: 2px;
	margin-top: 5px;
	margin-bottom: 1px;
}
.user_menu a {
	text-decoration: none;
	font-weight: bold;
	line-height: 16px;
}
.user_menu img {
	margin-right: 10px;
}
.humane {
  position: fixed;
  -moz-transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  z-index: -1;
}
.humane.humane-animate,.humane.humane-js-animate {
  z-index: 100000;
}
.humane {
  font-family: Verdana, Helvetica Neue, Helvetica, san-serif;
  font-size: 18px;
  letter-spacing: -1px;
  top: 30px;
  left: 30%;
  opacity: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  width: 40%;
  color: #333;
  padding: 10px 10px 0 10px;
  text-align: center;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACWCAYAAAAfduJyAAAABmJLR0QA/wD/AP+gvaeTAAAAIklEQVQokWNgYGCQZGJgYGDARTDSQnboGDqsnDt0DKWNLAAkiQFdC+vZNQAAAABJRU5ErkJggg==');
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0,0,0,0.10)), color-stop(1, rgba(0,0,0,0.20))) no-repeat;
  background: -moz-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
  background: -ms-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
  background: -o-linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
  background: linear-gradient(top, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%) no-repeat;
  background-color: #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  text-shadow: 0 1px 1px rgba(255,255,255,0.80);
  -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
  -ms-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
  -o-box-shadow: 0 1px 2px rgba(0,0,0,0.50);
  box-shadow: 0 1px 2px rgba(0,0,0,0.50);
  -moz-transform: translateY(-100px);
  -webkit-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  -o-transform: translateY(-100px);
  transform: translateY(-100px);
}
.humane p,
.humane ul {
  margin: 0;
  padding: 0;
}
.humane ul {
  list-style: none;
}
.humane.humane-animate {
  opacity: 1;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.humane.humane-animate:hover {
  opacity: 0.7;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
}
.humane.humane-js-animate {
  opacity: 1;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.humane.humane-js-animate:hover {
  opacity: 0.7;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
}

.msg {
	margin-bottom: 10px;
	border-bottom: 1px solid #dddddd;
	min-height: 60px;
	font-size: 11px;
	background-color: #ffffff;
}
.msg:hover {
	background-color: #f5f5fa;
}
.msgimg {
	float: left;
	min-width: 65px;
}
.msgdate {
	float: left;
	width: 180px;
}
.msgtxt {
	margin-top: 4px;
	padding-top: 10px;
	float: left;
	max-width: 350px;
}
.msgdel {
	float: right; 
	text-align: center; 
	width: 20px;
}
.msgdel a {
	text-decoration: none;
}
.newsimg {
	margin-right: 7px;
	border: 5px solid #dddddd;
	background-color: #eeeeee;
	border-radius: 3px;
}
.qmsg {
	border: 1px solid #dddddd; 
	max-height: 387px; 
	overflow: auto;
	padding-left: 7px;
	font-size: 11px;
	padding-top: 3px;
	background-color: #ffffff;
}
#qd {
	margin-top: 3px;
	color: #999999;
	float: left;
	width: 70px;
	min-height: 40px;
	font-size: 8px;
}
.qava {
	width: 40px;
	float: left;
}
.qava img {
	border-radius: 3px;
}
.qtxt {
	float: left;
	width: 515px;
	margin-bottom: 10px;
	overflow: hidden;
	word-wrap: break-word;
}
.qtxt p {
	margin-bottom: 3px;
	margin-top: 0px;
}
.qdel {
	float: right:
	text-align: right;
	padding-right: 4px;
}
.qdel b {
	cursor: pointer;
	color: #dddddd;
}
.qdel b:hover {
	color: #666666;
}
#msgmappo {
	background-color: #eeeeee;
	margin-right: 5px;
	margin-bottom: 7px;
	padding: 3px 15px 3px 15px ;
	font-weight: bold;
	border-radius: 5px;
	color: #666666;
	float: left;
}
.newsline {
	height: 3px;
	background-color: #eeeeee;
}
input#button_search, input#button_search_fr {
	background: url(/images/input_search_bg.png) no-repeat center;
	width: 20px;
	height: 20px;
	border: none;
	cursor: pointer;
	position: absolute;
	margin-top: 5px;
	margin-left: 3px;
}
.vkladki {
	text-align: right;
}
.vkladki a {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	border: 1px solid #dddddd;
	font-size: 14px;
	border-radius: 6px 6px 0 0;
	background: #eeeeee;
	font-weight: bold;
	text-decoration: none;
}
.vkladki a:hover, a.vklcur {
	border: 1px solid #dddddd;
	background: #f0ffea;
}
.phoneconf {
	border: 2px solid #cc3333;
	border-radius: 3px;
	background-color: #ffffcc;
}

/* 2026 premium storefront redesign */
:root {
	--bg: #f5f1e8;
	--bg-soft: #efe8db;
	--surface: rgba(255, 255, 255, 0.86);
	--surface-strong: rgba(255, 255, 255, 0.96);
	--line: rgba(33, 56, 64, 0.15);
	--ink: #1d2a35;
	--ink-soft: #4d5f69;
	--accent: #0b8e84;
	--accent-strong: #086b63;
	--accent-alt: #bf9448;
	--danger: #b22c2c;
	--success: #127042;
	--warning: #885711;
	--shadow-soft: 0 10px 35px rgba(22, 36, 44, 0.10);
	--shadow-hard: 0 18px 45px rgba(12, 24, 31, 0.14);
}

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

html,
body {
	height: 100%;
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	font: 500 14px/1.55 "Manrope", "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
	color: var(--ink);
	background-color: var(--bg);
	background-image: radial-gradient(circle at 0% 0%, rgba(11, 142, 132, 0.12) 0, rgba(11, 142, 132, 0) 40%), radial-gradient(circle at 100% 0%, rgba(191, 148, 72, 0.15) 0, rgba(191, 148, 72, 0) 45%), linear-gradient(180deg, #f8f5ee 0%, #eee6d9 100%);
	overflow-x: hidden;
}

body::before,
body::after {
	content: "";
	position: fixed;
	z-index: 0;
	pointer-events: none;
	filter: blur(3px);
}

body::before {
	top: -90px;
	right: -90px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(191, 148, 72, 0.22) 0%, rgba(191, 148, 72, 0) 70%);
}

body::after {
	bottom: -100px;
	left: -100px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(11, 142, 132, 0.20) 0%, rgba(11, 142, 132, 0) 72%);
}

table,
td {
	font: inherit;
	color: inherit;
}

a {
	color: var(--accent-strong);
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

a:hover {
	color: #0a5d56;
	text-decoration: none;
}

h1,
h2 {
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	letter-spacing: 0.01em;
}

h1 {
	margin: 0 0 8px;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	font-weight: 700;
	color: #172330;
}

h2 {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-soft);
}

hr {
	height: 1px;
	border: 0;
	background: linear-gradient(90deg, rgba(11, 142, 132, 0), rgba(11, 142, 132, 0.45), rgba(11, 142, 132, 0));
	margin: 12px 0 16px;
}

.main {
	position: relative;
	z-index: 1;
	min-height: calc(100vh - 120px);
	padding: 24px 0 20px;
}

#wrapper.site-shell {
	width: min(1220px, calc(100% - 28px));
	margin: 0 auto;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(245, 241, 234, 0.78) 100%);
	box-shadow: var(--shadow-hard);
	backdrop-filter: blur(6px);
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 20px;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 1px solid transparent;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-solid {
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
	border-color: var(--accent-strong);
	color: #ffffff;
	box-shadow: 0 10px 18px rgba(8, 89, 82, 0.22);
}

.btn-solid:hover {
	color: #ffffff;
	box-shadow: 0 13px 20px rgba(8, 89, 82, 0.26);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(22, 50, 66, 0.2);
	color: var(--ink);
}

.btn-ghost:hover {
	color: var(--ink);
	border-color: rgba(11, 142, 132, 0.45);
}

.brandmark {
	display: inline-flex;
	align-items: center;
}

.brandmark img {
	max-width: 230px;
	height: auto;
	filter: drop-shadow(0 4px 8px rgba(17, 35, 45, 0.15));
}

.lang-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: 0 4px 10px rgba(12, 27, 36, 0.07);
}

.lang-switch a:hover {
	transform: translateY(-2px);
	border-color: rgba(11, 142, 132, 0.45);
	box-shadow: 0 9px 16px rgba(11, 71, 66, 0.14);
}

.lang-switch img {
	display: block;
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.menu.site-nav {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
	height: auto;
	padding: 0;
	margin: 0 0 18px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	box-shadow: none;
}

.menu.site-nav .sep {
	display: none;
}

a.m {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 4px 10px;
	border-radius: 12px;
	border: 1px solid rgba(24, 46, 55, 0.15);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(243, 237, 227, 0.96) 100%);
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
	text-shadow: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

a.m:hover {
	transform: translateY(-2px);
	border-color: rgba(11, 142, 132, 0.4);
	box-shadow: 0 12px 20px rgba(10, 50, 48, 0.12);
	color: var(--ink);
}

.layout {
	display: grid;
	grid-template-columns: minmax(260px, 290px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.sidebar .content + .content {
	margin-top: 18px;
}

.content {
	margin-top: 0;
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 18px 20px;
	height: auto;
	background: var(--surface-strong);
	box-shadow: var(--shadow-soft);
	font-size: 14px;
}

body.view-home .main-content .content {
	position: relative;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 248, 0.95) 54%, rgba(255, 244, 225, 0.92) 100%);
}

body.view-home .main-content .content::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -50px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(11, 142, 132, 0.18) 0%, rgba(11, 142, 132, 0) 70%);
	pointer-events: none;
}

.hero-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 16px;
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid rgba(22, 50, 66, 0.15);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(237, 247, 245, 0.9) 52%, rgba(255, 244, 224, 0.9) 100%);
	box-shadow: 0 14px 30px rgba(18, 46, 52, 0.12);
	overflow: hidden;
}

.hero-card::after {
	content: "";
	position: absolute;
	right: -35px;
	top: -35px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(191, 148, 72, 0.26) 0%, rgba(191, 148, 72, 0) 70%);
	pointer-events: none;
}

.hero-main {
	position: relative;
	z-index: 2;
}

.hero-kicker {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(11, 142, 132, 0.1);
	border: 1px solid rgba(11, 142, 132, 0.22);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #10645d;
}

.hero-title {
	margin: 12px 0 8px;
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.35rem);
	font-weight: 800;
	color: #142430;
	letter-spacing: 0.01em;
	line-height: 1.1;
}

.hero-subtitle {
	font-size: 14px;
	color: #4a606a;
	margin-bottom: 16px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-content: center;
}

.hero-stat {
	padding: 12px;
	border-radius: 12px;
	border: 1px solid rgba(22, 50, 66, 0.16);
	background: rgba(255, 255, 255, 0.85);
}

.hero-stat span {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #5f7581;
	margin-bottom: 6px;
}

.hero-stat strong {
	display: block;
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 20px;
	line-height: 1.1;
	color: #122432;
}

.panel {
	position: relative;
	animation: panel-rise .65s ease both;
}

.sidebar .panel:nth-child(2) {
	animation-delay: .08s;
}

.main-content .panel {
	animation-delay: .16s;
}

@keyframes panel-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

input[type="text"],
input[type="password"],
select {
	max-width: 100%;
	height: 42px;
	border: 1px solid rgba(22, 50, 66, 0.22);
	border-radius: 12px;
	padding: 0 12px;
	font-size: 14px;
	background: #ffffff;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	border-color: rgba(11, 142, 132, 0.55);
	box-shadow: 0 0 0 4px rgba(11, 142, 132, 0.14);
	outline: 0;
}

textarea {
	width: 100%;
	max-width: 100%;
	border: 1px solid rgba(22, 50, 66, 0.22);
	border-radius: 12px;
	padding: 10px 12px;
	font: inherit;
}

.subm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 18px;
	border: 1px solid var(--accent-strong);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
}

.subm:hover {
	border-color: #07564f;
	background: linear-gradient(135deg, #11a092 0%, #07564f 100%);
	color: #ffffff;
	text-shadow: none;
}

.authmenu {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.authmenu li {
	margin-bottom: 0;
	border: 1px solid rgba(22, 50, 66, 0.14);
	border-radius: 12px;
	padding: 8px 10px 8px 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f4f8f7 100%);
	opacity: 1;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.authmenu li:hover {
	transform: translateX(2px);
	border-color: rgba(11, 142, 132, 0.42);
	box-shadow: 0 8px 16px rgba(11, 71, 66, 0.14);
}

.authmenu a {
	color: var(--ink);
	font-weight: 700;
	text-shadow: none;
}

.authmenu img {
	margin-right: 8px;
	margin-top: 0;
	padding: 2px;
	border-radius: 8px;
	border: 1px solid rgba(15, 64, 58, 0.2);
	background-color: #ffffff;
}

.er,
.erok,
.warn {
	border-radius: 12px;
	padding: 16px 14px;
	margin-top: 8px;
	margin-bottom: 14px;
	font: 700 13px/1.4 "Manrope", "Trebuchet MS", "Segoe UI", sans-serif;
	background-image: none;
	text-shadow: none;
}

.er {
	color: var(--danger);
	border: 1px solid rgba(178, 44, 44, 0.35);
	background-color: rgba(255, 237, 237, 0.94);
}

.erok {
	color: var(--success);
	border: 1px solid rgba(18, 112, 66, 0.35);
	background-color: rgba(234, 255, 244, 0.95);
}

.warn {
	color: var(--warning);
	border: 1px solid rgba(136, 87, 17, 0.3);
	background-color: rgba(255, 248, 223, 0.95);
}

.pages {
	margin: 14px 0;
	text-align: right;
	font-size: 13px;
}

.pages a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 10px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: #ffffff;
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
}

.pages a:hover {
	border-color: rgba(11, 142, 132, 0.45);
	background-color: rgba(11, 142, 132, 0.08);
}

.msg {
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(22, 50, 66, 0.13);
	min-height: 60px;
	font-size: 12px;
	background-color: transparent;
}

.msg:hover {
	background-color: rgba(11, 142, 132, 0.05);
}

.msgimg {
	float: left;
	min-width: 65px;
}

.msgdate {
	float: left;
	width: clamp(140px, 22vw, 190px);
}

.msgtxt {
	margin-top: 2px;
	padding-top: 6px;
	float: left;
	max-width: clamp(180px, 50vw, 420px);
}

.qmsg {
	border: 1px solid rgba(22, 50, 66, 0.16);
	border-radius: 12px;
	max-height: 387px;
	overflow: auto;
	padding: 8px;
	font-size: 12px;
	background-color: #ffffff;
}

.qtxt {
	float: left;
	width: calc(100% - 130px);
	margin-bottom: 10px;
	overflow: hidden;
	word-wrap: break-word;
}

#msgmappo {
	background-color: rgba(11, 142, 132, 0.12);
	border: 1px solid rgba(11, 142, 132, 0.2);
	margin-right: 5px;
	margin-bottom: 7px;
	padding: 4px 14px;
	font-weight: 700;
	border-radius: 10px;
	color: #155852;
	float: left;
}

input#button_search,
input#button_search_fr {
	margin-top: 8px;
}

.footer {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 16px 14px 24px;
	height: auto;
	margin-top: 0;
	border-top: 1px solid rgba(24, 52, 63, 0.15);
	background: linear-gradient(180deg, rgba(233, 226, 214, 0.72) 0%, rgba(239, 231, 218, 0.96) 100%);
	color: #2f4450;
	font: 600 12px/1.4 "Manrope", "Trebuchet MS", "Segoe UI", sans-serif;
}

.footer-inner {
	max-width: 1100px;
	text-align: center;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 16px;
	margin-bottom: 8px;
}

.footer-inner p {
	margin: 0;
}

.footer a {
	color: #294a58;
	font-weight: 700;
}

.footer a:hover {
	color: #0d6c64;
}

.license-badge {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	border: 1px solid rgba(23, 58, 71, 0.2);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 8px 14px rgba(23, 45, 52, 0.12);
}

.license-badge:hover {
	transform: translateY(-1px);
}

.hFooter {
	display: none;
}

#ajaxBusy {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(245, 241, 232, 0.55);
	backdrop-filter: blur(3px);
}

#ajaxBusy .circle1,
#ajaxBusy .circle2 {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	margin-left: -8px;
	border-radius: 50%;
	background: var(--accent-strong);
	animation: busyPulse 1.1s infinite ease-in-out;
}

#ajaxBusy .circle2 {
	width: 28px;
	height: 28px;
	margin-top: -14px;
	margin-left: -14px;
	opacity: 0.4;
	animation-delay: .2s;
}

@keyframes busyPulse {
	0% {
		transform: scale(0.5);
		opacity: 0.2;
	}
	50% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(0.5);
		opacity: 0.2;
	}
}

#modalbox {
	display: none;
}

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

@media (max-width: 1120px) {
	.menu.site-nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.layout {
		grid-template-columns: minmax(250px, 280px) minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.main {
		padding-top: 14px;
	}

	#wrapper.site-shell {
		width: calc(100% - 20px);
		padding: 16px;
		border-radius: 20px;
	}

	.site-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-tools {
		width: 100%;
		justify-content: space-between;
	}

	.header-actions {
		order: 2;
	}

	.lang-switch {
		order: 1;
		justify-content: flex-start;
	}

	.menu.site-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.layout {
		grid-template-columns: 1fr;
	}

	.hero-card {
		grid-template-columns: 1fr;
	}

	.sidebar {
		order: 2;
	}

	.main-content {
		order: 1;
	}

	.msgdate,
	.msgtxt,
	.qtxt {
		width: auto;
		max-width: none;
		float: none;
	}

	.msgimg {
		float: left;
		min-width: 58px;
	}

	.footer {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.header-tools {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-actions {
		width: 100%;
	}

	.header-actions .btn,
	.hero-cta .btn {
		flex: 1;
	}

	.menu.site-nav {
		grid-template-columns: 1fr;
	}

	.content {
		padding: 14px;
		border-radius: 14px;
	}

	input[type="text"],
	input[type="password"],
	select {
		height: 40px;
		border-radius: 10px;
	}

	.subm {
		height: 40px;
		border-radius: 10px;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}
}

/* Extended user functionality and legacy module responsiveness */
.btn-with-badge {
	gap: 8px;
}

.btn-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	color: #ffffff;
	background: linear-gradient(135deg, #0a8f7f 0%, #08645a 100%);
}

.auth-login-wrap {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(22, 50, 66, 0.1);
	border-radius: 12px;
	padding: 10px;
}

.auth-login-grid {
	display: grid;
	gap: 8px;
}

.auth-login-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	align-items: center;
}

.auth-login-actions {
	padding-top: 2px;
}

.auth-login-row label {
	font-size: 12px;
	color: #395a6c;
	font-weight: 700;
}

.auth-login-grid input[type="text"],
.auth-login-grid input[type="password"] {
	width: 100%;
}

.auth-login-grid input[type="image"] {
	justify-self: end;
	width: 38px;
	height: 38px;
	padding: 6px;
	border-radius: 10px;
	border: 1px solid rgba(22, 50, 66, 0.18);
	background: linear-gradient(180deg, #ffffff 0%, #eef4f7 100%);
}

.user-cabinet {
	margin-bottom: 12px;
	padding: 12px;
	border: 1px solid rgba(22, 50, 66, 0.15);
	border-radius: 14px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 250, 247, 0.92) 100%);
	box-shadow: 0 8px 14px rgba(14, 45, 54, 0.08);
}

.user-cabinet-title {
	margin: 0 0 10px;
	font-size: 13px;
	color: #1c465a;
}

.user-balance-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 8px;
}

.user-balance-card {
	padding: 10px;
	border-radius: 12px;
	border: 1px solid rgba(22, 50, 66, 0.12);
	background: #ffffff;
}

.user-balance-card span {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #5f7885;
}

.user-balance-card strong {
	display: block;
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.15;
	color: #163243;
}

.user-balance-card.muted {
	background: rgba(247, 250, 252, 0.95);
}

.user-kpi-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	margin-bottom: 8px;
}

.user-kpi-item {
	padding: 8px 9px;
	border-radius: 10px;
	border: 1px solid rgba(22, 50, 66, 0.12);
	background: rgba(255, 255, 255, 0.88);
}

.user-kpi-item span {
	display: block;
	margin-bottom: 3px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #5b7481;
}

.user-kpi-item b {
	font-size: 15px;
	color: #153142;
}

.user-cabinet-foot {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding-top: 5px;
	font-size: 12px;
	color: #3b5d6d;
}

.user-cabinet-foot strong {
	color: #17374a;
}

.user-activity {
	margin: 0 0 16px;
	border: 1px solid rgba(22, 50, 66, 0.15);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	overflow: hidden;
}

.user-activity-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border-bottom: 1px solid rgba(22, 50, 66, 0.1);
	background: linear-gradient(180deg, #ffffff 0%, #f1f6f8 100%);
}

.user-activity-head h2 {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.07em;
}

.user-activity-head a {
	font-size: 12px;
}

.user-activity-list {
	display: flex;
	flex-direction: column;
}

.user-activity-item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 9px 12px;
	border-top: 1px solid rgba(22, 50, 66, 0.08);
}

.user-activity-item:first-child {
	border-top: 0;
}

.user-activity-date {
	font-size: 11px;
	color: #5b7480;
}

.user-activity-main strong {
	display: block;
	font-size: 13px;
	color: #18364a;
}

.user-activity-main span {
	display: block;
	font-size: 11px;
	color: #5e7480;
}

.user-activity-sum {
	font-family: "Syne", "Trebuchet MS", "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #12465f;
	white-space: nowrap;
}

.user-activity-empty {
	margin: 0;
	padding: 12px;
	text-align: center;
	color: #5d7481;
}

.front-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 9px 0 12px;
}

.front-table-scroll > table {
	min-width: 640px;
}

.content table.legacy-front-form,
.content table.legacy-front-list {
	width: 100% !important;
	max-width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border: 1px solid rgba(22, 50, 66, 0.15) !important;
	border-radius: 14px !important;
	overflow: hidden;
	background: #ffffff !important;
	box-shadow: 0 6px 14px rgba(18, 44, 56, 0.07);
}

.content table.legacy-front-form td,
.content table.legacy-front-list td,
.content table.legacy-front-list th {
	padding: 9px 9px !important;
	border-top: 1px solid rgba(22, 50, 66, 0.09);
	vertical-align: middle;
}

.content table.legacy-front-form tr:first-child td,
.content table.legacy-front-list tr:first-child td,
.content table.legacy-front-list tr:first-child th {
	border-top: 0;
}

.content table.legacy-front-form tr[bgcolor="#dddddd"] > td,
.content table.legacy-front-list tr[bgcolor="#dddddd"] > td,
.content table.legacy-front-list tr[bgcolor="#dddddd"] > th,
.content table.legacy-front-form tr[bgcolor="#ccffcc"] > td,
.content table.legacy-front-list tr[bgcolor="#ccffcc"] > td,
.content table.legacy-front-list tr[bgcolor="#ccffcc"] > th {
	background: linear-gradient(135deg, #1a5067 0%, #10394b 100%) !important;
	color: #ffffff !important;
	font-weight: 700;
}

.content table.legacy-front-form tr[bgcolor="#eeeeee"] > td,
.content table.legacy-front-list tr[bgcolor="#eeeeee"] > td {
	background: #ffffff !important;
}

.content table.legacy-front-list tr:hover td {
	background: rgba(11, 142, 132, 0.06) !important;
}

.content table.legacy-front-form td:first-child {
	font-weight: 700;
	color: #264a5b;
}

.content table.legacy-front-form td label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 2px 8px 2px 0;
}

.content table.legacy-front-form input[type="text"],
.content table.legacy-front-form input[type="password"],
.content table.legacy-front-form input[type="number"],
.content table.legacy-front-form input[type="email"],
.content table.legacy-front-form input[type="url"],
.content table.legacy-front-form input[type="file"],
.content table.legacy-front-form select,
.content table.legacy-front-form textarea {
	width: min(100%, 420px) !important;
	max-width: 100% !important;
}

.content table.legacy-front-form .legacy-front-control {
	width: min(100%, 420px) !important;
	max-width: 100% !important;
}

.content table.legacy-front-form .legacy-front-control[type="radio"],
.content table.legacy-front-form .legacy-front-control[type="checkbox"] {
	width: auto !important;
	min-width: 0 !important;
	height: auto;
	padding: 0;
}

.content table.legacy-front-form .legacy-front-control[style*="width"],
.content table.legacy-front-form input[style*="width"],
.content table.legacy-front-form select[style*="width"],
.content table.legacy-front-form textarea[style*="width"] {
	width: 100% !important;
	max-width: 100% !important;
}

.content table.legacy-front-form td > table,
.content table.legacy-front-form td > div > table {
	width: 100% !important;
	max-width: 100% !important;
}

.content table.legacy-front-form td.legacy-front-inline-cell {
	text-align: left !important;
	white-space: normal !important;
}

.content table.legacy-front-form td.legacy-front-inline-cell .legacy-front-control,
.content table.legacy-front-form td.legacy-front-inline-cell input,
.content table.legacy-front-form td.legacy-front-inline-cell select,
.content table.legacy-front-form td.legacy-front-inline-cell textarea {
	width: auto !important;
	max-width: 100% !important;
	margin: 2px 6px 2px 0;
	vertical-align: middle;
}

.content table.legacy-front-form td.legacy-front-inline-cell select {
	min-width: 88px;
}

.content table.legacy-front-form td.legacy-front-inline-cell label {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 2px 12px 2px 0;
}

.content table.legacy-front-form td.legacy-front-date-cell select {
	min-width: 96px;
}

.content input[type="image"][src*="save.gif"],
.content input[type="image"][src*="search.gif"],
.content input[type="image"][src*="enter.gif"] {
	width: 36px !important;
	height: 36px !important;
	padding: 6px;
	border-radius: 9px;
	border: 1px solid rgba(22, 50, 66, 0.18);
	background: linear-gradient(180deg, #ffffff 0%, #edf3f6 100%);
}

@media (max-width: 860px) {
	.content table.legacy-front-form,
	.content table.legacy-front-form tbody,
	.content table.legacy-front-form tr,
	.content table.legacy-front-form td,
	.content table.legacy-front-form th {
		display: block;
		width: 100% !important;
	}

	.content table.legacy-front-form tr {
		padding: 8px 8px 10px;
		border-top: 1px solid rgba(22, 50, 66, 0.1);
	}

	.content table.legacy-front-form tr:first-child {
		border-top: 0;
	}

	.content table.legacy-front-form td {
		border-top: 0 !important;
		padding: 4px 2px !important;
		text-align: left !important;
	}

	.content table.legacy-front-form td:first-child {
		font-size: 12px;
	}

		.content table.legacy-front-form input[type="text"],
		.content table.legacy-front-form input[type="password"],
		.content table.legacy-front-form input[type="number"],
		.content table.legacy-front-form input[type="email"],
		.content table.legacy-front-form input[type="url"],
		.content table.legacy-front-form input[type="file"],
		.content table.legacy-front-form select,
		.content table.legacy-front-form textarea {
			width: 100% !important;
			max-width: 100% !important;
		}

		.content table.legacy-front-form td.legacy-front-inline-cell .legacy-front-control:not([type="radio"]):not([type="checkbox"]),
		.content table.legacy-front-form td.legacy-front-inline-cell input:not([type="radio"]):not([type="checkbox"]),
		.content table.legacy-front-form td.legacy-front-inline-cell select,
		.content table.legacy-front-form td.legacy-front-inline-cell textarea {
			width: 100% !important;
			max-width: 100% !important;
			margin: 4px 0 !important;
		}

		.content table.legacy-front-form td.legacy-front-inline-cell label {
			display: inline-flex;
			margin: 3px 12px 3px 0;
		}

		.content table.legacy-front-form td.legacy-front-date-cell select {
			min-width: 0;
			width: calc(50% - 6px) !important;
			max-width: calc(50% - 6px) !important;
			margin-right: 6px !important;
		}

		.content table.legacy-front-form td > table,
		.content table.legacy-front-form td > table tbody,
		.content table.legacy-front-form td > table tr,
		.content table.legacy-front-form td > table td,
		.content table.legacy-front-form td > table th {
			display: block;
			width: 100% !important;
		}

		.content table.legacy-front-form td > table td {
			padding: 4px 0 !important;
		}

	.user-activity-item {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.user-activity-sum {
		justify-self: start;
	}

	.front-table-scroll > table {
		min-width: 560px;
	}
}

@media (max-width: 560px) {
	.user-balance-grid,
	.user-kpi-grid {
		grid-template-columns: 1fr;
	}

	.auth-login-row {
		grid-template-columns: 1fr;
	}

	.auth-login-actions {
		grid-template-columns: 1fr auto;
	}

	.user-cabinet-foot {
		flex-direction: column;
		gap: 1px;
	}

		.front-table-scroll > table {
			min-width: 520px;
		}

		.content table.legacy-front-form td.legacy-front-date-cell select {
			width: 100% !important;
			max-width: 100% !important;
			margin-right: 0 !important;
		}
	}
