* {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-family: 'Play', sans-serif;
}

body,html {
	padding: 0;
	margin: 0;
	color: #000;
	background: url(../images/background.png) top left repeat;
	width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.nav-links__main, .nav-links__main ul, .nav-links__auth {
	display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nav-links__main ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	display: inline-block;
    text-decoration: none; /* Убираем подчеркивание */
    color: #333; /* Цвет текста (темно-серый) */
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
	line-height: normal;
    transition: all 0.3s ease;
}
.nav-links a.lk-link {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.nav-links a.lk-link span{
	font-size: 13px;
	color: #666;
	font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    background-color: #f0f0f0; /* Светлый фон при наведении */
    color: #007bff; /* Синий цвет текста */
}

.nav-links a.login {
    border: 2px solid #2a8e56;
	border-radius: 6px;
	padding: 6px 12px;
}
.nav-links a.login:hover {
    background-color: #2a8e56;
    color: #fff;
}

.nav-links a.logout {
    color: #d9534f; /* Красный цвет для выхода */
}

.nav-links a.logout:hover {
    background-color: #ffe6e6; /* Светло-красный фон */
    color: #c9302c; /* Темно-красный при наведении */
}

.menu-toggle {
    display: none;
    font-size: 26px;
    padding: 0 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* Затемнение фона при открытом меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1000;
}

/* Мобильное меню */
.nav-links__main {
    transition: transform 0.3s ease;
}

/* Стили при открытом меню */
body.menu-open .nav-links__main {
    transform: translateX(0);
}

.menu-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 1003;
}

.reklama-wrapper {
	text-align: center;
	margin-top: 5px;
}
.advertising-offer-wrapper {
	padding: 8px;
	height: 110px;
	font-size: 1.2rem;
	border: 1px solid #2a8e56;
	border-radius: 6px;
	text-align: center;
	margin-bottom: 5px;
}
.advertising-offer {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	
}
.banner-wrapper {
	text-align: center;
}
.banner-wrapper a {
	display: inline-block;
}
.banner-wrapper img {
	width: 100%;
	max-width: 710px;
	max-height: 110px;
	object-fit: cover;
}
#dosh_block {
	height: 100%;
	width: 100%;
	max-width: 1200px;
	margin: 10px auto 15px;
	padding: 0 10px;	
}
#dosh_block #lang_block {
    display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
#dosh_block #lang_block a {
	display: flex;
	align-items: center;
	font-size: 13pt;
	gap: 3px;
}
#dosh_block #lang_block a img {
	width: 20px;
	object-fit: contain;
}
#dosh_block header {
    position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	margin-bottom: 20px;
	overflow: hidden;
}
#dosh_block #logo {
	width: 80px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	display: inline-block;
	margin-right: 10px;
}
#dosh_block #logo img {
	width: 100%;
	object-fit: contain;
}
#dosh_block header h1 {
	font-size: 20pt;
	font-weight: normal;
	margin: 0;
}
#dosh_block header h1 {
	color: #157D1D;
	font-size: 26pt;
	font-weight: bold;
}
#dosh_block header h1 a {
	text-decoration: none;
	color: #2a8e56;
}
.support {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	column-gap: 15px;
	row-gap: 4px;
	overflow: hidden;
}
.support__btn {
	all: unset;
	box-sizing: border-box;
    display: block;
	min-width: 225px;
	backdrop-filter: blur(3px);
    text-align: center;
    font-weight: 700;
	border: 2px solid #2a8e56;
	border-radius: 4px;
	padding: 4px 15px;
	transition: .3s;
}
.support__btn:hover:enabled {
	background-color: #2a8e56;
	color: #fff;
}
.support-us {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-grow: 1;
}
.support-us__text {
	line-height: normal;
}
.support-us__marquee {
	width: 100%;
	line-height: normal;
	display: flex;
	align-items: center;
}
.marquee span {
	display: inline-block;
	padding-right: 8px;
}
.main-notice p {
	margin-bottom: 0;
}
.registration-message, .main-notice {
	background-color: #ffffff;
	color: #000000;
	padding: 10px;
	border-radius: 4px;
	text-align: center; 
	margin-bottom: 10px; 
	line-height: normal;
	box-shadow: 0 0 5px #DAD6D6;
}
.registration-message p:last-child {
	margin-bottom: 0;
}

