@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  src: url("../fonts/Inter.woff2") format("woff2") tech("variations"), url("../fonts/Inter.woff2") format("woff2-variations");
  font-weight: 400, 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ActayWide-Bold";
  src: url("../fonts/ActayWide-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cybero";
  src: url("../fonts/cybero.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background: linear-gradient(#e6edfd, #cbdefe);
  min-height: 100vh;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.page-wrapper {
  min-height: calc(100vh - 110px);
}

@media (max-width: 430px) {
  .container {
    padding: 0 16px;
  }
}
.header {
  padding-top: 50px;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}
.header__inner img {
  height: 42px;
  width: 105px;
}
.header__authorization {
  display: flex;
  gap: 32px;
}
.header__authorization-item {
  background-color: #ffffff;
  color: #1b1e22;
  height: 47px;
  width: 175px;
  border-radius: 16px;
  padding: 10px 10px;
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  transition: all 0.3s ease;
  display: block;
}
.header__authorization-item:hover {
  transform: scale(1.05);
}

.about {
  height: 554px;
  position: relative;
  font-size: 32px;
  line-height: 1.4;
  margin-top: 83px;
}
.about__title {
  position: absolute;
  z-index: -100;
  top: 0;
  height: 400px;
  width: 1238px;
  overflow: hidden;
}
.about__text-top {
  max-width: 545px;
  margin-left: 693px;
}
.about__text-bottom {
  max-width: 580px;
  margin-top: 329px;
}
.about__3d-object {
  position: absolute;
  z-index: -200;
  top: 100px;
  filter: blur(1px);
}

.white-container {
  background-color: #ffffff;
  border-radius: 0 0 32px 32px;
  padding: 50px 105px;
  margin-bottom: 100px;
}
.white-container__top {
  margin-top: 56px;
  width: 100%;
  position: relative;
}
.white-container__wave {
  width: 100%;
  height: auto;
  display: block;
}
.white-container__wave--mobile {
  display: none;
}
.white-container__play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -90%);
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  filter: drop-shadow(0px 0px 30px #e1ebf7);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}
.white-container__play-btn img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.white-container__play-btn:hover {
  transform: translate(-50%, -90%) scale(1.05);
}
.white-container__play-btn:hover img {
  transform: scale(1.05);
}

.why-us {
  margin-bottom: 100px;
}
.why-us__title {
  font-family: "ActayWide-Bold", sans-serif;
  font-weight: 700;
  font-size: 85px;
  color: #1b1e22;
  line-height: 1;
  letter-spacing: 0.087em;
  text-indent: -5px !important;
  margin-bottom: 50px;
}
.why-us__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
}
.why-us__item {
  min-width: 243px;
  height: 243px;
  border-radius: 24px;
  background-color: #e8ebf2;
  transition: all 0.3s ease;
  display: block;
}
.why-us__item:hover {
  transform: scale(1.05);
}
.why-us__item_blue {
  background-color: #90a3ee;
}
.why-us__item_hidden {
  visibility: hidden;
}

.back-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: scale(1);
  z-index: 1000;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.back-top:hover {
  transform: scale(1.05);
}

.footer {
  margin: auto;
  font-size: 20px;
  line-height: 1.4;
  color: #1b1e22;
}
.footer img {
  margin-bottom: 50px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1240px;
  margin: auto;
  margin-bottom: 50px;
}
.footer__contact {
  width: 404px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
}
.footer__contact-title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer__link {
  color: #b2b4bf;
  font-size: 20px;
  line-height: 1.4;
}
.footer__link:hover {
  -webkit-text-decoration: underline 1px;
          text-decoration: underline 1px;
}
.footer__bottom {
  height: 150px;
  width: 1240px;
  background-image: url(/static/core/img/footer-logo.svg);
  bottom: 0;
  margin-inline: auto;
}

@media (max-width: 430px) {
  .header {
    padding-top: 0;
    margin: 32px 16px 43px;
  }
  .header__inner {
    height: 24px;
  }
  .header__inner img {
    height: auto;
    width: auto;
  }
  .header__authorization {
    display: none;
  }
  .about {
    height: auto;
    font-size: 18px;
    margin-top: 16px;
  }
  .about__title {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .about__text-top {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 24px;
  }
  .about__text-bottom {
    max-width: 100%;
    margin-block: 92px;
  }
  .about__3d-object {
    display: none;
  }
  .white-container__play-btn {
    top: 35%;
    width: 124px;
    height: 124px;
  }
  .white-container {
    padding: 24px 15px;
    margin-bottom: 40px;
    border-radius: 0 0 16px 16px;
  }
  .white-container__wave--desktop {
    display: none;
  }
  .white-container__wave--mobile {
    display: block;
  }
  .why-us {
    margin-bottom: 50px;
  }
  .why-us__title {
    font-size: 40px;
    letter-spacing: 0.05em;
    text-indent: 0 !important;
    margin-bottom: 24px;
  }
  .why-us__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .why-us__item {
    min-width: 0;
    height: 178px;
  }
  .why-us__item_hidden {
    display: none;
  }
  .back-top {
    right: 16px;
    bottom: 24px;
  }
  .back-top img {
    width: 56px;
    height: 56px;
  }
  .footer {
    font-size: 16px;
  }
  .footer img {
    margin-bottom: 24px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
    margin-bottom: 24px;
  }
  .footer__contact {
    width: 100%;
  }
  .footer__contact-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .footer__links {
    align-items: flex-start;
    width: 100%;
  }
  .footer__bottom {
    width: 100%;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}
.auth-header {
  display: none;
}

.footer-log {
  height: 110px;
  font-size: 20px;
  line-height: 1.4;
}
.footer-log__inner {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 820px;
  margin: auto;
  margin-bottom: 16px;
}
.footer-log__item {
  color: #b2b4bf;
}
.footer-log__item:hover {
  -webkit-text-decoration: underline 1px;
          text-decoration: underline 1px;
}
.footer-log__year {
  font-family: "Inter";
  font-weight: 500;
  font-size: 24px;
  color: #1b1e22;
  position: absolute;
  display: inline-block;
  right: 50px;
  top: 75px;
}
.footer-log__year span {
  font-weight: 400;
}
.footer-log__bottom {
  width: 548px;
  height: 66px;
  background-image: url(/static/core/img/footer-logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  bottom: 0;
  margin-inline: auto;
}

.page-auth {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.authorization {
  background-color: #ffffff;
  height: 718px;
  width: 1240px;
  border-radius: 32px;
  position: relative;
  display: flex;
  gap: 125px;
  margin: auto;
  padding: 16px;
}
.authorization a {
  color: #1b1e22;
}
.authorization a:hover {
  -webkit-text-decoration: underline 1px;
          text-decoration: underline 1px;
}
.authorization__block {
  margin: 24px 0px 24px 24px;
}
.authorization__form {
  width: 400px;
  margin-top: 55px;
  margin-left: 65px;
  font-size: 20px;
}
.authorization__form h2 {
  font-family: "ActayWide-Bold";
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 56px;
}
.authorization__form .authorization__input {
  height: 48px;
  width: 400px;
  border-radius: 16px;
  background-color: #e8ebf2;
}
.authorization__form .authorization__input#container-email, .authorization__form .authorization__input#container-password {
  margin-bottom: 16px;
}
.authorization__form .authorization__input#container-email.error {
  margin-bottom: 8px;
}
.authorization__form .authorization__input {
  padding: 19px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.authorization__form .authorization__input:focus-within {
  border: 1px solid #1b1e22;
}
.authorization__form .authorization__input:focus-within .icon-fill {
  fill: #1b1e22;
}
.authorization__form .authorization__input:focus-within .icon-stroke {
  stroke: #1b1e22;
}
.authorization__form .authorization__input input {
  background: transparent;
  border: none;
  outline: none;
  color: #b2b4bf;
  flex: 1;
  min-width: 0;
}
.authorization__form .authorization__input:focus-within input {
  color: #1b1e22;
}
.authorization__form .authorization__input .password-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.authorization__form .authorization__input .password-toggle .icon-eye-off {
  display: none;
}
.authorization__form .authorization__input .password-toggle.active .icon-eye-on {
  display: none;
}
.authorization__form .authorization__input .password-toggle.active .icon-eye-off {
  display: block;
}
.authorization__form .authorization__input ::-moz-placeholder {
  color: #b2b4bf;
}
.authorization__form .authorization__input ::placeholder {
  color: #b2b4bf;
}
.authorization__form .authorization__input input:-webkit-autofill,
.authorization__form .authorization__input input:-webkit-autofill:hover,
.authorization__form .authorization__input input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #e8ebf2 inset;
  -webkit-text-fill-color: #1b1e22;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}
.authorization__form .authorization__input.error {
  border: 1px solid #ba2121;
  background-color: #f2d7d7;
}
.authorization__form .authorization__input.error .icon-fill {
  fill: #ba2121;
}
.authorization__form .authorization__input.error .icon-stroke {
  stroke: #ba2121;
}
.authorization__form .authorization__input.error input {
  color: #ba2121;
}
.authorization__form .authorization__input.error ::-moz-placeholder {
  color: #ba2121;
}
.authorization__form .authorization__input.error ::placeholder {
  color: #ba2121;
}
.authorization__form .authorization__input.error input:-webkit-autofill,
.authorization__form .authorization__input.error input:-webkit-autofill:hover,
.authorization__form .authorization__input.error input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #f2d7d7 inset;
  -webkit-text-fill-color: #ba2121;
}
.authorization__form .input-other {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}
.authorization__form form.has-error #container-password {
  margin-bottom: 8px;
}
.authorization__form form.has-error .input-other {
  margin-top: 40px;
}
.authorization__form form.has-error .authorization-btn {
  margin-top: 56px;
}
.authorization__form .checkbox-wrapper {
  display: flex;
  align-items: center;
  color: #b2b4bf;
}
.authorization__form .custom-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.authorization__form .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.authorization__form .checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #e8ebf2;
  border: 1px solid #e8ebf2;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.authorization__form .checkbox-label:hover::before {
  border-color: #90a3ee;
}
.authorization__form .custom-checkbox:checked + .checkbox-label::before {
  background-color: #e8ebf2;
  border-color: #90a3ee;
}
.authorization__form .custom-checkbox:checked + .checkbox-label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: #90a3ee;
  border-radius: 5px;
}
.authorization__form label {
  transition: color 0.3s ease;
}
.authorization__form .custom-checkbox:checked + label {
  color: #1b1e22;
}
.authorization__form .error-message {
  color: #ba2121;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: -40px;
  min-height: 20px;
  visibility: hidden;
  line-height: 1.2;
}
.authorization__form .error-message.show {
  visibility: visible;
}
.authorization__form .error-message--field {
  display: none;
  margin-bottom: 8px;
  min-height: unset;
  visibility: visible;
}
.authorization__form .error-message--field.show {
  display: block;
}
.authorization-btn {
  font-family: "Inter";
  font-weight: 500;
  color: #ffffff;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  border: none;
  background-color: #8495d7;
  border-radius: 16px;
  margin-block: 56px 24px;
  cursor: pointer;
}
.authorization-btn:hover {
  background-color: #90a3ee;
}
.authorization-btn:active {
  background-color: #8495d7;
}
.authorization-alternative {
  color: #b2b4bf;
}
.authorization__img {
  background: linear-gradient(#90a3ee, #90a3ee);
  height: 686px;
  width: 594px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.authorization__img-front {
  position: absolute;
  height: 415px;
  width: 594px;
  bottom: 0;
  z-index: 100;
  background-image: url(/static/core/img/register-blog-img.png);
}
.authorization__img img {
  position: absolute;
  bottom: -30px;
  left: -7%;
  transform: scale(2.1) scaleY(-1) rotate(-130deg);
}

@media (max-width: 430px) {
  .page-auth {
    flex-direction: column;
    align-items: center;
  }
  .auth-header {
    height: 24px;
    width: 398px;
    display: flex;
    align-items: center;
    position: sticky;
    margin: 32px 16px 43px;
  }
  .authorization {
    width: 398px;
    border-radius: 16px;
    height: auto;
    flex-direction: column;
    gap: 0;
    margin: 0 auto auto;
  }
  .authorization__block-logo {
    display: none;
  }
  .authorization__block {
    margin: 0;
    width: 366px;
  }
  .authorization__form {
    width: 366px;
    height: 618px;
    margin-left: 0px;
    margin-top: 32px;
    margin-block: 16px;
    font-size: 16px;
  }
  .authorization__form h2 {
    font-size: 32px;
    margin-bottom: 106px;
  }
  .authorization__form .authorization__input {
    width: 100%;
  }
  .authorization__form .input-other {
    margin-top: 20px;
    font-size: 14px;
  }
  .authorization__img {
    display: none;
  }
  .authorization-btn {
    width: 100%;
    height: 52px;
    font-size: 16px;
    margin-block: 178px 16px;
  }
  .footer-log {
    height: auto;
    font-size: 14px;
    padding-bottom: 16px;
  }
  .footer-log__inner {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    margin-bottom: 16px;
  }
  .footer-log__year {
    position: static;
    font-size: 18px;
  }
  .footer-log__bottom {
    width: 100%;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}
.pre-work--create {
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  bottom: 167px;
}
.pre-work__text {
  margin: 0 auto 150px;
  width: 619px;
  font-size: 32px;
  text-align: center;
  line-height: 2;
}
.pre-work__text span {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #90a3ee;
  border: 3px solid #90a3ee;
  border-radius: 110px;
  width: 283px;
  height: 56px;
  padding: 12px 56px 12px 72px;
  position: relative;
}
.pre-work__text img {
  height: 32px;
  position: absolute;
  top: 10px;
  left: 24px;
}
.pre-work__fog {
  position: absolute;
  width: 966px;
  height: 34px;
  bottom: 75px;
  z-index: 400;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
  display: none;
}
.pre-work__fog--visible {
  display: block;
}
.pre-work__promt {
  position: relative;
  width: 1030px;
  background-color: #ffffff;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
  border-radius: 32px;
  padding: 32px;
  min-height: 212px;
  height: auto;
  display: flex;
  flex-direction: column;
}
.pre-work__promt .pre-work__form-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-height: 0;
}
.pre-work__promt textarea {
  background-color: #ffffff;
  border: none;
  width: 100%;
  resize: none;
  font-size: 24px;
  display: block;
  outline: none;
  overflow-y: auto;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  min-height: 48px;
  max-height: 268px;
  scrollbar-width: thin;
  scrollbar-color: #90a3ee #ffffff;
}
.pre-work__promt textarea::-webkit-scrollbar {
  width: 6px;
}
.pre-work__promt textarea::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 4px;
}
.pre-work__promt textarea::-webkit-scrollbar-thumb {
  background: #90a3ee;
  border-radius: 4px;
}
.pre-work__promt textarea::-webkit-scrollbar-thumb:hover {
  background: #6c7ed0;
}
.pre-work__promt input {
  display: none;
}
.pre-work__promt button {
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
}
.pre-work__promt button svg {
  position: absolute;
  bottom: -8px;
  right: 0px;
  fill: #8495d7;
}
.pre-work__promt button svg:hover {
  fill: #90a3ee;
}
.pre-work__promt button svg:active {
  fill: #6c7ed0;
}
.pre-work__promt button:disabled {
  cursor: default;
}
.pre-work__promt button:disabled svg {
  fill: #bec9e2;
}
.pre-work__controls {
  height: 64px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-shrink: 0;
}
.pre-work__file-btn {
  cursor: pointer;
}

#pre-work-promt {
  scroll-margin-top: 40vh;
}

