*::-webkit-input-placeholder {
	color: #666;
	opacity: 1;
}
*:-moz-placeholder {
	color: #666;
	opacity: 1;
}
*::-moz-placeholder {
	color: #666;
	opacity: 1;
}
*:-ms-input-placeholder {
	color: #666;
	opacity: 1;
}
body {
	font-family: "RobotoLight", sans-serif;
	font-size: 16px;
}
.center {
	text-align: center;
}
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.relative {
	position: relative;
}
.container-fluid {
	max-width:1170px;
}
.top_header {
	background-image: url(/img/header_bg-min.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #5273ba;
	color:white;
}
.top_header {
	padding:15px 0;
}
.top_header a {
	color:white;
}
.top_header ul {
	padding: 0;
}
.top_header ul li {
	list-style: none;
	display: inline-block;
	padding:17px;
	z-index: 1;
	text-align:left;
}
.top_header ul li:hover {
	z-index: 2;
}
.top_header ul li a:hover {
	text-decoration: underline;
}
.top_header ul li:last-child {
	padding-right: 0;
}
.logo {
	max-width: 100%;
}
.subcat {
	position: absolute;
	top: 40px;
	left: 0;
	display: none;
	z-index: 2;
}
#subcatAuth {
	background-color: white;
	right: 0;
}
.top_header .subcat ul {
	margin: 0px 0 0 0;
	padding: 0;
} 
.top_header .subcat li {
	margin: 0;
	padding:0 0 3px 17px;
	
}
.top_header h1 {
	font-size: 28px;
	display: inline-block;
	max-width:665px;
	cursor: default;
}
.nav_notice_ava {
	display: inline-block;
	color:white;
	background-color: red;
	border-radius:50%;
	width: 10px;
    height: 10px;
    position: absolute;
    border: 1px solid #9c0e0e;
}
.nav_notice {
	display: inline-block;
	color:white;
	background-color: red;
	border-radius:50%;
	font-size: 9px;
	padding:1px 5px;
}
.translater_form,.platforms_block {
	margin:0 100px;
}
.kol_slov {
	margin:35px 0;
	font-size: 22px;
	font-family: "RobotoLight";
}
.radio {
  display: none;
}
.radio + label {
  cursor: pointer;
}
.radio:not(checked) {
  position: absolute;
  opacity: 0;
}
.radio:not(checked) + label {
  position: relative;
  padding: 5px 20px;
  margin:0 20px 5px 0;
  color: white;
  background-color: #2c4c85;
  font-size: 12px;
  font-family:"RobotoLight";
  letter-spacing: 1px;
}
.radio:not(checked) + label > span {
	display: none;
}
.radio:checked + label {
	background-color: #4571c0;
}
.radio:checked + label > span {
	display: inline-block;
}
.radio:not(checked) + label:before {
	display: none;
}
.one_klava {
	display: inline-block;
	width: 31px;
	height:31px;
	border:1px solid #4571c0;
	color: #4571c0;
	padding:4px 0px;
	text-align: center;
	cursor: pointer;
	margin-bottom: 10px;
}
.one_klava:hover {
	background-color: #4571c0;
	color:white;
}
.search_buttom {
	width: 100%;
	margin:15px 0;
	resize: none;
	font-family:"Arial";
	height:200px;
	padding:23px;
}
.result {
	font-family:"Arial";
	font-size: 15px;
	padding:25px;
}
.one_result_echo {
	border-bottom:1px solid #ececec;
	padding:6px 0;
}
.platforms h2 {
	border-top:2px solid #ececec;
}
.platforms h2, .add_words h3 {
	font-size: 22px;
	font-weight: 400;
	padding:45px 0 40px 0;
}
.platforms img {
	margin-bottom: -12px;
}
.add_words {
	background-color: #fbfbfb;
	padding-bottom:70px;
}
.add_words input {
	width:100%;
	font-size: 15px;
	text-align: center;
	padding:3px;
}