.instructions {
	text-align: center; 
	margin-bottom: 10px; 
	font-size: 18px;
	line-height: normal;
}

.tabs {
	display: inline-flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 5px;
	width: 100%;
}
.tabs__btn {
	all: unset;
	box-sizing: border-box;
	flex: 1 1;
	padding: 4px 15px;
	cursor: pointer;
	transition: .3s;
	font-weight: 700;
	line-height: normal;
	text-align: center;
	border: 1px solid #4d5f55;
	border-radius: 4px;
}
.tabs__btn:not(:last-child) {
	border-right: 1px solid #4d5f55;
}
.tabs__btn:hover:enabled, .tabs .active {
	background-color: #4d5f55;
	color: #fff;
}
.tabs__btn_disabled {
	opacity: 0.5;
}
.dikdosham-wrapper, .niysadosham-wrapper, .etimologin-dosham-wrapper, .etimologin-dosham-result, .yoza-wrapper, .dd-info, .nd-info, .ed-info, .text-tallar-wrapper, .dosh-heza-wrapper {
	display: none;
}
.title__wrapper {
	width: 100%; 
	display: flex;
	justify-content: space-between; 
	align-items: center;
}
.about__btn {
	display: inline-block;
	min-width: 90px;
	font-size: 14px;
	line-height: normal;
	text-align: center;
	color: #414141;
	font-weight: 700;
	text-decoration: none;
	padding: 4px 12px;
	border-radius: 4px;
	border: 2px solid #2a8e56;
	align-self: flex-end;
	transition: all ease-in .2s;
}
.about__btn:hover {
	background-color: #2a8e56;
	color: #fff;
}
.about__certificate {
	text-align: center;
	width: 100%;
}
.about__certificate img {
	width: 100%;
	object-fit: contain;
}
.modal-dialog {
	max-width: 700px;
}
.description__title {
	font-weight: 700;
}
#dosh_block #dosh_form, .ed-form {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.input-wrapper {
	position: relative;
	flex-grow: 1;
}
.textarea-wrapper {
	position: relative;
}
#dosh_block #word, .ed-word {
	padding: 10px 35px 10px 10px;
	border: 1px solid #2a8e56;
	border-radius: 6px;
	width: 100%;
	font-size: 13pt;
	line-height: normal;
}
.keyboard-btn {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	color: #848484;
    transition: .3s;
}
.keyboard-btn:hover {
	color: #2A4142;
}
.textarea-wrapper .keyboard-btn {
	top: 15px;
	right: 15px;
}
.editor-wrapper {
	position: relative;
}
.text-tallar-wrapper .keyboard-btn {
	top: 15px;
	right: 5px;
}
#errors-block, #ed-errors-block {
	display: none;
	margin-bottom: 20px;
}
#errors-block #error_translate, #errors-block #error_no_word, .error_no_word {
	font-size: 11pt;
	background-color: rgba(255, 0, 51, 0.8);
	border-radius: 3px;
	color: #fff;
	padding: 5px;
}
#dosh_block #word:focus, #dosh_block #translate_btn:focus, .ed-word:focus, .ed-button:focus {
	outline: none;
}
#dosh_block #translate_btn, .yoza__link, .ed-button {
	-webkit-box-shadow: 0 0 2px #2a8e56;
	        box-shadow: 0 0 2px #2a8e56;
	font-size: 13pt;
	line-height: normal;
	padding: 10px 20px;
	width: 100%;
	max-width: 150px;
	min-width: 116px;
	border: 1px solid #2a8e56;
	border-radius: 6px;
	background-color: #2a8e56;
	color: #fff;
	-webkit-transition: box-shadow 0.3s ease-out;
     -o-transition: box-shadow 0.3s ease-out;
     -webkit-transition: -webkit-box-shadow 0.3s ease-out;
     transition: -webkit-box-shadow 0.3s ease-out;
     transition: box-shadow 0.3s ease-out;
     transition: box-shadow 0.3s ease-out, -webkit-box-shadow 0.3s ease-out;
}
#dosh_block #translate_btn:hover, #dosh_block #translate_btn:focus, .yoza__link:hover, .ed-button:focus, .ed-button:hover {
	cursor: pointer;
	-webkit-box-shadow: 0 0 5px #000;
	        box-shadow: 0 0 5px #000;
}
#dosh_block #translate_btn:active, .ed-button:active {
	-webkit-box-shadow: 0 0 2px #000;
	        box-shadow: 0 0 2px #000;
}
.yoza__desc {
	text-decoration: none;
	overflow: hidden;
	white-space: nowrap;
	background-color: #fff;
	color: #666;
}
.yoza__link {
	text-decoration: none;
	display: block;
	text-align: center;
}
/* .yoza .custom-tooltip {
	right: 0;
	left: auto;
	top: 35px;
} */
.keboard-toggle-btn-wrapper {
	display: none;
	justify-content: flex-end;
	margin-bottom: 5px;
}
.keboard-toggle-btn {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 2px;
	color: #848484;
	transition: .3s;
}
.keboard-toggle-btn:hover {
	color: #2A4142;
}
#dosh_block #dosham_info, .nd-info, .dd-info, .ed-info, .tariffs-container, .contacts-container {
	font-size: 13pt;
	color: #2A4142;
	text-align: justify;
	overflow-y: auto; 
	margin-bottom: 20px;
	padding: 15px;
	background-color: #FFFDC5;
	border-radius: 12px;
	-webkit-box-shadow: 0 0 5px #DAD6D6;
	        box-shadow: 0 0 5px #DAD6D6;	
}
#dosh_block #dosham_info h1{
	font-size: 16pt;
	margin-top: 0;
	text-align: center;
}
#dosh_block #dosham_info p.opis {
	margin-top:0; 
	margin-bottom: 0;
	padding-top: 0;
	/*font-size: 12pt;*/
}
#dosh_block #dosham_info ol {
	padding-top: 0;
	/*font-size: 12pt;*/
	margin-top: 0;
}
#dosh_block #dosham_info ol li {
	list-style-type: decimal;
	margin-bottom: 5px;
	margin-left: 15px;
}
#result, .ed-result {
	font-size: 13pt;
	color: #2A4142;
	overflow-y: auto; 
	display: none;
	padding: 15px;
	background-color: #FFFDC5;
	border-radius: 12px;
	-webkit-box-shadow: 0 0 5px #DAD6D6;
	        box-shadow: 0 0 5px #DAD6D6;
}
#result .preloader, .ed-result .preloader {
	width: 100%;
    padding: 50px 10px;
    text-align: center;
}
#result .preloader img, .ed-result .preloader img {
	width: 128px;
}
#result .dict_header {
	font-size: 16pt;
	color: #01A1F1;
	margin-bottom: 10px;
}
#result .dict_header:nth-child(1) {
	margin-top: 0;
}
#result .slovo {
	display: flex;
	align-items: center;
	gap: 5px;
	line-height: normal;
	font-weight: bold;
	font-size: 15pt;
	margin-bottom: 5px;
}
.ed-result .slovo-text {
	font-weight: bold;
	font-size: 15pt;
}
#result .slovo-text:hover, #result .open_perevod:hover {
	cursor: pointer;
	color: #32A2A7;
}
.dosham-voiceover {
	display: flex;
	align-items: center;
	margin-right: 10px;
}
.dosham-voiceover__btn, .dosham-voiceover__play-stop-btn {
	all: unset;
	cursor: pointer;
	font-size: 12px;
	color: #002033cc;
	transition: .3s;
}
.dosham-voiceover__btn[disabled="true"] {
	cursor: default;
} 
.dosham-voiceover__btn:hover, .dosham-voiceover__play-stop-btn:hover {
	color: #0c5987;
}
#result .open_perevod {
	text-decoration: underline;
	color: #666;
	font-size: 13px;
}