.btn-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-profile {
  position: relative;
  height: 56px;
  width: 56px;
  border: none;
  border-radius: 30px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-profile:hover {
  background-color: #f0f2f8;
}

.profile-popup {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(27, 30, 34, 0.12);
  padding: 24px 16px 21px;
  height: 364px;
  width: 398px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  z-index: 600;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.profile-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-popup__status {
  font-size: 18px;
  height: 28px;
  width: 70px;
  color: #ffffff;
  background-color: #90a3ee;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-bottom: 19px;
}
.profile-popup__user {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.profile-popup__user-name {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1b1e22;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-popup__user-email {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #b2b4bf;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-popup__br {
  height: 1px;
  width: 100%;
  background-color: #b2b4bf;
  margin-block: 16px;
}
.profile-popup__block {
  display: flex;
  flex-direction: column;
}
.profile-popup__block-btn {
  width: 100%;
  height: 56px;
  border: none;
  background-color: transparent;
  border-radius: 16px;
  cursor: pointer;
}
.profile-popup__block-btn:hover {
  background-color: #f6f9ff;
}
.profile-popup__block-btn:active {
  background-color: #ebedf2;
}
.profile-popup__logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 90px;
  height: 56px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #d16d6d;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.profile-popup__logout svg {
  flex-shrink: 0;
  stroke: #d16d6d;
}
.profile-popup__logout:hover {
  border-bottom-color: #de8787;
  color: #de8787;
}
.profile-popup__logout:hover svg {
  stroke: #de8787;
}
.profile-popup__logout:active {
  border-bottom-color: #d16d6d;
  color: #d16d6d;
}
.profile-popup__logout:active svg {
  stroke: #d16d6d;
}

.icon-fill {
  width: 24px;
  height: 24px;
  fill: #b2b4bf;
}

.icon-stroke {
  stroke: #b2b4bf;
}

@keyframes flash-red {
  0%, 100% {
    color: #808781;
  }
  50% {
    color: #ba2121;
  }
}
.password-strength {
  position: fixed;
  display: none;
  width: 355px;
  height: 144px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 8px 12px;
  z-index: 9999;
  box-shadow: 0px 4px 24px rgba(35, 35, 40, 0.137254902);
}
.password-strength::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 14px solid #ffffff;
}
@media (max-width: 430px) {
  .password-strength::before {
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #ffffff;
    border-bottom: none;
  }
}
.password-strength.show {
  display: block;
}
.password-strength ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.password-strength .password-check-item {
  font-size: 13px;
  color: #808781;
  padding-left: 20px;
  position: relative;
}
.password-strength .password-check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("/static/core/img/no_cross_mini.svg") center/contain no-repeat;
}
.password-strength .password-check-item.valid {
  color: #129f23;
}
.password-strength .password-check-item.valid::before {
  background-image: url("/static/core/img/yes_cross_mini.svg");
}
.password-strength .password-check-item.invalid {
  animation: flash-red 0.8s ease 3;
}

.delete-toast {
  position: fixed;
  top: 50px;
  left: 50%;
  height: 56px;
  width: 680px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.delete-toast svg {
  flex-shrink: 0;
}
.delete-toast span {
  flex: 1;
  text-align: center;
}
.delete-toast {
  z-index: 10000;
  background: #d7efda;
  color: #129f23;
  border: 1px solid #129f23;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-24px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.delete-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.delete-toast--error {
  background: #fdecea;
  color: #ba2121;
  border-color: #ba2121;
}
.delete-toast--undo {
  background: #fdecea;
  color: #ba2121;
  border-color: #ba2121;
  padding: 16px 20px;
  justify-content: center;
}
.delete-toast__undo-right {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #ba2121;
  flex-shrink: 0;
}
.delete-toast__undo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #ba2121;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.15s ease;
}
.delete-toast__undo-btn:hover {
  background: rgba(186, 33, 33, 0.1);
}

.burger-btn {
  display: none;
}

.burger-menu {
  display: none;
}

@media (max-width: 430px) {
  .pre-work__text {
    width: 100%;
    font-size: 22px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
  }
  .pre-work__text span {
    width: auto;
    height: auto;
    padding: 10px 48px 10px 60px;
    font-size: 20px;
  }
  .pre-work__promt {
    width: 100%;
    padding: 24px;
    min-height: 160px;
    border-radius: 24px;
  }
  .pre-work__promt textarea {
    font-size: 18px;
  }
  .pre-work__fog {
    width: 100%;
  }
  .profile-popup {
    width: calc(100vw - 60px);
    height: auto;
  }
  .delete-toast {
    top: 15px;
    width: calc(100vw - 32px);
    padding: 16px;
  }
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1b1e22;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .burger-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger-btn.is-open span:nth-child(2) {
    opacity: 0;
  }
  .burger-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .burger-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 398px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 16px 32px;
    z-index: 99;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    margin-top: 43px;
  }
  .burger-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .burger-menu__nav {
    margin-bottom: 32px;
  }
  .burger-menu__link {
    font-size: 26px;
    font-weight: 500;
    color: #1b1e22;
  }
  .burger-menu__link:hover {
    text-decoration: underline;
  }
  .burger-menu__footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    margin-bottom: 240px;
  }
  .burger-menu__footer-item {
    font-size: 24px;
    color: #b2b4bf;
  }
  .burger-menu__footer-item:hover {
    text-decoration: underline;
  }
  .burger-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
  }
  .burger-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 16px;
    font-size: 16px;
    font-family: "Inter";
    font-weight: 500;
  }
  .burger-menu__btn--primary {
    background: #8495d7;
    color: #ffffff;
  }
  .burger-menu__btn--primary:hover {
    background: #90a3ee;
  }
  .burger-menu__btn--secondary {
    background: #e8ebf2;
    color: #1b1e22;
  }
  .burger-menu__btn--secondary:hover {
    background: #d0d4e0;
  }
}
.inf-pres {
  margin-block: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inf-pres h1 {
  font-family: "ActayWide-Bold";
  font-weight: 700;
  font-size: 32px;
}
.inf-pres__link {
  display: block;
  width: 313px;
  height: 56px;
  background-color: #ffffff;
  border-radius: 110px;
  font-size: 20px;
  color: #90a3ee;
}
.inf-pres__link div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  width: 249px;
  margin: 12px 48px 12px 16px;
}

