.translator {
  &__modal {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;
  }

  &__wrapper {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: var(--base);
    z-index: 1;
    background: var(--theme-elevation-50);
    padding: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  &__content {
    display: flex;
    flex-direction: column;

    gap: var(--base);
    max-width: 400px;

    h2 {
      margin: 0;
    }
  }

  &__buttons {
    display: flex;

    gap: 10px;
    width: 100%;
    margin-top: 20px;

    button {
      margin: 0;
    }
  }

  &__close {
    position: absolute;
    top: 10px;
    right: 10px;
    transition: 0.25s;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;

    &:hover {
      opacity: 0.6;
    }
  }
}