#result .perevod {
	text-align: justify;
	padding-left: 20px;
	display: none;
	margin-bottom: 10px;
}
.suggested-word {
	display: block;
	margin-bottom: 4px;
	font-size: 20px;
	text-decoration-skip-ink: none;
}

.tariffs-container {
	text-align: center;
}

.tariffs-title, .contacts-title {
	font-size: 2rem;
	margin-bottom: 30px;
}

.tariff-cards {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.tariff-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 20px;
	width: 250px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tariff-card .name {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 10px;
}

.tariff-card .price {
	font-size: 1.5rem;
	color: #2a8e56;
	margin-bottom: 20px;
	font-weight: bold;
}
.tariff-button {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	background-color: transparent;
	padding: 6px 12px;
	border: 2px solid #2a8e56;
	color: #414141 !important;
	border-radius: 6px;
	line-height: normal;
	text-decoration: none !important;
	font-weight: bold !important;
	transition: all ease-in .2s;
}

.tariff-button:hover {
	background-color: #2a8e56;
    color: #fff !important;
}
.tariff-button .free-days {
	font-size: 0.8rem;
	font-weight: normal;
	color: #666;
	transition: all ease-in .2s;
}
.tariff-button:hover .free-days {
	color: #fff;
}
footer {
	position: fixed;
	bottom: 0;
    width: 100%;
    background: #3c3c3c;
}
footer .footer-block {
	width: 100%;
    max-width: 1004px;
    margin: auto;
	padding: 15px 10px;
	background: #3c3c3c;
	color: #fff;
	font-size: 18px;
	
}

@media (max-width: 900px){
	.menu-toggle {
        display: block;
    }

    .nav-links__main {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        background: #fefbe9;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 60px 20px 20px;
        transform: translateX(-100%);
        z-index: 1002;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
	.nav-links__main ul {
		flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
	}

	.menu-close {
        display: block;
    }

    body.menu-open .menu-overlay {
        display: block;
    }
}

/*   TABLET  : 768px -----------------------------   */
@media (max-width: 768px){
	#dosh_block header {
		/* margin-top: 15px; */
		margin-bottom: 15px;
	}
	#dosh_block #translate_btn, .yoza__link {
		width: 200px;
	}
	#dosh_block #dosham_info, #result {
		font-size: 12pt;
	}
	.textarea-wrapper .keyboard-btn {
		right: 8px;
	}
	footer .footer-block {
		font-size: 16px;
	}

	
}