.presentations-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.presentation {
  width: 610px;
  height: 426px;
  text-decoration: none;
  color: black;
  font-size: 24px;
  display: block;
}
.presentation h3 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  padding: 0;
  max-height: 2.3em;
  line-height: 1.1em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  width: 100%;
}
.presentation__preview {
  height: 351px;
  width: 100%;
  background-color: #90a3ee;
  border-radius: 32px;
  margin-bottom: 15px;
  position: relative;
}
.presentation__preview .delete-pres {
  background-color: #e8ebf2;
  border-radius: 30px;
  border: none;
  height: 40px;
  width: 40px;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.presentation__preview .delete-pres img {
  height: 24px;
  width: 24px;
}

@media (max-width: 430px) {
  .inf-pres {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-block: 16px 24px;
    width: 393px;
  }
  .inf-pres h1 {
    font-size: 24px;
  }
  .inf-pres__link {
    height: 58px;
    font-size: 20px;
    width: 398px;
    align-items: center;
  }
  .inf-pres__link div {
    height: 24px;
    margin: 17px auto;
  }
  .presentations-list {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .presentation {
    width: 100%;
    height: 290px;
    font-size: 18px;
  }
  .presentation__preview {
    height: 229px;
    border-radius: 24px;
  }
}
.legal {
  max-width: 800px;
  margin: 60px auto 80px;
  padding: 0 16px;
}
.legal__title {
  font-family: "ActayWide-Bold", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.legal__updated {
  font-size: 14px;
  color: #b2b4bf;
  margin-bottom: 48px;
}
.legal__section {
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1b1e22;
}
.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3d42;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3d42;
  margin-bottom: 6px;
  list-style: disc;
}
.legal a {
  color: #8495d7;
  text-decoration: underline;
}
.legal a:hover {
  color: #6978b5;
}
.legal__contacts {
  background: #f5f6fa;
  border-radius: 16px;
  padding: 24px;
  margin-top: 16px;
}
.legal__contacts p {
  margin-bottom: 4px;
}

@media (max-width: 430px) {
  .legal {
    margin: 32px auto 48px;
  }
  .legal__title {
    font-size: 28px;
  }
  .legal h2 {
    font-size: 18px;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 30, 34, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  height: 693px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  will-change: transform;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal__custom, .modal__prof {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  height: 100%;
}
.modal__close {
  flex-shrink: 0;
  background: #e8ebf2;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal__close:hover {
  background: #d0d4e0;
}
.modal__custom {
  width: 925px;
  padding: 16px 24px 34px;
}
.modal__custom-h3 {
  font-family: "Inter";
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.modal__custom__submit {
  position: absolute;
  bottom: 34px;
  left: 107px;
  width: 711px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #90a3ee;
  border-radius: 16px;
  border: none;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
}
.modal__custom__submit svg {
  position: absolute;
  left: calc(30% - 24px);
  fill: #ffffff;
}
.modal__custom__submit__fog {
  position: absolute;
  width: 881px;
  height: 34px;
  bottom: 100px;
  z-index: 9001;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8470588235));
  display: block;
}
.modal__custom__slides-list {
  height: 349px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: #90a3ee #ffffff;
}
.modal__custom__slides-list::-webkit-scrollbar {
  width: 8px;
}
.modal__custom__slides-list::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 5px;
}
.modal__custom__slides-list::-webkit-scrollbar-thumb {
  background: #90a3ee;
  border-radius: 5px;
}
.modal__custom__slides-list::-webkit-scrollbar-thumb:hover {
  background: #6c7ed0;
}
.modal__custom-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal__custom-top__title {
  font-size: 24px;
  font-family: "Inter";
  font-weight: 400;
  line-height: 1.4;
  align-self: flex-end;
}
.modal__custom__input-title {
  transition: all 0.3s ease;
  height: 48px;
  width: 633px;
  background-color: #e8ebf2;
  align-content: center;
  border-radius: 16px;
  border: 1px solid transparent;
}
.modal__custom__input-title ::-moz-placeholder {
  color: #9497a2;
}
.modal__custom__input-title ::placeholder {
  color: #9497a2;
}
.modal__custom__input-title input {
  background: transparent;
  border: none;
  outline: none;
  color: #9497a2;
  font-size: 16px;
  flex: 1;
  width: 600px;
  margin-inline: 16px;
}
.modal__custom__input-title:hover {
  background-color: #f6f9ff;
}
.modal__custom__input-title:focus-within {
  background-color: #f6f9ff;
  border-color: #444a51;
}
.modal__custom__input-title:focus-within input {
  color: #444a51;
}
.modal__custom__creature {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.modal__custom__creature-block {
  height: 48px;
  display: flex;
  flex-direction: row;
  gap: 28px;
}
.modal__custom__creature__controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.modal__custom__creature__add-btn {
  border: none;
  cursor: pointer;
  height: 48px;
  width: 48px;
  border-radius: 16px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8ebf2;
  transition: all 0.3s ease;
}
.modal__custom__creature__add-btn svg {
  stroke: #9497a2;
}
.modal__custom__creature__add-btn:hover {
  background-color: #f6f9ff;
}
.modal__custom__creature__add-btn:hover svg {
  stroke: #1b1e22;
}
.modal__custom__creature__add-btn:active {
  background-color: #d6d9e0;
  box-shadow: none;
}
.modal__custom__creature__add-btn:active svg {
  stroke: #1b1e22;
}
.modal__custom__creature__add-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.modal__custom__creature__add-btn:disabled:hover {
  background-color: #e8ebf2;
}
.modal__custom__creature__add-btn:disabled:hover svg {
  stroke: #9497a2;
}
.modal__custom__slides {
  margin-bottom: 24px;
}
.modal-slide {
  height: 48px;
  width: 857px;
}
.modal-slide--shake {
  animation: slide-shake 0.35s ease;
}
.modal-slide {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}
.modal-slide__number {
  height: 48px;
  width: 48px;
  background-color: #ccdffe;
  color: #1b1e22;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.modal-slide__number:active {
  cursor: grabbing;
}
.modal-slide__text {
  width: 793px;
  height: 48px;
  display: flex;
  align-items: center;
  background-color: #e8ebf2;
  color: #9497a2;
  border-radius: 16px;
  border: 1px solid transparent;
}
.modal-slide__text ::-moz-placeholder {
  color: #9497a2;
}
.modal-slide__text ::placeholder {
  color: #9497a2;
}
.modal-slide__text input {
  background: transparent;
  border: none;
  outline: none;
  color: #9497a2;
  font-size: 16px;
  flex: 1;
  width: 760px;
  margin-inline: 16px;
}
.modal-slide__delete {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 12px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.modal-slide__delete svg {
  fill: #9497a2;
}
.modal-slide__delete svg:hover {
  fill: #1b1e22;
}
.modal-slide:hover .modal-slide__number {
  background-color: #b8ceff;
}
.modal-slide:hover .modal-slide__text {
  background-color: #f6f9ff;
}
.modal-slide:hover .modal-slide__delete {
  display: flex;
  align-items: center;
}
.modal-slide:active .modal-slide__number, .modal-slide:focus-within .modal-slide__number {
  background-color: #b8ceff;
}
.modal-slide:active .modal-slide__text, .modal-slide:focus-within .modal-slide__text {
  background-color: #f6f9ff;
  border: 1px solid #444a51;
}
.modal-slide:active .modal-slide__text input, .modal-slide:focus-within .modal-slide__text input {
  color: #444a51;
}
.modal-slide:active .modal-slide__delete, .modal-slide:focus-within .modal-slide__delete {
  display: flex;
  align-items: center;
}
.modal__prof {
  width: 295px;
}
.modal__prof__title {
  font-size: 24px;
  font-family: "Inter";
  font-weight: 400;
  margin: 24px 16px;
}
.modal__prof__content {
  text-align: center;
  margin: 72px auto;
}

.slides-list-wrapper {
  position: relative;
}

.slides-empty-hint {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: #9497a2;
  font-size: 22px;
  pointer-events: none;
}
.slides-empty-hint.visible {
  display: flex;
}
.slides-empty-hint.blink {
  animation: hint-blink 0.7s ease 3;
}

@keyframes slide-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
  80% {
    transform: translateX(-3px);
  }
}
@keyframes hint-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
.slides-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.slides-spinner__dot {
  width: 48px;
  height: 48px;
  border: 3px solid #e8ebf2;
  border-top-color: #90a3ee;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (max-width: 430px) {
  #modal-overlay {
    overflow-y: auto;
    align-items: flex-start;
    padding: 16px;
  }
  .modal {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 21px;
    transform: none;
  }
  .modal-overlay.active .modal {
    transform: none;
  }
  .modal__custom, .modal__prof {
    border-radius: 24px;
    width: 100%;
  }
  .modal__custom {
    padding: 16px;
  }
  .modal__custom-top {
    margin-bottom: 16px;
  }
  .modal__custom__slides-list {
    height: auto;
    overflow-y: visible;
  }
  .modal__custom__input-title {
    width: 100%;
  }
  .modal__custom__input-title input {
    width: 100%;
  }
  .modal__custom__creature-block {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  .modal__custom__submit__fog {
    display: none;
  }
  .modal__custom__submit {
    position: static;
    transform: none;
    width: 100%;
    flex-shrink: 0;
  }
  .modal__custom__submit svg {
    left: 16px;
  }
  .modal__prof {
    height: 233px;
    flex-shrink: 0;
  }
  .modal__prof__title {
    font-size: 18px;
    margin: 16px;
  }
  .modal-slide {
    width: 100%;
  }
  .modal-slide__text {
    flex: 1;
    width: auto;
  }
  .modal-slide__text input {
    width: 100%;
  }
}
.custom-select {
  position: relative;
  height: 48px;
  width: 160px;
  border-radius: 16px;
  background-color: #e8ebf2;
  border: 1px solid transparent;
}
.custom-select span {
  color: #9497a2;
}
.custom-select svg {
  stroke: #9497a2;
}
.custom-select:hover {
  background-color: #f6f9ff;
}
.custom-select:active, .custom-select.open {
  background-color: #f6f9ff;
  border-color: #444a51;
}
.custom-select:active span, .custom-select.open span {
  color: #1b1e22;
}
.custom-select:active svg, .custom-select.open svg {
  stroke: #1b1e22;
}
.custom-select__trigger {
  width: 128px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.custom-select__arrow {
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}
.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background: #f6f9ff;
  border: 1px solid #9497a2;
  border-radius: 12px;
  overflow: hidden;
  display: none;
}
.custom-select.open .custom-select__options {
  display: block;
}
.custom-select__option {
  padding: 14px 10px;
  font-size: 16px;
  cursor: pointer;
}
.custom-select__option:hover {
  background: #e8ebf2;
}
.custom-select__option.selected {
  color: #90a3ee;
}

.modal--auth {
  height: auto;
}
.modal__custom--auth {
  width: 432px;
  padding: 40px 32px 36px;
  height: auto;
}
.modal__custom--auth .modal__custom__title {
  margin: 0 0 12px 0;
}
.modal__custom--auth .modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.modal__auth-text {
  font-size: 20px;
  color: #000000;
  margin-bottom: 56px;
  line-height: 1.4;
  text-align: center;
}
.modal__auth-actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (max-width: 430px) {
  .modal__custom--auth {
    width: 398px;
    padding: 48px 24px 32px;
  }
}
.modal__auth-btn {
  display: block;
  text-align: center;
  padding: 14px 0;
  border-radius: 16px;
  font-size: 24px;
  font-family: "Inter";
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s ease;
}
.modal__auth-btn--primary {
  background: #8495d7;
  color: #ffffff;
}
.modal__auth-btn--primary:hover {
  background: #90a3ee;
}
.modal__auth-btn--primary:active {
  background-color: #6978b5;
}
.modal__auth-btn--primary:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 0;
}
.modal__auth-btn--secondary {
  border: 1px solid #90a3ee;
  background: #ffffff;
  color: #90a3ee;
}
.modal__auth-btn--secondary:hover {
  background: #f5f5f5;
}
.modal__auth-btn--secondary:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 48px));
  z-index: 8000;
  width: 640px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: 0 8px 40px rgba(27, 30, 34, 0.14);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
