/*********** LOCAL FONTS ***********/
@font-face {
	font-family: "Lobster";
	src: url("/fonts/lobster.woff") format("woff"),
	     url("/fonts/LOBSTER.TTF") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

body { margin:0px; padding:0px; font-family: Arial, Helvetica, sans-serif; }
img { border:0px; }
.clr { clear:both; }


.stn:link, .stn:visited { color: #609143; text-decoration: none; font-weight: bold; } 
.stn:active, .stn:hover { color: #d77906; text-decoration: none; }

.stn-sort:link, .stn-sort:visited { color: #FFFFFF; text-decoration: none; font-weight: bold; } 
.stn-sort:active, .stn-sort:hover { color: #000000; text-decoration: none; }

/*############# WRAPPERS #############*/
.wrap { width:980px; margin:0 auto; border:0px solid black; }

/*############# HEADER #############*/
.header { width:100%; }

.clr-line {
	background: url(/img/hd-line.jpg) no-repeat;
	width:980px;
	height:8px;
}

.logo {
	background: url(/img/logo.jpg) no-repeat;
	width:322px;
	height:109px;
	margin-top:10px;
}

.hd-menu {
    float: right;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
    margin: 50px 0px 0 0;
    padding: 0;
}

.hd-menu li {
    display: inline-block;
    margin: 0 15px 0 0;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hd-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.hd-menu a:hover {
    color: #fff;
    background-color: #f56c42;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hd-menu a.current {
    color: #fff;
    background-color: #6abf69;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px 12px;
}

.hd-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 108, 66, 0.3);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.hd-menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}



.cp-art {
	background: url(/img/fruits.jpg) no-repeat;
	width:542px;
	height:244px;
	margin-bottom:10px;
	float:left;
}

.sprite-icon {
	background: url(/img/sprite-icon.png) no-repeat;
	width:500px;
	height:500px;
}

.hd-bnf {
	float:left;
	background: url(/img/bnf.png) repeat-x;
	height:152px;
	font-family: "Lobster", Georgia, serif;
	margin:25px 0px 0px 10px;
	padding:10px 15px 0px 30px;
	color:#3f9800;
	font-size:1.2em;
	line-height: 17pt;
	border:1px solid #b6b6b6;
	border-radius:10px;
}

.hd-bnf li {
	list-style-image: url(/img/arrow.png);	
	background-repeat:no-repeat;
}

/*############# CONTENT #############*/
.content {  width:100%; margin-top:40px; }
.cl-left { width:325px; float:left; border:0px solid black; }
.cl-right { width:100%; float:left; padding:0px; border:0px solid black; }

.h-title {
	background: url(/img/opacity-title.png) no-repeat;
	width:289px;
	height:22px;
	color:#4f6f05;
	font-family: Arial, Helvetica, sans-serif;
	text-align:center;
	margin:2px 0px 0px 15px;
}

/* Блок авторизации */
.auth-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.auth-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.auth-input-group {
  margin-bottom: 15px;
}

.auth-input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #555;
}

.auth-input-group input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.auth-link {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #007bff;
  text-decoration: none;
  text-align: right;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-buttons {
  /*display: flex;*/
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-login {
  background-color: #28a745;
}

.btn-login:hover {
  background-color: #218838;
}

.btn-register {
  background-color: #007bff;
}

.btn-register:hover {
  background-color: #0056b3;
}



.autoriz {
	background: url(/img/bnf.png) repeat-x;
	height:175px;
	border:1px solid #b6b6b6;
	border-radius:10px;	
}

.lg {
	background: none;
	border: 1px solid #8d8d8d;
	border-radius:10px;
	background: url(/img/inpt.png) repeat-x;
	width:237px;
	height:24px;
	padding:0px 0px 0px 10px;
	margin:3px 0px 0px 0px;
}

.lg:hover {
	background: url(/img/inpt-hov.png) repeat-x;
	width:237px;
	height:24px;
}

.ps {
	background: none;
	border: 1px solid #8d8d8d;
	border-radius:10px;
	background: url(/img/inpt.png) repeat-x;
	width:237px;
	height:24px;
	padding:0px 0px 0px 10px;
	margin:3px 0px 0px 0px;
}

.ps:hover {
	background: url(/img/inpt-hov.png) repeat-x;
	width:237px;
	height:24px;
}

.btn_in {
	background: #73b1ff;
	border: 1px solid #60a2f6;
	border-radius:10px;
	color:#FFF;
	margin:0px 0px 0px 0px;
	padding:3px 0px 3px 0px;
	cursor:pointer;
	width:60px;
}

.btn_reg {
	background: #73b1ff;
	border: 1px solid #60a2f6;
	border-radius:10px;
	color:#FFF;
	margin:0px 0px 0px 0px;
	padding:3px 0px 3px 0px;
	cursor:pointer;	
	width:100px;
}

a.rs-ps { color:#f77827; text-decoration:none;  font-size:14px; }
a.rs-ps:hover { text-decoration:underline; }



.st-lf { float:left; margin:5px 0px 0px 0px; }
.st-rg { float:left; margin:7px 0px 0px 15px; }

.line {
	margin:10px 0px 0px 30px;
}

.line-st {
	border: 1px solid #8d8d8d;
	border-radius:10px;
	background: url(/img/inpt-hov.png) repeat-x;
	width:115px;
	height:19px;
	color:#f77827;
	text-align:center;
	margin:2px 0px 0px 0px;
	padding:5px 0px 0px 0px;
	
}

.st-time {
	margin:3px 0px 0px 30px;
}

.wim {
	background: url(/img/small-inpt.png) repeat-x;
	width:229px;
	height:34px;
	border:1px solid #b6b6b6;
	border-radius:10px;
	text-align:center;
	font-size:20pt;
	padding:10px 0px 0px 0px;
	margin:0px 0px 0px 190px;
}

.wim-block {
	margin:10px 0px 0px 67px;
}

.wim-lf {
	background: url(/img/man-1.jpg) no-repeat;
	width:125px;
	height:129px;
	float:left;
}

.wim-ctr {
	width:220px;
	float:left;
	color:#0a5200;
	font-size:19pt;
	text-align:center;
	margin:0px 5px 0px 5px;
}

.wim-ctr-in {
	background: url(/img/arrows.jpg) no-repeat;
	width:117px;
	height:63px;
	margin:10px 0px 10px 50px;
}

.wim-rg {
	background: url(/img/man-2.jpg) no-repeat;
	width:130px;
	height:131px;
	float:left;	
}

.garant-bk {
	width:200px;
	float:left;
	margin:5px 0px 0px 0px;
	text-align:center;
	color:#0a5200;
	font-size:15pt;	

}

/*i {
	display:block;
	background:url(/img/garant-sprite.jpg);
	width:171px;
	height:155px;
	margin-left:15px;
}
*/
.cntrl-ps {
	width:171px;
	margin-left:71px;

}

s {
	display:block;
	background:url(/img/paysitem-sprite.png);
	width:57px;
	height:46px;
	float:left;
}

.acc-title {
	background: #dbf4f6;
	width:235px;
	height:30px;
	border:1px solid #b3d8d3;
	border-radius:10px;
	text-align:center;
	font-family: "Lobster", Georgia, serif;
	font-size:18px;
	color:#80acb0;
	margin-left:45px;
}

.field-gr {
	background: url(/img/field-gr.jpg) no-repeat;
	width:220px;
	height:31px;
	padding:9px 0px 0px 48px;
	margin:-10px 0px 11px 28px;
}

.field-gr a {
	color:#7ea57b;
	text-decoration:none;
	font-size:20px;
}

.field-gr a:hover {
	color:#99be97;
	text-decoration:none;
	border-bottom:1px dashed #99be97;
	font-size:20px;
}

.field-rd {
	background: url(/img/field-rd.jpg) no-repeat;
	width:220px;
	height:31px;
	padding:9px 0px 0px 48px;
	margin:-10px 0px 11px 28px;
}

.field-rd a {
	color:#ad7676;
	text-decoration:none;
	font-size:20px;
}

.field-rd a:hover {
	color:#c28888;
	text-decoration:none;
	border-bottom:1px dashed #c28888;
	font-size:20px;
}

.field-ar {
	background: url(/img/field-ar.jpg) no-repeat;
	width:220px;
	height:31px;
	padding:9px 0px 0px 48px;
	margin:-10px 0px 11px 28px;
}

.field-ars {
	background: url(/img/field-ars.jpg) no-repeat;
	width:220px;
	height:31px;
	padding:9px 0px 0px 48px;
	margin:-10px 0px 11px 28px;
}

.field-ars a, .field-ar a {
	color:#7ea57b;
	text-decoration:none;
	font-size:18px;
}

.field-ars a:hover, .field-ar a:hover {
	color:#99be97;
	text-decoration:none;
	border-bottom:1px dashed #99be97;
	font-size:18px;
}

.fr-block {
	background: url(/img/fr-block.jpg) no-repeat;
	width:450px;
	height:150px;
	float:left;
	margin:0px 20px 20px 80px;
}

.fr-block img {
	margin:10px 0px 0px 15px;
	border-radius:10px;
	border:3px solid #cdcdcd;
}

.fr-title {
	color:#7ea57b;
	font-size:18px;
}

.cl-fr-lf {
	float:left; 
	text-align:center;
}

.cl-fr-rg {
	float:left;
	margin: 10px 0px 0px 5px;
}

.fr-te-gr { color:#7ea57b; }
.fr-te-gr-title { color:#000; font-weight:700; margin-bottom:10px;}

a.sm-btn {
	display:block;
	cursor:pointer;
	font-size: 12px;
	font-weight: 700 !important;
	margin: 0px 5px 8px 0px;
	padding: 0px 14px;
	border-radius: 10px;
	box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.400), 1px 1px 1px rgba(0, 0, 0, 0.102);
	display: inline-block;
	line-height: 26px;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.298);
	background: linear-gradient(to bottom, #88BDFF 0px, #60A7FF 100%) transparent;
	border: 1px solid #3E8FF4;
	color: #2B63A8 !important;	
	text-decoration:none;
}

a.sm-btn:hover { opacity:0.8; }


input.sm-btn {
	display:block;
	cursor:pointer;
	font-size: 12px;
	font-weight: 700 !important;
	margin: 0px 5px 8px 0px;
	padding: 0px 14px;
	border-radius: 10px;
	box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.400), 1px 1px 1px rgba(0, 0, 0, 0.102);
	display: inline-block;
	line-height: 30px;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.298);
	background: linear-gradient(to bottom, #88BDFF 0px, #60A7FF 100%) transparent;
	border: 1px solid #3E8FF4;
	color: #2B63A8 !important;	
	text-decoration:none;
}

input.sm-btn:hover { opacity:0.8; }

.silver-bk {
	background: #f7f7f7;
	border:1px solid #dddddd;
	width:100%;
	margin:-10px 0px 0px 0px;
	padding:0;
	color:#7ea57b;
}

.s-bk-lf {
	margin-left:150px;
}

.sm-line {
	width:450px;
	float:left;
	margin:5px 0px 5px 0px;
	font-size:14px;

}

.sm-line-nt {
	
	margin:5px 0px 5px 0px;
	font-size:14px;

}

.sm-line-nt img {
	border:3px solid #cdcdcd;
	border-radius:10px;
	vertical-align:-13px;
}

.sm-line img {
	border:3px solid #cdcdcd;
	border-radius:10px;
	vertical-align:-13px;
	margin:0px 5px 0px 0px;
}

.m-tb {
	background: #7ea57b;
	color:white;
}

table { border:none; }
 
td {
	border-radius:10px;
	margin-right:5px;
}

.bs-py {
	border: 1px solid #8d8d8d;
	border-radius:10px;
	background: url(/img/inpt-hov.png) repeat-x;
	width:115px;
	height:24px;
	color:#f77827;
	text-align:center;
	margin:0px 0px 0px 0px;
	padding:3px 0px 0px 0px;
}

.out-my {
	background: none;
	border: 1px solid #8d8d8d;
	border-radius:10px;
	background: url(/img/inpt.png) repeat-x;
	width:187px;
	height:24px;
	padding:0px 0px 0px 10px;
	margin:1px 0px 0px 0px;
}

.out-my:hover {
	background: url(/img/inpt-hov.png) repeat-x;
	width:187px;
	height:24px;
}



.htt:hover {background-color:#ccffcc;}
/* Статистика сайиа */
.stats-block {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0 0 0;
}

.stats-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.stats-content {
  display: flex;
  justify-content: space-between;
}

.stats-left,
.stats-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats-line {
  font-size: 14px;
  color: #555;
}

.stats-value {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.stats-link {
  color: #007bff;
  text-decoration: none;
}

.stats-link:hover {
  text-decoration: underline;
}

.stats-footer {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
  text-align: center;
}

.stats-icon {
  vertical-align: middle;
  margin-right: 5px;
}

.stats-highlight {
  color: #f77827;
  font-weight: bold;
}
/* Платёжные системы */
.stat {
	background: url(/img/bnf.png) repeat-x;
	height:180px;
	margin:20px 0px 20px 0px;
	border:1px solid #b6b6b6;
	border-radius:10px;	
}
/* Сколько сайту */

.result {
            background: linear-gradient(45deg, #4caf50, #8bc34a);
            padding: 1px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            color: white;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
        }
        .result span {
            color: #ffeb3b;
        }

/* Стили главной страницы Battle Farm */
        .fruits-farm-container {
            max-width: 1000px;
            /*margin: 20px auto;*/
            padding: 0 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .fruits-farm-container h1 {
            color: #4caf50;
            text-align: center;
			margin:0;
        }
        .fruits-farm-container h2 {
            color: #333;
            margin-top: 0px;
        }
        .fruits-farm-container ul {
            padding-left: 20px;
        }
        .fruits-farm-container ul li {
            margin-bottom: 10px;
        }
        .fruits-farm-container .highlight {
            color: #ffeb3b;
            font-weight: bold;
        }
        .fruits-farm-container .cta-button {
            display: inline-block;
            background-color: #4caf50;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            text-align: center;
            margin: 10px;
        }
        .fruits-farm-container .cta-button:hover {
            background-color: #45a049;
        }
.fruits-farm-container {
    border-top: 1px solid #388e3c;
    border-bottom: 1px solid #388e3c;
}

/*############# FOOTER #############*/
footer {
            background-color: #4caf50;
            color: white;
            text-align: center;
            padding: 10px 0;
            font-family: Arial, sans-serif;
            font-size: 14px;
            position: relative;
            bottom: 0;
            width: 100%;
            border-top: 2px solid #388e3c; /* Тонкая линия сверху */
            box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2); /* Тень для футера */
        }

        footer p {
            margin: 0;
            line-height: 1.6;
        }

        footer a {
            color: #ffeb3b;
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }
/* Загальний стиль Вход авторизация модальное окно*/
.container {
    text-align: center;
}

.btn {
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    color: #fff;
    background: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Модальное окно — авторизация, регистрация */
/* Стиль кнопок */
.btn {
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Кнопка "Войти" */
#loginBtn {
    background: #28a745; /* Зелёный цвет */
}

#loginBtn:hover {
    background: #218838; /* Более тёмный зелёный при наведении */
}

/* Кнопка "Регистрация" */
#registerBtn {
    background: #007bff; /* Синий цвет */
}

#registerBtn:hover {
    background: #0056b3; /* Более тёмный синий при наведении */
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
	z-index: 1001;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Стиль кнопки закриття */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.close:hover {
    color: #fff;
    background: #dc3545; /* Красный фон при наведении */
    border-color: #dc3545;
}

.header {
    display: flex;
    flex-wrap: wrap; /* Для адаптивности */
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
    /*background: #333;*/
    color: #661907;
}

.fixed-menu {
    position: fixed;
    top: 0; /* Закрепляет вверху экрана */
    left: 0; /* Закрепляет у левой стороны экрана */
    width: 100%; /* Растягивает меню на всю ширину */
    background-color: #333; /* Цвет фона меню */
    z-index: 1000; /* Оставляет меню поверх других элементов */
    padding: 10px; /* Отступы */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Лёгкий теневой эффект */
}

.hd-menu {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Для удобства на маленьких экранах */
}

.hd-menu li {
    margin: 0 3px;
}

.hd-menu a {
    text-decoration: none;
    color: #037007;
    padding: 5px 10px;
    transition: background 0.3s;
}

.hd-menu a:hover, .hd-menu .current {
    background: #007bff;
    border-radius: 5px;
}

.auth-buttons {
    /*display: flex;*/
    gap: 10px;
   /*  margin-top: 10px; Дополнительное пространство сверху */
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#loginBtn {
    background: #28a745;
}

#loginBtn:hover {
    background: #218838;
}

#registerBtn {
    background: #007bff;
}

#registerBtn:hover {
    background: #0056b3;
}

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

    .auth-buttons {
        margin-top: 10px;
    }
}

.error-message {
    color: red;
    font-size: 12px;
    display: none; /* Скрыть сообщение, если ошибки нет */
    margin-top: 5px;
}

input:invalid {
    border-color: red;
}

input:valid {
    border-color: green;
}

.form-errors {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8d7da;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: none; /* Скрыть ошибки по умолчанию */
}

.form-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-errors li {
    margin: 5px 0;
}

.form-Ok {
    margin-bottom: 20px;
    padding: 10px;
	color:#2c8f04;
    border-radius: 5px;
    background-color: #10f001;
    border: 2px solid #2c8f04;
    display: none; /* Скрыть ошибки по умолчанию */
	font-weight: bold; /* Жирний текст */
}

.form-Ok ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-Ok li {
    margin: 5px 0;
}

.online-counter {
    position: fixed;
    top: 60%;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    background-color: #10cb3b;
    padding: 0 5px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    font-family: Arial, sans-serif;
    z-index: 1000;
    text-align: center;
    white-space: nowrap;
    margin-right: 20px;
	color: #030a00; 
}

.online-counter strong {
    font-size: 1.2em; /* Увеличенный шрифт для числа */
    color: #030a00; /* Цвет для числа */
}
/* Контейнер меню */
        .menu-container {
            display: flex;
            justify-content: center;
            background: #fff;
            /*padding: 15px 0;*/
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
			width: 100%;
        }

        /* Основне меню */
        .menu {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .menu > li {
            position: relative;
            margin: 0 ;
        }

        .menu > li > a {
            display: block;
            text-decoration: none;
            color: #01A510;
            font-size: 15px;
            padding: 5px 10px;
            border-radius: 8px;
           /* background: #f0f0f0;*/
            transition: 0.3s;
			font-weight: 700;
        }

        .menu > li > a:hover {
            /*background: #e0e0e0;*/
			color:#05DA4D;
        }

        /* Аккордеон (выпадающее подменю) */
        .submenu {
            display: none;
            position: absolute;
            top: 34px;
            left: 0;
            background: white;
            width: 200px;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 5px 0;
            list-style: none;
            overflow: hidden;
			z-index: 2;
        }

        .submenu li {
            padding: 0px;
        }

        .submenu li a {
            text-decoration: none;
            color: #01a510;
            display: block;
            transition: 0.3s;
            padding: 8px 15px;
			font-weight: 800;
			font-size: 14px;
        }

        .submenu li a:hover {
            background: #CCF2CA;
			color: #05DA4D;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .menu-container {
                flex-direction: column;
                align-items: center;
            }
            .menu {
                flex-direction: column;
                width: 100%;
                text-align: center;
            }
            .menu > li {
                width: 100%;
            }
            .submenu {
                position: static;
                width: 100%;
                box-shadow: none;
            }
        }
.greeting-box {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #004eb1;
    /* background: linear-gradient(to right, #ff9a9e, #fad0c4); */
    padding: 0 15px;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* margin: 20px auto; */
    width: fit-content;
}

.greeting-text {
    font-family: "Arial", sans-serif;
}
.balance-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 4px 0;
        }
        
        .balance-container .material-icons {
            font-size: 24px; /* Размер иконки */
        }

        .balance-container a {
            text-decoration: none; /* Убирает подчёркивание */
            color: #333; /* Цвет текста */
            font-weight: bold; /* Жирний текст */
        }

        .balance-container a:hover {
            color: #007bff; /* Цвет при наведении */
        }

/* Стили для новостей */
.news-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.news-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.news-meta {
    display: flex;
    gap: 15px; /* Отступ между датой и автором */
    font-size: 0.9em;
    color: #555;
}

.hidden {
    display: none;
}

.expand-button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.expand-button:hover {
    background-color: #0056b3;
}

 .article-content{ text-align: justify;}
 
 .balance-payout {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.balance-payout:hover {
    color: #d4a017;
    transform: scale(1.05);
}

.balance-payout:hover::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #f0f0f0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInTooltip 0.4s ease forwards;
}

.balance-payout:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #2c2c2c;
    z-index: 1001;
}

@keyframes fadeInTooltip {
    to {
        opacity: 1;
    }
}