@media (max-width: 700px){
	#dosh_block #logo {
	    margin-right: 5px;
   	}
	.support {
		flex-wrap: wrap;
	}
	.support__btn {
		width: 100%;
	}
	#dosh_block #dosham_info ol {
		padding-left: 20px;
	}
	footer .footer-block {
		font-size: 15px;
	}

}

@media (max-width: 500px){
	.tabs__btn {
		padding: 4px 8px;
		font-size: 15px;
	}
}

/*   Phone  : 480px -----------------------------   */ 
@media (max-width: 480px){

	.advertising-offer-wrapper {
		height: 55px;
	}
	.advertising-offer {
		font-size: 14px;
		line-height: normal;
	}
	#dosh_block #lang_block a {
		font-size: 14px;
	}
	#dosh_block #lang_block a img {
		width: 20px;
	}
	#dosh_block header h1 {
		font-size: 20pt;
	}
	#dosh_block #word, #dosh_block #translate_btn, .yoza__desc, .yoza__link, .ed-word, .ed-button {
		font-size: 11pt;
	}
	.tabs__btn {
		padding: 4px;
		font-size: 14px;
	}
	#dosh_block #word, .yoza__desc, .ed-word {
		margin-right: 5px;
	}
	#dosh_block #translate_btn, .yoza__link, .ed-button {
		width: 100px;
	}
	#dosh_block #dosham_info, #result {
	    font-size: 11pt;
	}
	#dosh_block #dosham_info h1 {
    	font-size: 14pt;
	}
	#dosh_block #dosham_info ol {
	    padding-left: 15px;
	}
	#result .dict_header {
	    font-size: 14pt;
	}
	#result .slovo {
		font-size: 13pt;
	}
	.dosham-voiceover__btn, .dosham-voiceover__play-stop-btn {
		font-size: 14px;
	}
	footer .footer-block {
		padding: 10px;
		font-size: 14px;
	}
}

@media (max-width: 400px){
	.tabs__btn {
		padding: 4px;
		font-size: 14px;
	}
}

@media (max-width: 376px){
	#dosh_block header {
		padding-top: 10px;
	}
	#dosh_block #logo {
	    width: 60px;
	}
	#dosh_block header h1 {
		font-size: 16pt;
	}
	.about__btn {
		padding: 3px 10px;
		font-size: 12px;
	}
	.support {
		font-size: 14px;
	}

}

/*   Phone  : 320px -----------------------------   */
@media (max-width: 320px){
	
	#dosh_block #translate_btn, .yoza__link {
	    padding: 10px 15px;
	}
	#dosh_block #dosham_info ol {
	    padding-left: 10px;
	}
	footer .footer-block {
	    font-size: 12px;
	}
}