.cookie-banner__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1b1e22;
}
.cookie-banner__desc {
  font-size: 16px;
  color: #b2b4bf;
  line-height: 1.5;
}
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  background: #8495d7;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-banner__btn:hover {
  background: #90a3ee;
}
.cookie-banner__btn:active {
  background: #6978b5;
}
.cookie-banner__btn:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

@media (max-width: 430px) {
  .cookie-banner {
    width: calc(100vw - 32px);
    bottom: 16px;
    padding: 20px;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner__btn {
    width: 100%;
    padding: 14px 0;
    text-align: center;
  }
}
.modal--confirm {
  height: auto;
  border-radius: 24px;
}
.modal__confirm-header {
  height: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.modal__custom--confirm {
  width: 419px;
  height: 200px;
  padding: 24px 16px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal__custom--confirm .modal__close {
  top: 24px;
}
.modal__confirm-text {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  line-height: 1.2;
}
.modal__confirm-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 18px;
}
.modal__confirm-btn {
  display: block;
  width: 111px;
  height: 52px;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Inter";
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal__confirm-btn--danger {
  background: #D94F4F;
  color: #FFFFFF;
}
.modal__confirm-btn--danger:hover {
  background: #E05F5F;
}
.modal__confirm-btn--danger:active {
  background: #B83C3C;
}
.modal__confirm-btn--secondary {
  color: #90A3EE;
  background-color: #FFFFFF;
  border: 2px solid #90A3EE;
}
.modal__confirm-btn--secondary:hover {
  background-color: #E4E9FB;
}
.modal__confirm-btn--secondary:active {
  border: 2px solid #8495D7;
  color: #8495D7;
}

@media (max-width: 430px) {
  .modal__custom--confirm {
    width: calc(100vw - 32px);
  }
}
.heading-create {
  font-family: "ActayWide-Bold";
  font-weight: 700;
  margin-top: 50px;
  text-align: center;
}

@media (max-width: 430px) {
  .page-create {
    overflow: hidden;
    height: 100dvh;
  }
  .page-create .footer-log {
    display: none;
  }
  .pre-work--create {
    width: 366px;
  }
}
.slide-row {
  width: 1030px;
  position: relative;
  margin-bottom: 32px;
}

.slides-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 0 32px;
}

.slides-back {
  font-size: 16px;
  color: #90a3ee;
  white-space: nowrap;
  flex-shrink: 0;
}
.slides-back:hover {
  -webkit-text-decoration: underline 1px;
          text-decoration: underline 1px;
}

.slides-title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.slide-wrapper {
  position: relative;
  width: 100%;
  max-width: 1030px;
  aspect-ratio: 1030/580;
  margin-bottom: 20px;
  overflow: hidden;
}

.slide {
  position: relative;
  top: 0;
  left: 0;
  width: 1030px;
  height: 580px;
  transform-origin: top left;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 516px 1fr;
  grid-template-rows: auto 1fr;
}
.slide__watermark {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
}
.slide__image {
  grid-column: 1;
  grid-row: 2;
  height: 516px;
  width: 485px;
  margin: 32px 0 32px 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide__image-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slide__image-inner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.slide__content {
  grid-column: 2;
  grid-row: 2;
  padding: 16px 28px 24px;
  overflow: hidden;
}
.slide__title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 32px;
  margin-block: 70px;
}
.slide__title p {
  margin: 0;
}
.slide__title b,
.slide__title strong {
  font-weight: bold;
}
.slide__title i,
.slide__title em {
  font-style: italic;
}
.slide__title u {
  text-decoration: underline;
}
.slide__title s {
  text-decoration: line-through;
}
.slide__text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
  text-align: justify;
}
.slide__number {
  position: absolute;
  font-size: 26px;
  font-weight: 400;
  color: #1b1e22;
  right: 30px;
  bottom: 32px;
}
.slide__title.lexical-editor--empty, .slide__text.lexical-editor--empty {
  background: #b2b4bf;
  border-radius: 6px;
}
.slide--image-right {
  grid-template-columns: 1fr 516px;
}
.slide--image-right .slide__image {
  grid-column: 2;
  margin: 32px 30px 32px 0;
}
.slide--image-right .slide__content {
  grid-column: 1;
}
.slide--image-center {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.slide--image-center .slide__image {
  grid-column: 1;
  grid-row: 1;
  height: 330px;
  width: 632px;
  margin: 24px auto 0;
  max-height: 330px;
}
.slide--image-center .slide__content {
  grid-column: 1;
  grid-row: 2;
  padding: 24px 40px 24px;
  text-align: center;
}
.slide--image-center .slide__title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 26px;
}

.slide__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 9;
}
.slide__image:hover::after {
  opacity: 1;
}

