/** Наш CSS */



/*
Зимняя версия - сменить /images/ на /images/
зимняя версия background-color: #4D1F10;
летняя версия  background-color: #4D1F10 или #380404;  */



.reg td { padding-right: 12px; padding-top: 5px; }

.mainTr {
	/* зимняя версия background-color: #4D1F10;
   летняя версия background-color: #4D1F10;*/
	background-color: #4D1F10;
	font-weight: bold;
}

.mainTable td {
	padding: 3px 0;
	vertical-align: middle;
	text-align: center;
}

.mainTable a {text-decoration: none;}
.mainTable a:hover {text-decoration:underline;}
.mainTable tr:nth-child(odd) {background: #1B1801;}
.mainTable tr:first-child {background-color: #4D1F10; font-weight: bold; }
.main_table_top_td td { vertical-align: top !important; }
.main_table_left_td td { text-align: left !important; }


.faq_table a {text-decoration: none;}
.faq_table a:hover {text-decoration:underline;}
.faq_table tr:nth-child(odd) {background: #1B1801;}
.faq_table tr:first-child {background-color: #1B1801; font-weight: bold; }
.faq_table_top_td td { vertical-align: top !important; }
.faq_table_left_td td { text-align: left !important; }

.colorZebra {background-color: #1B1801;}
.colorZebra2 {background-color: #141301;}
.colorZebra3 {background-color: rgba(78,72,72,.46);}

.name_BM {color: #F73C3C;}
.name_BK {color: #c41e3a;}
.name_DK {color: #800000;}
.name_GM {color: #75b4ea;}
.name_SM {color: #3a75c4;}
.name_DW {color: #1a4780;}
.name_HE {color: #46cc43;}
.name_ME {color: #17b544;}
.name_FE {color: #0d6124;}
.name_DM {color: #ff9933;}
.name_MG {color: #7a3600;}
.name_LE {color: #CE9DFF;}
.name_DL {color: #9933FF;}


.faq_text2 {
	padding: 5px;
	font-size: 13px;
	font-weight: bold;
	color: #F2E8C9;
	background-color: #380404;
	margin: 20px 0px 20px;
}

.faq_text4 {
	color: #DDC271;
}

/* Примечание */
.div_faq {
	margin: 20px 20px 20px;
	padding: 5px;
	border: 1px dashed #666;
	color:#999;
}
/* Примечание - внутренний блок */
.div_faq #note {
	padding: 2px;
	color:#FFF;
	/*background-color:#333;*/
	background-color:#333;
	opacity: 0.5;
	filter: alpha(Opacity=50);
}
/* Совет - внутренний блок */
.div_faq #advice {
	padding: 2px;
	color:#FFF;
	background-color:#662525;
	opacity: 0.5;
	/*background-color:#930;*/
}


/* Копирайты - невидимые */
.copyright, .copyright a {
	font-size: 10px;
	color: #282611;
}

/* Классы для таблиц */
.faq_table {text-align:center;}
#faq_table {text-align:center;}
#faq_table2 {text-align:left; }



.faq_link {color:#B9B9B9;}

/* Тект маленького размера и темного цвета */
.faq_low_text {
	float: right;
	color: #717171;
	font-size: 10px;
}


#faq {
	/* background-color: #1B1801; */
	padding: 10px;
}

#faq td {
	padding: 8px;
	vertical-align: middle;
}

#faq img, #news img {
	/*-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	 -moz-box-shadow: 0px 0px 10px #141301;
	-webkit-box-shadow: 0px 0px 10px #141301;
	box-shadow: 0px 0px 10px #141301; */

	margin: 10px;
	cursor: url(/misc/other/zoomin.cur), pointer !important;
}



.tableServices td {
	padding: 3px;
}

.tableServices img {
	padding: 2px;
}

.tableServices a {
	text-decoration:none;
}

.tableServices a:hover {
	text-decoration:underline;
}

.tableServices input, select {
	margin-top: 7px;
	margin-bottom: 7px;
}


.knowThat td{
	background-color: #1B1801;

	padding: 5px;
	padding-left: 10px;
}

/* Валюта, камни, вещи */
.cur_credits {color:#FFCC66}
.cur_stone {color:#6699CC}
.cur_wmz {color:#CC99FF}
.cur_gem {/*color:#66CCFF*/ color:#ff8b66}
.cur_zen {color:#66CC33}
.cur_credits_shop {color:#4bd4d4}
.cur_gr_points {color: #b282fa
}

.guild_score {color:#CCFF66}
.excellent {
	color:#0C6
}
.ancient {
	color: #0CF;
}
.jewel_of_chaos { color:#FFCC00;}
.jewel_of_bless { color:#66CCFF;}
.jewel_of_soul { color:#FFCCFF;}


.ttip, #ttip {
	z-index:99;
	left:-9999px;
	top:-9999px;
	text-align: center;
	border:1px solid #26240d;
	max-width: 468px;
	font-size:11px;
	color:#FFFFFF;
	padding:4px;
	position:absolute;
	background:#141301;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=95)";
	filter: alpha(opacity=95);
	opacity: 0.95;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0px 0px 10px #141301;
	-webkit-box-shadow: 0px 0px 10px #141301;
	box-shadow: 0px 0px 10px #141301;
}
.title_item {

	padding:1px 10px;
	margin:1px 1px 10px 1px;
	width:100% auto;
	background-color:transparent;
	overflow: hidden;
}
.item_exl {color:#00FA9A;}
.item_anc {color: #00FF7F;background-color: blue;}
.item_blue {color: #4169E1;}
.item_gray {color:#A9A9A9}
.item_bblue {color:#4169E1;}
.item_gold {color:#FFD700;}
.item_bgold,.item_harm {color:#FFD700;}
.item_pvp {color:#da70d6;}
.item_equip {color:#FFF;background-color:#8B0000;padding:1px 10px;margin:10px 0;width:100% auto;}
.item_socket {color: #FF33CC;}


.tooltip-div {
	background-color: rgba(0, 0, 0, 0.85);
	position:fixed;
	width:100%;
	z-index:100;
	display:none
}
.tooltip-div-image {
	text-align: center;
}
.tooltip-image {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0px 0px 10px #000;
	-webkit-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
}


div#clock { font: 13px arial,helvetica,clean,sans-serif; color: white; margin: 20px auto; width: 324px; overflow: hidden; text-align: center; }
div#clock p { line-height: normal; background: #333; float: left; height: 88px; width: 88px; text-align: center; }
div#clock p span { display: block; font-size: 50px; font-weight: bold; padding: 5px 0 0; }
div#clock div.space { font: 50px monospace; color: #ccc; display: block; line-height: 1.7em; float: left; height: 88px; width: 30px; }
div#clock div.text { font: 22px 'Palatino Linotype', 'Book Antiqua', Palatino, serif; line-height: 1.7em;}


.calculate-reset  td {
	font-size: 14px;
}

/* Информация о персонаже */
.item_character {
	text-align: center;
	width: 100%;
	right: 50%;
}
.info_character {
	text-align:center;
	width:450px;
}
.info_character td {
	width: 50%;
}
.colorZebra {
	background-color: #1B1801;
}
.items {text-align:center;vertical-align:middle;position:absolute;}
/* Информация о персонаже - конец */

/*******************************************
   Style menu for larger screens

   Using 650px (130px each * 5 items), but ems
   or other values could be used depending on other factors
********************************************/
@media screen and (min-width: 650px) {
	.nav {
		background: url(../images/111.jpg);
		margin-bottom: 20px;
		/*height: 50px; */
	}

	.nav ul {
		list-style: none;
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.nav li {
		width: 130px;
		border-bottom: none;
		display: inline-block;
		margin-right: -4px;
		font-size: 1.2em;
		line-height: 40px;
		text-align: left;
	}

	.nav a {
		border-bottom: none;
		text-decoration: none;
		display: block;
		padding-left: 15px;
	}

	.nav > ul > li {
		text-align: center;
	}

	.nav > ul > li > a {
		padding-left: 0;
	}

	/* Sub Menus */
	.nav li ul {
		position: absolute;
		display: none;
		width: 180px;
	}

	.nav li:hover ul {
		z-index: 1;
		display: block;
	}

	.nav li ul li {
		width: 180px;
		display: block;
		background-color: #4D1F10;
		transition: .3s background-color;
		font-size: .8em;
	}

	/* зимняя версия background-color: #2f5b9c;
   летняя версия background-color: #9c2600;*/
	.nav li ul li:hover {
		background-color: #9c2600;
	}
}

a.dot {
	text-decoration: none !important; /* Убираем подчеркивание */
	border-bottom: 1px dashed; /* Добавляем свою линию */
}

a.link_dashed {
	text-decoration: none !important; /* Убираем подчеркивание */
	border-bottom: 1px dashed; /* Добавляем свою линию */
}

.quest_status_active {  color: #00CC00;  }
.quest_status_reschedule {  color: #fcf33c;  }
.quest_status_done {  color: #00CC00;  }
.quest_status_rejected {  color: #ff8c87;  }
.quest_status_not_done {  color: #ff8c87;  }
.quest_status_wait {  color: #fcf33c;  }
.quest_status_check_winners {  color: #00CC00;  }

.show_hide {  display: none;  }

.div_padding10 {padding:10px;}
.div_padding15 {padding:15px;}
.div_padding20 {padding:20px;}

.mini_image {
	max-width: 200px;
}
.header {margin:10px;}

.header1 {
	display: block;
	font-size: 2em;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}
.header2 {
	display: block;
	font-size: 1.5em;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}
.header3 {
	display: block;
	font-size: 1.17em;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}
.header4 {
	display: block;
	margin-top: 1.33em;
	margin-bottom: 1.33em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}
.header5 {
	display: block;
	font-size: .83em;
	margin-top: 1.67em;
	margin-bottom: 1.67em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}
.header6 {
	display: block;
	font-size: .67em;
	margin-top: 2.33em;
	margin-bottom: 2.33em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

/* Все по услугам */
.input_service {
	padding: 4px;
	width: 150px;
	background-color: #241F15;
	border-top: 1px solid #15120D;
	border-right: 1px solid #221E14;
	border-bottom: 1px solid #6E6B66;
	border-left: 1px solid #241F15;
}


.input_service2 {
	padding: 4px;
	width: 100%;
	height: 100%;
	background-color: #241F15;
	border-top: 1px solid #15120D;
	border-right: 1px solid #221E14;
	border-bottom: 1px solid #6E6B66;
	border-left: 1px solid #241F15;
}


/*.service_table_top_td td { vertical-align: top !important; }
.service_table_left_td td { text-align: left !important; } */

.service_table { padding-top: 10px; max-width: 380px; }
.service_table td { vertical-align: middle; padding: 8px;   }
.service_table a {text-decoration: none;}
.service_table a:hover {text-decoration:underline;}
.service_table tr:nth-child(odd) {background: #1B1801;}
.service_table td:first-child {text-align: right;}
.service_table tr:last-of-type {}
.service_table tr > td:last-of-type {text-align: left;}

.service_table_extended { padding-top: 10px; max-width: 600px; }

.button_service {
	height: 23px;
	border: none;
	background: url(../images/homepage14.jpg) repeat-x left center;
	font-size: 12px;
	color: #F2E8C9;
	cursor: pointer;
}

.button_service_extended {
	width: 100%;
}

#subinfo_service {clear: both; padding-top: 10px}

#returnResult { clear: both; padding-top: 10px }


.admin_table { padding-top: 10px;  }
.admin_table td { vertical-align: middle; padding: 8px;   }
.admin_table a {text-decoration: none;}
.admin_table a:hover {text-decoration:underline;}
.admin_table tr:nth-child(odd) {background: #1B1801;}
.admin_table td:first-child {text-align: right;}
.admin_table tr:last-of-type {}
.admin_table tr > td:last-of-type {text-align: left;}



.history_table td {  padding: 10px;  vertical-align: middle;  }
.history_table a {text-decoration: none;}
.history_table a:hover {text-decoration:underline;}
.history_table tr:nth-child(odd) {background: #1B1801;}
/*.history_table td:first-child {color:#7b796b;}*/
.history_table tr:first-child {background-color: #4D1F10; font-weight: bold; text-align: center }

.history_table_centred td {  padding: 10px;  vertical-align: middle; text-align: center;  }

/*#history_table_centred td {
	padding: 10px;  vertical-align: middle; text-align: center;
}*/

.history_nested_table td {  padding: 6px;  vertical-align: middle; text-align: center; }
.history_nested_table a {text-decoration: none;}
.history_nested_table a:hover {text-decoration:underline;}
.history_nested_table tr:nth-child(odd) {background: #1B1801; text-align: center}
.history_nested_table tr:nth-child(even) { text-align: center}
/*.history_table td:first-child {color:#7b796b;}*/
.history_nested_table tr:first-child { text-align: center}

.table_with_background  {  text-align: center; background: #1b18017a;}
.table_with_background td {  padding: 6px;  text-align: center; }

#events{width:140px;  color:#cac5b6}
#events img{position:absolute; margin:2px 0 0 -12px}
#events div.event{margin-bottom:5px}
#events div.small{font-weight:normal; font-size:8pt; }
#events span{float:right}
#events b.time{color: #cb712e; font-size:8pt; position:absolute; margin:2px 0 0 110px}

#events2{width:140px;  color:#cac5b6}
#events2 img{position:absolute; margin:2px 0 0 -12px}
#events2 div.event{margin-bottom:5px}
#events2 div.small{font-weight:normal; font-size:8pt; }
#events2 span{float:right}
#events2 b.time{color: #cb712e; font-size:8pt; position:absolute; margin:2px 0 0 110px}

.my_radio {
	background: red;
}

/* Style the tab */
.tab {
	overflow: hidden;
	border: 1px solid #000;

	background-color: #4D1F10;
}

/* Style the buttons inside the tab */
.tab a {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	font-size: 17px;
}

/* Change background color of buttons on hover */
.tab a:hover {
	color: #F2E8C9;
	background-color: #4D1F10;
}

/* Create an active/current tablink class */
.tab a.active {
	background-color: #1B1801;
}

/* Style the tab content */
.tabcontent {
	display: none;
	padding: 16px 12px;
	/*border: 1px solid #ccc; */
	border-top: none;
	animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
	from {opacity: 0;}
	to {opacity: 1;}
}


/* Ачивки */
 div.ach_block {
	 width: 330px;
	 height: 70px;
	 border: 1px solid #554d3d;
	 position: relative;
	 float: left;
	 margin: 12px 0 0 10px;
	 padding: 2px 4px 2px 2px;
 }

div.ach_block div.ach_img {
	float: left;
	margin-right: 4px;
	width: 70px;
	text-align: center;
	height: 68px;
	border: #4D1F10;
	border-width: 1px;
	border-style: solid;
}

div.ach_block div.ach_title {
	font-weight: 700;
	margin-bottom: 4px;
}

div.ach_block div.ach_caption {
	color: #7c7972;
	font-size: 8pt;
}

div.ach_block div.ach_progress {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

div.ach_block div.ach_value {

	font-size: 7pt;
	text-align: right;
	margin-right: 1px;
}

div.ach_block div.ach_gauge {
	border: 1px solid #555044;
	height: 8px;
	width: 252px;
	float: right;
}

.vote_bg  {
	height: 430px;
	width: 530px;
	background-repeat: no-repeat;
	border: 1px solid #8b6d108c;
	margin:50px auto;
}

.vote_button {
	background-repeat: no-repeat;
	width: 245px;
	height: 95px;
	border: 0;
	cursor: pointer;
}
.vote_mounty    {
	background:url(/misc/other/button_mounty.png);
	margin: 30px 0px 0px 0px;
}

.vote_mounty:hover    {
	background:url(/misc/other/button_mounty_hover.png);
}

.vote_mmoanons    {
	background:url(/misc/other/button_mmoanons.png);
	margin: 30px 0px 0px 0px;
}

.vote_mmoanons:hover    {
	background:url(/misc/other/button_mmoanons_hover.png);
}

.vote_mmotop    {
	background:url(/misc/other/button_mmotop.png);
	margin: 30px 0px 0px 0px;
}

.vote_mmotop:hover    {
	background:url(/misc/other/button_mmotop_hover.png);
}

#want_be_streamer2 {
	display: none;
	margin: 5px 20px 12px;
}

#twitch-player-container {
	/*width: 170px;*/
	/*height: 100px;*/
	/*float: left;*/
	padding-bottom: 5px;
}


#twitch-player-container div {
	padding: 0;
	padding-bottom: 5px;
	padding-left: 5px;
	display: none;
}


#youtube-player-container {
	width: 170px;
	height: 98px;
	/*float: left;*/
	padding-bottom: 5px;
}

#youtube-player-container div {
	padding: 0;
	padding-bottom: 5px;
	padding-left: 5px;

}

.stream-hover-youtube {
	position: absolute;
	width: 160px;
	height: 95px;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.2);
	z-index: 0;
	/*display: none;*/
}

.stream-hover {
/*	position: absolute;*/
	/*width: 160px;
	height: 95px;*/
	cursor: pointer;
	background: rgba(0, 0, 0, 0.2);
	z-index: 0;
	/*display: none;*/
}

.stream-hover:hover {
	background: none;
}


#want_be_streamer {
	display: none;
	margin: 5px 20px 12px 20px;
}

.blink_dot {
	height: 7px;
	width: 7px;
	background-color: red;
	border-radius: 50%;
	display: inline-block;
	animation: blinker 2s linear infinite;
}

.blink_green_dot {
	height: 7px;
	width: 7px;
	background-color: #1aff00;
	border-radius: 50%;
	display: inline-block;
	animation: blinker 2s linear infinite;
}

@keyframes blinker {
	50% {
		opacity: 0;
	}
}

/* Контейнер */
/*.floating-container {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 320px;
	background: #2a1d0f;
	border: 4px solid #3f2b17;
	border-radius: 12px;
	box-shadow: 0 0 15px rgba(0,0,0,0.7);
	font-family: 'MedievalSharp', serif;
	color: #f5deb3;
	z-index: 9999;
	overflow: hidden;
}

!* Шапка *!
.floating-header {
	background: linear-gradient(#531515, #3a2410);
	padding: 8px;
	text-align: center;
	border-bottom: 3px solid  #5e370e;
}

!* Кнопка *!
.floating-header button {
	background: #8b5a2b;
	color: #fff5d9;
	font-weight: bold;
	padding: 6px 12px;
	border: 2px solid #d4af37;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.2s;
	font-family: inherit;
}

.floating-header button:hover {
	background: #d4af37;
	color: #2a1d0f;
}

!* Список стримов *!
.streams-list {
	max-height: 600px;
	overflow-y: auto;
	padding: 8px;
}

.stream {
	margin-bottom: 10px;
	border: 2px solid #8b5a2b;
	border-radius: 8px;
	overflow: hidden;
	background: #1b1008;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.6);
}

!* Стилизация скролла *!
.streams-list::-webkit-scrollbar {
	width: 8px;
}
.streams-list::-webkit-scrollbar-track {
	background: #3a2410;
}
.streams-list::-webkit-scrollbar-thumb {
	background: #8b5a2b;
	border-radius: 4px;
}*/





/* Контейнер */
.floating-container {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 320px;
	/* летняя версия background: #2a1d0f;
	 зимняя версия background: #0b1024;

	*/
	background: #2a1d0f;
	/*border: 4px solid #3f2b17;*/
	border-radius: 12px;
	box-shadow: 0 0 15px rgba(0,0,0,0.7);
	font-family: 'MedievalSharp', serif;
	color: #f5deb3;
	z-index: 9999;
	overflow: hidden;
}

/* Шапка */
.floating-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	/* летняя версия background: linear-gradient(#531515, #3a2410);
	зимняя версия background: linear-gradient(#1f3562, #0a0833);

	*/
	background: linear-gradient(#531515, #3a2410);
	padding: 6px 8px;
	/* летня версия border-bottom: 3px solid  #5e370e;
	  зимняя версия border-bottom: 3px solid  #424158;
	*/
	border-bottom: 3px solid  #5e370e;
	cursor: move;
}

/* Иконка перетаскивания */
.drag-icon {
	font-size: 18px;
	margin-right: 8px;
	cursor: grab;
	user-select: none;
}

/* Кнопка */
.floating-header button {
	background: #8b5a2b;
	color: #fff5d9;
	font-weight: bold;
	padding: 6px 12px;
	border: 2px solid #d4af37;
	border-radius: 8px;
	cursor: pointer;
	transition: 0.2s;
	font-family: inherit;
}

.floating-header button:hover {
	background: #d4af37;
	color: #2a1d0f;
}

/* Список стримов */
.streams-list {
	max-height: 600px;
	overflow-y: auto;
	padding: 8px;
}

.stream {
	margin-bottom: 10px;
	border: 2px solid #8b5a2b;
	border-radius: 8px;
	overflow: hidden;
	background: #1b1008;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.6);
}

/* Стилизация скролла */
.streams-list::-webkit-scrollbar {
	width: 8px;
}
.streams-list::-webkit-scrollbar-track {
	background: #3a2410;
}
.streams-list::-webkit-scrollbar-thumb {
	background: #8b5a2b;
	border-radius: 4px;
}

/* ==================== OFFTRADE MARKET STYLES ==================== */

.offtrade-container {
	width: 100%;
	margin: 0 auto;
}

.offtrade-header {
	text-align: left;
	margin-bottom: 20px;
}

.offtrade-header h3 {
	font-size: 20px;
	color: #F5EED0;
	margin-bottom: 10px;
}

.offtrade-description {
	color: #8a8778;
	font-size: 12px;
	margin-bottom: 15px;
}

/* Select сервера */
.offtrade-header .server-select-wrapper {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #2a2415 0%, #1a1606 100%);
	border: 1px solid #3d3520;
	border-radius: 6px;
	margin-bottom: 10px;
}

.offtrade-header .server-select-wrapper .filter-label {
	color: #9a9585;
	font-size: 12px;
}

/* Стили для select сервера */
.offtrade-container #selectServer,
.server-select-wrapper #selectServer {
	background-color: #1a1606;
	border: 1px solid #3d3520;
	border-radius: 4px;
	padding: 8px 32px 8px 12px;
	color: #DDC271;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23DDC271' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px 6px;
	transition: all 0.2s ease;
	min-width: 150px;
}

.offtrade-container #selectServer:hover,
.server-select-wrapper #selectServer:hover {
	border-color: #DDC271;
}

.offtrade-container #selectServer:focus,
.server-select-wrapper #selectServer:focus {
	border-color: #DDC271;
	outline: none;
	box-shadow: 0 0 10px rgba(221, 194, 113, 0.3);
}

.offtrade-container #selectServer option,
.server-select-wrapper #selectServer option {
	background-color: #1a1606;
	color: #E1E1C6;
	padding: 10px;
}

/* Панель фильтров */
.offtrade-filters {
	background: linear-gradient(135deg, #1a1606 0%, #252011 100%);
	border: 1px solid #3d3520;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-section {
	margin-bottom: 18px;
	padding-bottom: 15px;
	border-bottom: 1px solid #2d2815;
}

.filter-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.filter-section-title {
	font-size: 11px;
	font-weight: bold;
	color: #DDC271;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-section-title::before {
	content: '';
	width: 3px;
	height: 12px;
	background: linear-gradient(180deg, #DDC271, #8b6d10);
	border-radius: 2px;
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 6px;
}

.filter-label {
	color: #9a9585;
	font-size: 11px;
	white-space: nowrap;
}

/* Улучшенные инпуты */
.offtrade-filters .filter-input,
.offtrade-filters input[type="text"],
.offtrade-filters select,
.offtrade-container select,
.offtrade-display-options select {
	background-color: #1a1606;
	border: 1px solid #3d3520;
	border-radius: 4px;
	padding: 8px 12px;
	color: #E1E1C6;
	font-size: 11px;
	transition: all 0.2s ease;
}

.offtrade-filters .filter-input:focus,
.offtrade-filters input[type="text"]:focus,
.offtrade-filters select:focus,
.offtrade-container select:focus,
.offtrade-display-options select:focus {
	border-color: #DDC271;
	outline: none;
	box-shadow: 0 0 8px rgba(221, 194, 113, 0.2);
}

.offtrade-filters select,
.offtrade-container select,
.offtrade-display-options select {
	cursor: pointer;
	min-width: 120px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23DDC271' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px 6px;
	padding-right: 32px;
}

/* Стили для выпадающих опций select */
.offtrade-filters select option,
.offtrade-container select option,
.offtrade-display-options select option {
	background-color: #1a1606;
	color: #E1E1C6;
	padding: 10px;
}

.offtrade-filters select option:hover,
.offtrade-filters select option:checked,
.offtrade-container select option:hover,
.offtrade-container select option:checked,
.offtrade-display-options select option:hover,
.offtrade-display-options select option:checked {
	background-color: #3d3520;
	color: #F5EED0;
}

/* Чекбоксы */
.filter-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: linear-gradient(180deg, #1a1606 0%, #201b0c 100%);
	border: 1px solid #3d3520;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.filter-checkbox:hover {
	border-color: #4d4430;
	background: linear-gradient(180deg, #252011 0%, #2a2415 100%);
}

.filter-checkbox input[type="checkbox"] {
	accent-color: #DDC271;
	cursor: pointer;
	width: 14px;
	height: 14px;
}

.filter-checkbox.excellent { color: #00FA9A; }
.filter-checkbox.ancient { color: #00BFFF; }
.filter-checkbox.luck { color: #FFD700; }
.filter-checkbox.skill { color: #FF69B4; }

/* Статистика */
.offtrade-stats {
	background: linear-gradient(135deg, #1a1606 0%, #252011 100%);
	border: 1px solid #3d3520;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 20px;
	display: none;
}

.offtrade-stats.visible {
	display: block;
}

.offtrade-stats-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: linear-gradient(180deg, #2a2415 0%, #1a1606 100%);
	border: 1px solid #3d3520;
	border-radius: 4px;
	color: #DDC271;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 11px;
	text-decoration: none;
}

.offtrade-stats-toggle:hover {
	border-color: #DDC271;
	background: linear-gradient(180deg, #352f1f 0%, #252011 100%);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.stat-item {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	padding: 12px;
	text-align: center;
}

.stat-label {
	color: #8a8778;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 5px;
}

.stat-value {
	font-size: 14px;
	font-weight: bold;
	color: #F5EED0;
}

/* Настройки отображения */
.offtrade-display-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 20px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #1a1606 0%, #252011 100%);
	border-radius: 6px;
	border: 1px solid #3d3520;
}

.offtrade-display-options .filter-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.offtrade-display-options .filter-label {
	color: #9a9585;
	font-size: 11px;
}

/* Таблица результатов */
.offtrade-results {
	background: #1a1606;
	border: 1px solid #3d3520;
	border-radius: 8px;
}

.offtrade-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.offtrade-table thead tr {
	background: #4D1F10;
}

.offtrade-table th {
	padding: 14px 15px;
	font-size: 11px;
	font-weight: bold;
	color: #F2E8C9;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
	border-bottom: 2px solid #5e2a15;
}

.offtrade-table th:first-child {
	border-radius: 7px 0 0 0;
}

.offtrade-table th:last-child {
	border-radius: 0 7px 0 0;
}

.offtrade-table tbody tr {
	transition: all 0.2s ease;
	border-bottom: 1px solid #2d2815;
}

.offtrade-table tbody tr:nth-child(odd) {
	background: rgba(27, 24, 1, 0.5);
}

.offtrade-table tbody tr:nth-child(even) {
	background: rgba(20, 19, 1, 0.5);
}

.offtrade-table tbody tr:hover {
	background: rgba(77, 31, 16, 0.3);
	transform: translateX(2px);
}

.offtrade-table td {
	padding: 12px 15px;
	vertical-align: middle;
}

.offtrade-table .col-id {
	width: 60px;
	color: #6a6555;
	font-size: 10px;
	text-align: center;
}

.offtrade-table .col-item {
	min-width: 250px;
}

.item-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	cursor: default;
}

.item-name {
	font-size: 12px;
	font-weight: 500;
}

.offtrade-table .col-price {
	width: 130px;
	text-align: right;
}

.price-tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 11px;
}

.price-tag.credits {
	background: rgba(255, 204, 102, 0.15);
	border: 1px solid rgba(255, 204, 102, 0.3);
}

.price-tag.zen {
	background: rgba(102, 204, 51, 0.15);
	border: 1px solid rgba(102, 204, 51, 0.3);
}

.offtrade-table .col-trader {
	width: 120px;
}

.trader-link {
	color: #E1E1C6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.trader-link:hover {
	color: #DDC271;
	text-decoration: underline;
}

.offtrade-table .col-location {
	width: 100px;
	color: #8a8778;
	font-size: 11px;
	text-align: center;
}

.location-coords {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
	font-family: monospace;
}

.offtrade-empty {
	text-align: center;
	padding: 60px 20px;
	color: #6a6555;
}

.offtrade-loader {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px;
}

.offtrade-time {
	text-align: right;
	padding: 10px 15px;
	color: #4e4e4e;
	font-size: 10px;
	border-top: 1px solid #2d2815;
}

@media (max-width: 768px) {
	.filter-row {
		flex-direction: column;
		align-items: stretch;
	}
	
	.filter-group {
		width: 100%;
	}
	
	.offtrade-filters select,
	.offtrade-filters input[type="text"] {
		width: 100%;
	}
	
	.offtrade-table th,
	.offtrade-table td {
		padding: 8px 10px;
	}
	
	.offtrade-table .col-id,
	.offtrade-table .col-location {
		display: none;
	}
}