.add_words input[type=text] {
	border:1px solid #ececec;
	color:#4571c0;
}
.add_words input[type=text]:hover {
	border:1px solid #4571c0;
	color:#4571c0;
}
.add_words input[type=text]:focus::-webkit-input-placeholder,
.add_words input[type=text]:hover::-webkit-input-placeholder,
.add_words input[type=text]:focus::-moz-placeholder,
.add_words input[type=text]:hover::-moz-placeholder,
.add_words input[type=text]:focus:-ms-input-placeholder,
.add_words input[type=text]:hover:-ms-input-placeholder,
.add_words input[type=text]:focus:-moz-placeholder,
.add_words input[type=text]:hover:-moz-placeholder {
	color:#4571c0;
}
.add_words input[type=submit] {
	background-color: #4571c0;
	color: white;
	border: 0;
	border-bottom:3px solid #2c4c85;
}
.add_words input[type=submit]:hover {
	border-bottom:0;
	border-top:3px solid white;
}
.search_block h3 {
	margin-top:20px;
	margin-bottom: 3px;
}
.search_block input[type=text] {
	resize: none;
	width:99%;
	max-width: 200px;
	padding:2px 15px;
}
.result_block {
	padding:20px 0;
}
.search_block button {
	margin:15px 0;
}
.search_block label {
	margin-left:7px;
}
.one_name {
	padding:10px;
	border-bottom: 1px solid #ececec;
}
#pagination {
	text-align: center;
}
#pagination a {
	font-size: 18px;
	padding:15px 5px;
	display: inline-block;
}
.congratulations nav {
	margin:15px 0;
	text-align: center;
}
.congratulations nav span {
	font-family: "RobotoRegular";
	margin:0 10px;
}
.congratulations nav span a {
	color: black;
}
.line {
	background-image: url(/img/line.png);
	background-repeat: repeat-x;
	width: 100%;
	height:5px;
	margin:15px 0;
	background-size: contain;
	display: block;
}
.one_congratulation {
	font-family: 'Arial';
}
.nav-link.active,
.nav-item.show .nav-link {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
.toggle_nav div {
	background-color: #ececec;
	border-radius: 2px;
	padding:1px 3px;
	display: inline-block;
	display: none;
	cursor: pointer;
}
.toggle_nav div img {
	opacity: .6;
	height: 40px;
}
.word_info {
    font-size:14px;
    color:#999;
    padding-left:3px;
    padding-top:3px;
}
.textarea_block {
	position: relative;
}
.textarea_block span {
	position: absolute;
	top:20px;
	right: 10px;
	font-weight: bold;
	color:#aaaaaa;
	cursor:help;
	font-size: 13px;
}
.textarea_block span:hover {
	color:#777777;
}
.header_profile_block {
	position: relative;
}
.header_profile_block img {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	border:1px solid #ddd;
}
.header_profile_block .profile_info {
	display: none;
	position: absolute;
	top:50px;
	left:-90px;
	width: 140px;
	background:white;
	color:#777;
	font-size: 12px;
	border:1px solid #ddd;
}
.header_profile_block .profile_info a {
	color:#777;
}
.header_profile_block .profile_info > a > div {
	padding:3px 6px;
}
.header_profile_block .profile_info > a:hover {
	text-decoration: none;
}
.header_profile_block .profile_info > a > div:hover {
	background-color: #f5f5f5;
}
.header_profile_block .profile_info .profile_name {
	background-color: #eff3f6;
	font-weight: bold;
	padding:3px 6px;
}
.rec_mus_notif {
	border-top:1px solid #ddd;
	text-align: center;
	font-size: 9px;
	padding:3px 0;
}
.one_ya_res {
    margin: 0px;
    padding: 9px 2px 10px;
    border-bottom: 1px solid #ccc;
    font-size: 0.9em;
}
.logo_animated {
	position: relative;
	display: inline-block;
}
.first_e, .second_e {
	position: absolute;
	left:16px;
	bottom: 4px;
	width: 10px;
	height: 10px;
	background-image: url(/img/e.png);
	background-size: 100%;
	display: none;
}
.second_e {
	left:38px;
}
.one_product {
	border: 1px solid #ddd;
	min-height: 200px;
	position: relative;
}
.product_image {
	text-align: center;
	padding-top:5px;
}
.product_image img {
	height: 100px;
}
.product_name {
	font-weight:bold;
	font-size: 13px;
	padding:15px 20px 0 20px;
}
.product_buy {
	position: absolute;
	bottom: 0;
	left:0;
	width: 100%;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #229ac8;
    background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
    background-repeat: repeat-x;
    border-color: #1f90bb #1f90bb #145e7a;
    text-align: center;
    padding: 8px 0;
    font-size: 15px;
}
.enter_btn {
	font-weight: bold;
}
.enter_btn.srolled {
	background-color: #404040; 
    display: inline-block;
	padding:7px 25px;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));           
	background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);           
	-webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);           
	-o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}
#subcatAuth.srolled {
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));           
	background-image: -moz-linear-gradient(center top, #444 0%, #555 50%, #444 51%, #444 100%);           
	-webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);           
	-o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
	top: 36px;
	left: 17px;
	width: 94.55px;
	text-align: center;
}
a.enter_btn.srolled {
	cursor: pointer;
}
a.enter_btn.srolled:hover {
	text-decoration: none;
}
.top_header #subcatAuth.srolled.subcat li {
	padding: 10px 0;
}
#subcatAuth img {
	width: 30px;
	height: 17px;
	border: none;
}
.modal-header .close {
    margin-top: -20px;
}
.post_block {
	display: block;
	padding: 10px;
}
.post_block .title {
	font-size: 12px;
}

.locations {
	padding:10px 20px;
	background-color: #ddebf7;
	color: #323232;
}
.locations .one_location {
	padding:3px 0;
}
.taxis {
	display: table;
	width: 100%;
}
.one_taxi_header  {
	background-color: #ddebf7;
	font-weight: bold;
}
.one_taxi, .one_taxi_header  {
	padding: 7px 15px;
}
.one_taxi {
	border-bottom: 1px solid #ececec;
}
.selectLang, .selectLang:focus-visible {
	background-color: transparent;
	border-color: transparent;
	color: white;
	outline: none;
	text-align: right;
}
.selectLang option {
	background-color: #5273ba;
	padding: 2px 5px;
	text-align: right;
}/
* Стили для автодополнения */
.suggestions-container {
    position: relative;
    z-index: 1000;
}

.suggestions-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-original {
    font-weight: bold;
    color: #333;
}

.suggestion-translation {
    color: #666;
}

/* Индикатор загрузки */
.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.loading-indicator i {
    margin-right: 8px;
}

/* Сообщение об ошибке */
.error-message {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    margin: 10px 0;
}

/* Улучшенные стили для результатов */
.one_word_in_text {
    position: relative;
    transition: all 0.2s ease;
}

.one_word_in_text:hover {
    background-color: #e3f2fd;
    border-radius: 3px;
    padding: 1px 3px;
}

/* Статистика сложности текста */
.text-complexity {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-size: 12px;
    color: #6c757d;
}

.complexity-easy { color: #28a745; }
.complexity-medium { color: #ffc107; }
.complexity-hard { color: #fd7e14; }
.complexity-very-hard { color: #dc3545; }

/* Улучшенная адаптивность */
@media (max-width: 768px) {
    .suggestions-list {
        font-size: 12px;
    }
    
    .suggestion-item {
        padding: 6px 10px;
    }
    
    .showWordDetailsDiv {
        width: 200px;
        font-size: 12px;
    }
}