.slide__image-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.slide__image:hover .slide__image-actions {
  opacity: 1;
  pointer-events: auto;
}

.crop-btn,
.upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: none;
  border-radius: 110px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #90a3ee;
  cursor: pointer;
  white-space: nowrap;
}
.crop-btn svg,
.upload-btn svg {
  flex-shrink: 0;
  stroke: #90a3ee;
}
.crop-btn:hover,
.upload-btn:hover {
  background: #e4e9fb;
}

.crop-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.crop-modal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 860px;
  max-width: 95vw;
  padding: 32px;
  background: #ffffff;
  border-radius: 32px;
}
.crop-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crop-modal__title {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1b1e22;
}
.crop-modal__modes {
  display: flex;
  gap: 8px;
}
.crop-modal__mode-btn {
  height: 36px;
  padding: 0 20px;
  border: 1.5px solid #e8ebf2;
  border-radius: 110px;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.crop-modal__mode-btn:hover {
  background: #f0f3ff;
  border-color: #c5cef7;
  color: #1b1e22;
}
.crop-modal__mode-btn.active {
  background: #90a3ee;
  border-color: #90a3ee;
  color: #ffffff;
}
.crop-modal__workspace {
  width: 100%;
  height: 505px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f3ff;
  border-radius: 16px;
  overflow: hidden;
}
.crop-modal__workspace img {
  display: block;
  max-width: 100%;
  max-height: 520px;
}
.crop-modal__original-hint {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #9497a2;
  padding-top: 4px;
}
.crop-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.crop-modal__btn {
  height: 44px;
  padding: 0 28px;
  border: none;
  border-radius: 110px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.crop-modal__btn--apply {
  background: #90a3ee;
  color: #ffffff;
}
.crop-modal__btn--apply:hover {
  background: #7b90e0;
}

.slide-variant-btn {
  position: absolute;
  bottom: 24px;
  right: -23px;
  transform: translateX(-50%);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: #ffffff;
  border: none;
  border-radius: 110px;
  box-shadow: 4px 1px 9px rgba(0, 0, 0, 0.2274509804);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #90a3ee;
  cursor: pointer;
  white-space: nowrap;
}
.slide-variant-btn__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.slide-variant-btn:hover {
  background: #e4e9fb;
}

.slide-wrapper:hover .slide-variant-btn {
  opacity: 1;
  pointer-events: auto;
}

.slide-delete-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  color: #e05252;
}
.slide-delete-btn svg {
  stroke: currentColor;
  flex-shrink: 0;
}
.slide-delete-btn:hover {
  background: #fdeaea;
}
.slide-delete-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.slide-wrapper:hover .slide-delete-btn {
  opacity: 1;
  pointer-events: auto;
}

.lx-bold {
  font-weight: bold;
}

.lx-italic {
  font-style: italic;
}

.lx-underline {
  text-decoration: underline;
}

.lx-strikethrough {
  text-decoration: line-through;
}

.page-detail {
  background: #e6edfd;
}
.page-detail .header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.detail-sticky-wrapper {
  display: contents;
}

.header-mask {
  position: sticky;
  top: 0;
  z-index: 99;
  height: 220px;
  margin-bottom: -220px;
  background-color: #e6edfd;
  pointer-events: none;
}

.slides-layout {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.slides__mini-preview {
  z-index: 100;
  top: 130px;
  position: sticky;
  width: 190px;
  height: clamp(460px, 100vh - 130px, 763px);
  background-color: #ffffff;
  flex-shrink: 0;
  border-radius: 24px;
}
.slides__mini-preview__list {
  display: flex;
  height: 675px;
  width: 156px;
  flex-direction: column;
  gap: 8px;
  margin: 88px 16px 0px;
  overflow-y: auto;
  max-height: calc(100% - 80px);
  scrollbar-width: none;
}
.slides__mini-preview__list::-webkit-scrollbar {
  display: none;
}
.slides__mini-preview__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 156px;
  height: 112px;
  cursor: grab;
  border-radius: 10px;
  background: #f0f3ff;
  transition: background 0.15s ease;
}
.slides__mini-preview__item:hover {
  background: #e0e6ff;
}
.slides__mini-preview__item.sortable-chosen {
  cursor: grabbing;
  background: #d0d8ff;
  box-shadow: 0 4px 16px rgba(144, 163, 238, 0.35);
}
.slides__mini-preview__item.sortable-ghost {
  opacity: 0.35;
}
.slides__mini-preview__num {
  font-size: 20px;
  font-weight: 400;
  color: #b2b4bf;
  font-family: "Inter", sans-serif;
}
.slides__mini-preview__btn {
  position: absolute;
  height: 40px;
  width: 156px;
  background-color: #ffffff;
  border: 2px solid #90a3ee;
  border-radius: 16px;
  top: 32px;
  margin-inline: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}
.slides__mini-preview__btn:hover {
  background-color: #e4e9fb;
}
.slides__mini-preview__btn:active {
  border: 2px solid #8495d7;
  color: #8495d7;
}
.slides__mini-preview__btn--limit {
  border-color: #d0d5e8;
  cursor: default;
}
.slides__mini-preview__btn--limit svg path {
  stroke: #c0c7de;
}
.slides__mini-preview__btn--limit:hover {
  background-color: #ffffff;
}
.slides__mini-preview__btn--limit:active {
  border-color: #d0d5e8;
  color: inherit;
}
.slides__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  max-width: 1030px;
}
.slides__menu {
  position: sticky;
  z-index: 99;
  top: 130px;
  width: 100%;
  height: 91px;
  background-color: #ffffff;
  flex-shrink: 0;
  border-radius: 24px;
  padding: 24px 16px;
  display: flex;
  justify-content: space-between;
}
.slides__menu__back-next {
  display: flex;
  align-items: center;
  gap: 16px;
}
.slides__menu__back-next button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  fill: #b2b4bf;
  transition: fill 0.2s ease, opacity 0.2s ease;
}
.slides__menu__back-next button:hover {
  fill: #1b1e22;
  opacity: 0.9;
}
.slides__menu__back-next button:active {
  fill: #1b1e22;
  opacity: 1;
}
.slides__menu__back-next button:disabled {
  fill: #b2b4bf;
  opacity: 0.5;
  cursor: default;
}
.slides__menu__back-next button:disabled:hover {
  fill: #b2b4bf;
  opacity: 0.5;
}
.slides__menu__btn {
  display: flex;
  gap: 20px;
}
.slides__menu__btn-download {
  width: 110px;
  height: 44px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  background-color: #8495d7;
  border-radius: 16px;
  color: #ffffff;
  border: none;
}
.slides__menu__btn-download:hover {
  background-color: #90a3ee;
}
.slides__menu__btn-download:active {
  background-color: #8495d7;
}

