@charset "UTF-8";
.modal {
  overflow: auto; /* Запрещаем прокрутку основного документа */
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 34, 92, 0.46);
  -webkit-backdrop-filter: blur(11px);
          backdrop-filter: blur(11px);
  transition: all 0.5s ease-in-out;
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 0;
  width: 296px;
  position: relative;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.modal-content-top {
  margin: 5% auto;
}

.modal-button {
  background-color: #fff;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  height: 60px;
  text-align: center;
  width: 50%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: #23225C;
  font-size: 16px;
  border-bottom: 1px solid #D8DCE1;
  cursor: pointer;
}

.modal-button-active {
  color: #fff;
  background-color: #23225C;
}

.modal-content-main {
  padding: 16px;
}
.modal-content-main p {
  font-size: 14px;
}
.modal-content-main .text-danger {
  line-height: 21px;
  margin-bottom: 5px;
  background: #f36e6e;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  display: block;
}

.modal-content-main input::-moz-placeholder {
  margin-left: 15px;
}

.modal-content-main input::placeholder {
  margin-left: 15px;
}

.modal-content-main input {
  width: 264px;
  height: 48px;
  border: 2px solid #D8DCE1;
  border-radius: 8px;
  padding-left: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.modal-content-main input:focus, .modal-content-main input:active {
  border-color: #D8DCE1;
}

.modal-content-main input:first-child {
  margin-top: 15px;
}

.modal-content-p {
  color: #8E8997;
}

.modal-strong-dark {
  color: #545158;
}

.modal-button-login, .modal-button-proceed, .modal-button-look {
  width: 264px;
  background-color: #23225C;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-content-button-flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  margin-left: 25px;
  margin-right: 25px;
  gap: 20px;
}

.modal-content-button-flex-column img {
  width: 100px;
}

.modal-content-button-flex-column .modal-content-p {
  text-align: center;
  margin: -5px 0 5px;
}

.modal-input-margin {
  margin-bottom: 10px;
}

.modal-content-p-head {
  color: #23225C;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}

.close-modal {
  text-decoration: none;
  color: #454545;
  font-size: 34px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 5px;
}

.modal {
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal-language {
  background-color: #eeecec;
  margin: 5% auto;
  padding: 20px 40px 40px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.5s ease-in-out;
  overflow-y: auto; /* Включаем вертикальную прокрутку */
}
.modal-language a {
  text-decoration: none;
  color: #8E8897;
  font-size: 18px;
  cursor: pointer;
}
.modal-language a:hover {
  text-decoration: underline;
}

.modal-premium {
  background-color: #eeecec;
  margin: 5% auto;
  padding: 20px 40px 40px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.5s ease-in-out;
}
.modal-premium a {
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
}
.modal-premium a:hover {
  text-decoration: underline;
}
.modal-premium .container-premium .select2-container {
  display: block !important;
}

.modal-language-width {
  max-width: 1000px;
  width: 100%;
}

.modal-premium-width {
  max-width: 1000px;
  width: 100%;
}

.close1,
.close2,
.close3 {
  cursor: pointer;
  font-size: 30px;
  display: flex;
  justify-content: flex-end;
}

.modal-language-button {
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  height: 50px;
  background: #eee;
  border-radius: 8px;
  display: flex;
  margin-bottom: 24px;
}
.modal-language-button .buttonBlue {
  border: none;
  width: 200px;
  height: 50px;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 150%;
  color: #8E8997;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modal-language-button .buttonBlue span {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
}
.modal-language-button .buttonBlue img {
  width: 20px;
  height: 20px;
}

.modal-language-button button:hover {
  background-color: #ddd;
  border-radius: 8px;
}

.modal-language-button button.active {
  background: #427ff5;
  border-radius: 8px;
  color: #fff;
}

.tabcontents {
  display: none;
}

.tabcontents-landuage {
  display: grid;
  grid-template-columns: repeat(5, 200px);
}
.tabcontents-landuage p {
  font-size: 16px;
  line-height: 19px;
  color: #545158;
  height: 35px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-left: 8px;
}
.tabcontents-landuage span {
  font-weight: 600;
  margin-right: 8px;
}
.tabcontents-landuage p:hover {
  text-decoration: underline;
}
.tabcontents-landuage .active {
  background: #E1EEFF;
  border-radius: 8px;
}
.tabcontents-landuage__column {
  display: grid;
  grid-template-columns: repeat(5, 200px);
}
@media (max-width: 1000px) {
  .tabcontents-landuage__column {
    grid-template-columns: repeat(4, 200px);
  }
}
@media (max-width: 768px) {
  .tabcontents-landuage__column {
    grid-template-columns: repeat(3, 200px);
  }
}
@media (max-width: 606px) {
  .tabcontents-landuage__column {
    grid-template-columns: repeat(2, 200px);
  }
}

.modal h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 130%;
  text-align: center;
  color: #23225C;
  margin-bottom: 40px;
}
.modal .text16-margin {
  margin-top: 16px;
}
.modal .header-p {
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  color: #545158;
  margin: 16px 0 8px;
}

.modal-create-accaunt {
  text-align: center;
}
.modal-create-accaunt h2 {
  margin-bottom: 16px;
}
.modal-create-accaunt h2 + p {
  color: #545158;
  margin-bottom: 30px;
  padding-left: 27px;
  padding-right: 27px;
}
.modal-create-accaunt input {
  width: 264px;
  height: 48px;
  border: 2px solid #D8DCE1;
  border-radius: 8px;
  margin-bottom: 10px;
}
.modal-create-accaunt .button-darkblue {
  margin: 50px 0 10px;
  width: 270px;
  height: 50px;
}
.modal-create-accaunt button + p, .modal-create-accaunt a {
  color: #A7AFB9;
  padding-bottom: 10px;
}
.modal-create-accaunt a {
  text-decoration: underline;
}

.modal-grade h3 {
  margin-bottom: 30px;
}

.modal-grade-card {
  width: 394px;
  height: 70px;
  background: #E1EEFF;
  border-radius: 8px;
  margin: 0 28.5px;
  padding: 15px 32px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.modal-grade-card img {
  width: 137.04px;
  height: 40px;
  margin-right: 15px;
}
.modal-grade-card img + p {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
}
.modal-grade-card img + p span {
  font-weight: 400;
}
.modal-grade-card .modal-grade-card-review {
  margin-left: 10px;
}
.modal-grade-card .modal-grade-card-review p {
  font-size: 16px;
  line-height: 19px;
  color: #000000;
}
.modal-grade-card .modal-grade-card-review p:nth-child(1) {
  font-weight: 600;
}
.modal-grade-card .modal-grade-card-review p:nth-child(2) {
  font-weight: 300;
}

.modal-grade-content {
  margin: 0 28.5px;
}
.modal-grade-content .modal-grade-content-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #C4C4C4;
}
.modal-grade-content .modal-grade-content-row .left-p {
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  color: #23225C;
  margin-right: 24px;
}
.modal-grade-content .modal-grade-content-row .right-p {
  line-height: 150%;
  color: #545158;
}

.modal-grade-conten-after {
  margin: 20px 28.5px 0;
}
.modal-grade-conten-after p {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
}

.button-for-modal-window {
  display: flex;
  flex-direction: column;
}
.button-for-modal-window button {
  margin: 15px 0;
  width: 170px;
  height: 40px;
  background: #23225C;
  border-radius: 8px;
  color: #fff;
  border: none;
  cursor: pointer;
}

.lang-flag {
  margin-right: 8px;
  padding: 0 !important;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.btn-lang-switch {
  background: none; /* Убираем фон */
  border: none; /* Убираем рамку */
  padding: 0; /* Убираем отступы */
  cursor: pointer; /* Меняем курсор на указатель */
  text-decoration: none; /* Убираем подчеркивание текста */
  color: inherit; /* Наследуем цвет текста */
  display: inline; /* Оставляем кнопку в потоке */
}

.btn-lang-switch p {
  margin: 0; /* Убираем внешние отступы у абзаца */
}

.btn-lang-switch img {
  display: inline; /* Убираем возможные блоковые отступы для изображения */
  vertical-align: middle; /* Горизонтально центрируем изображение с текстом */
}

.modal-search {
  background-color: #eeecec;
  border-radius: 8px;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
  margin: 5% auto;
  padding: 20px 40px 40px;
  transition: all 0.5s ease-in-out;
}

.modal-search a {
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
}

.modal-search a:hover {
  text-decoration: underline;
}

.openModalLanguage {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.openModalLanguage .lang-flag {
  margin-right: 10px;
}
.openModalLanguage .header__right-p-small {
  color: #b3d8ff;
  margin: 0 0 0;
}