.text-toolbar {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e4e8f5;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  transform: translateX(-50%) translateY(6px);
}
.text-toolbar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.text-toolbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #4a4f6a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.text-toolbar__btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.text-toolbar__btn:hover {
  background: rgba(229, 236, 253, 0.8078431373);
  color: #1a1a2e;
}
.text-toolbar__btn.is-active {
  background: #e5ecfd;
  color: #1a1a2e;
}
.text-toolbar__sep {
  width: 1px;
  height: 32px;
  background: #b2b4bf;
  margin: 0 4px;
  flex-shrink: 0;
}
.text-toolbar__font-size {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: #4a4f6a;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 2px 4px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.text-toolbar__font-size.is-active {
  background: #e8eeff;
  color: #5068c8;
}
.text-toolbar__color {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  cursor: pointer;
  color: #1b1e22;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.text-toolbar__color:hover {
  background: #f0f3ff;
  color: #1a1a2e;
}
.text-toolbar__color input[type=color] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
  padding: 0;
}

.detail-mobile-top {
  display: none;
}

@media (max-width: 430px) {
  .page-detail {
    overflow-x: hidden;
  }
  .detail-sticky-wrapper {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #e6edfd;
  }
  .page-detail .header {
    position: static;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  .page-detail .header .container {
    padding: 0;
  }
  .page-detail .header .header__inner {
    height: 60px;
    padding: 0 16px;
    overflow: hidden;
  }
  .page-detail .header .header__inner img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
  }
  .page-detail .header .slides-header {
    display: none;
  }
  .header-mask {
    display: none;
  }
  .detail-mobile-top {
    display: block;
    position: static;
    background: #e6edfd;
    padding: 16px 0 0;
  }
  .detail-mobile-title {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #1b1e22;
  }
  .detail-action-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #ffffff;
    padding: 10px 16px;
    margin-bottom: 10px;
  }
  .detail-action-bar__download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 110px;
    background: #e4e9fb;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .detail-action-bar__download img {
    width: 18px;
    height: 18px;
  }
  .detail-action-bar__download:hover {
    background: #d5defa;
  }
  .detail-action-bar__download:active {
    background: #c8d3f5;
  }
  .slides-layout {
    flex-direction: column;
    margin-top: 0;
    gap: 0;
  }
  .slides__mini-preview {
    display: none;
  }
  .slides__menu {
    display: none;
  }
  .slides__right {
    max-width: 100%;
    width: 100%;
    gap: 8px;
    overflow-x: hidden;
  }
  .slide-row {
    width: 100%;
    margin-bottom: 0;
  }
  .slide-delete-btn,
  .slide-variant-btn,
  .crop-btn,
  .upload-btn {
    display: none !important;
  }
  .text-toolbar {
    display: none !important;
  }
  .slide__title,
  .slide__text {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
}
.slide-layout-modal {
  position: relative;
  width: 1030px;
  height: 358px;
  border-radius: 32px;
  background: #FFFFFF;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
}
.slide-layout-modal .modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.slide-layout-modal__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slide-layout-modal__content h5 {
  font-size: 32px;
  font-weight: 400;
}
.slide-layout-modal__content p {
  font-size: 20px;
}

.slide-layout-options {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.slide-layout-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.slide-layout-item__label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #000000;
}

.slide-layout-option {
  padding: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  line-height: 0;
  border: 1px solid #B2B4BF;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.slide-layout-option img {
  display: block;
  border-radius: 8px;
}
.slide-layout-option:hover {
  border: 1px solid #000000;
}
.slide-layout-option.is-active {
  border: 1px solid #000000;
}

.upload-image-modal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 630px;
  height: 425px;
  max-width: 95vw;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 32px;
}
.upload-image-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.upload-image-modal__title {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1B1E22;
}
.upload-image-modal__dropzone {
  position: relative;
  border: 1.5px dashed #B2B4BF;
  border-radius: 16px;
  height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}
.upload-image-modal__dropzone:hover, .upload-image-modal__dropzone.is-drag-over {
  border-color: #90A3EE;
  background: #F0F3FF;
}
.upload-image-modal__file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.upload-image-modal__dropzone-idle {
  width: 345px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  pointer-events: none;
}
.upload-image-modal__dropzone-text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #9497A2;
  text-align: center;
  line-height: 1.5;
}
.upload-image-modal__dropzone-link {
  color: #90A3EE;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.upload-image-modal__dropzone-hint {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #B2B4BF;
}
.upload-image-modal__dropzone-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.upload-image-modal__dropzone-preview img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  -o-object-fit: contain;
     object-fit: contain;
}
.upload-image-modal__error {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #BA2121;
  text-align: center;
  margin-top: -8px;
}
.upload-image-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.upload-image-modal__btn {
  height: 44px;
  padding: 0 28px;
  border-radius: 110px;
  border: 1px solid transparent;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.upload-image-modal__btn--cancel {
  background: transparent;
  color: #90A3EE;
  border-color: #90A3EE;
}
.upload-image-modal__btn--cancel:hover {
  background-color: #E4E9FB;
}
.upload-image-modal__btn--submit {
  background: #90A3EE;
  color: #FFFFFF;
}
.upload-image-modal__btn--submit:hover:not(:disabled) {
  background: #7B90E0;
}
.upload-image-modal__btn--submit:disabled {
  opacity: 0.4;
  cursor: default;
}

.modal__subscription {
  height: 763px;
  width: 1240px;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 40px 98px;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
}
.modal__subscription .modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal__subscription-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

.modal__subscription-title {
  font-size: 32px;
  font-weight: 400;
}

.modal__subscription-text {
  font-size: 24px;
  width: 80%;
  color: #b2b4bf;
  text-align: center;
}

.modal__subscription-back-profile {
  font-size: 16px;
  color: #b2b4bf;
  position: absolute;
  top: 40px;
  right: 100px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.modal__subscription-plans-track {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.modal__subscription-slider-nav {
  display: none;
}

.subscription-plan {
  height: 532px;
  width: 448px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 8px rgba(35, 35, 35, 0.1019607843);
  border-radius: 24px;
}
.subscription-plan__br {
  height: 1px;
  width: 100%;
  background-color: #b2b4bf;
  margin-block: 28px;
}

.subscription-plan__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 32px;
}

.subscription-plan__name {
  font-size: 32px;
  font-weight: 400;
}

.subscription-plan__price {
  height: 43px;
  font-size: 40px;
}

.subscription-plan__new-price {
  font-size: 32px;
  color: #b2b4bf;
}

.subscription-plan__period {
  font-size: 20px;
  color: #b2b4bf;
}

.subscription-plan__features {
  font-size: 16px;
  color: #54585e;
  list-style: none;
  gap: 16px;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  flex: 1;
}

.subscription-plan__feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.subscription-plan__feature img {
  flex-shrink: 0;
}

.subscription-plan__btn {
  width: 100%;
  height: 58px;
  border-radius: 16px;
  background-color: #8495d7;
  color: #ffffff;
  border: none;
  cursor: pointer;
}
.subscription-plan__btn:hover {
  background-color: #90a3ee;
}
.subscription-plan__btn:active {
  background-color: #8495d7;
}
.subscription-plan__btn:disabled {
  background-color: #e8ebf2;
  color: #b2b4bf;
  cursor: default;
}

@media (max-width: 768px) {
  .modal--subscription {
    width: 100%;
    height: 100%;
    align-self: stretch;
  }
  .modal__subscription {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 48px 20px 32px;
    overflow-y: auto;
    justify-content: flex-start;
    gap: 24px;
  }
  .modal__subscription-back-profile {
    position: static;
    align-self: center;
    font-size: 14px;
    color: #8495d7;
    margin-top: -8px;
  }
  .modal__subscription-text {
    font-size: 16px;
    width: 100%;
  }
  .modal__subscription-title {
    font-size: 24px;
  }
  .modal__subscription-plans-track {
    gap: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .subscription-plan {
    width: 100%;
    flex: 0 0 100%;
    height: auto;
  }
  .modal__subscription-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .modal__subscription-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .modal__subscription-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b2b4bf;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
  }
  .modal__subscription-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: #8495d7;
  }
  .modal__subscription-slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
  }
  .modal__subscription-slider-btn:hover {
    background-color: #ebedf2;
  }
  .modal__subscription-slider-btn:disabled {
    opacity: 0.25;
    cursor: default;
    background-color: transparent;
  }
}
.modal__profile-mobile-title,
.modal__profile-panels-header,
.modal__profile-back {
  display: none;
}

.modal__profile {
  height: 705px;
  width: 907px;
  border-radius: 24px;
  background-color: #ffffff;
  padding: 32px;
}
.modal__profile .modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.modal__profile-body {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.modal__profile-menu {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  width: 291px;
}
.modal__profile__menu-btn {
  height: 56px;
  font-size: 20px;
  text-align: left;
  padding-left: 16px;
  border-radius: 16px;
  background-color: transparent;
  border: none;
}
.modal__profile__menu-btn:hover {
  background-color: rgba(235, 237, 242, 0.5019607843);
}
.modal__profile__menu-btn.active {
  background-color: #ebedf2;
}
.modal__profile__br {
  height: 641px;
  margin: 0 32px 0 16px;
}
.modal__profile-panels {
  height: 594px;
  width: 504px;
}
.modal__profile__avatar {
  height: 272px;
  width: 272px;
  background-color: #e8ebf2;
  border-radius: 136px;
  margin-inline: auto;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal__profile__avatar svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: #1b1e22;
  stroke-width: 1;
}
.modal__profile__panel {
  display: none;
  margin-top: 24px;
}
.modal__profile__panel.active {
  display: block;
}
.modal__profile__panel-security {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}
.modal__profile__panel-security .security-section__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal__profile__panel-security .security-section__desc {
  font-size: 16px;
  color: #b2b4bf;
  margin-bottom: 16px;
}
.modal__profile__panel-form {
  display: flex;
  flex-direction: column;
  font-size: 20px;
}
.modal__profile__panel-form input {
  height: 48px;
  width: 400px;
  border-radius: 16px;
  background-color: #e8ebf2;
  display: block;
  margin-inline: auto;
  border: none;
  outline: none;
  padding: 0 16px;
  color: #b2b4bf;
  font-size: 20px;
}
.modal__profile__panel-form input:not(:last-of-type) {
  margin-bottom: 16px;
}
.modal__profile__panel-form input:focus {
  border: 1px solid #1b1e22;
  color: #1b1e22;
}
.modal__profile__panel-form input[readonly] {
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  color: #b2b4bf;
}
.modal__profile__panel-form input::-moz-placeholder {
  color: #b2b4bf;
}
.modal__profile__panel-form input::placeholder {
  color: #b2b4bf;
}
.modal__profile__panel-form input:-webkit-autofill, .modal__profile__panel-form input:-webkit-autofill:hover, .modal__profile__panel-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #e8ebf2 inset;
  -webkit-text-fill-color: #1b1e22;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}
.modal__profile__panel-form button[type=submit] {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  height: 58px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin-inline: auto;
  background-color: #8495d7;
  border-radius: 16px;
  margin-top: 40px;
  cursor: pointer;
}
.modal__profile__panel-form button[type=submit]:hover {
  background-color: #90a3ee;
}
.modal__profile__panel-form button[type=submit]:active {
  background-color: #8495d7;
}
.modal__profile__panel-security .security-section {
  align-items: center;
  text-align: center;
}
.modal__profile__panel-security .security-section__title {
  font-size: 24px;
  font-weight: 400;
  margin-block: 138px 4px;
}
.modal__profile__panel-security .security-section__desc {
  font-size: 20px;
  color: #b2b4bf;
  margin-bottom: 100px;
  width: 95%;
  margin-inline: auto;
}
.modal__profile__panel-subscription .subscription-section__title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 122px;
}
.modal__profile__panel-subscription .subscription-section__free, .modal__profile__panel-subscription .subscription-section__pro {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.modal__profile__panel-subscription .subscription-section__free.active, .modal__profile__panel-subscription .subscription-section__pro.active {
  display: flex;
}
.modal__profile__panel-subscription .subscription-section__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}
.modal__profile__panel-subscription .subscription-section__label {
  font-size: 24px;
  color: #b2b4bf;
}
.modal__profile__panel-subscription .subscription-section__action {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}
.modal__profile__panel-subscription .subscription-section__action p {
  text-align: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: #b2b4bf;
}
.modal__profile__panel-subscription .subscription-section__cancel-btn {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  color: #90a3ee;
  height: 58px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #90a3ee;
  background-color: #ffffff;
  border-radius: 16px;
  margin-inline: auto;
  cursor: pointer;
}
.modal__profile__panel-subscription .subscription-section__cancel-btn:hover {
  background-color: #f0f3ff;
}
.modal__profile__panel-subscription .subscription-section__cancel-btn:active {
  background-color: #ffffff;
}
.modal__profile__panel-subscription .subscription-section__change-btn {
  font-family: "Inter";
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  height: 58px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #8495d7;
  border-radius: 16px;
  margin-inline: auto;
  cursor: pointer;
}
.modal__profile__panel-subscription .subscription-section__change-btn:hover {
  background-color: #90a3ee;
}
.modal__profile__panel-subscription .subscription-section__change-btn:active {
  background-color: #8495d7;
}
.modal__profile__panel-subscription .subscription-section__value {
  color: #000000;
  font-weight: 400;
}
.modal__profile__panel-subscription .subscription-section__value.status {
  font-size: 18px;
  height: 28px;
  width: 70px;
  color: #ffffff;
  background-color: #90a3ee;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  display: flex;
}
.modal__profile__panel-subscription .subscription-section__value.status--pro {
  background-color: #90a3ee;
}
.modal__profile__panel-organization {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.modal__profile__panel-organization .organization-section__title {
  font-size: 24px;
  font-weight: 400;
  margin-block: 138px 4px;
}
.modal__profile__panel-organization .organization-section__desc {
  font-size: 20px;
  color: #b2b4bf;
  margin-bottom: 100px;
  width: 95%;
}

@media (max-width: 768px) {
  .modal--profile {
    width: 100%;
    height: 100%;
    align-self: stretch;
  }
  .modal__profile {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
  }
  .modal__profile .modal__close {
    top: 16px;
    right: 16px;
  }
  .modal__profile-mobile-title {
    display: block;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebedf2;
    flex-shrink: 0;
  }
  .modal__profile-body {
    flex: 1;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 0;
  }
  .modal__profile-menu {
    width: 100%;
    margin-top: 0;
    padding: 8px 0;
    overflow-y: auto;
    height: 100%;
  }
  .modal__profile__menu-btn {
    width: 100%;
    height: 56px;
    font-size: 18px;
    padding: 0 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .modal__profile__menu-btn::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #b2b4bf;
    border-top: 2px solid #b2b4bf;
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .modal__profile__menu-btn.active {
    background-color: transparent;
  }
  .modal__profile__menu-btn:hover {
    background-color: rgba(235, 237, 242, 0.5019607843);
  }
  .modal__profile__br {
    display: none;
  }
  .modal__profile-panels {
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 0 20px 32px;
    width: 100%;
    height: 100%;
  }
  .modal__profile-panels.is-open {
    transform: translateX(0);
  }
  .modal__profile-panels-header {
    display: flex;
    align-items: center;
    height: 56px;
    flex-shrink: 0;
  }
  .modal__profile-back {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #1b1e22;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }
  .modal__profile-panels .modal__profile__panel {
    display: none;
    padding-top: 8px;
  }
  .modal__profile-panels .modal__profile__panel.active {
    display: block;
  }
  .modal__profile__avatar {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    margin-bottom: 24px;
  }
  .modal__profile__panel-form input {
    width: 100%;
  }
  .modal__profile__panel-form button[type=submit] {
    width: 100%;
    margin-top: 24px;
  }
  .subscription-section__cancel-btn,
  .subscription-section__change-btn {
    width: 100%;
  }
}/*# sourceMappingURL=style.css.map */