.translation-wrapper {
  position: relative;

  .translation-input {
    padding-right: 40px;
  }

  .translation-icon-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 13px;
    display: flex;
    align-items: center;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s;
    cursor: pointer;
    .translation-icon {
      color: #d9d9d9;
      transition: all 0.3s;
    }

    &.has-translation {
      background-color: var(--theme-color, #7F56D9);
      transition: all 0.3s;
      .translation-icon {
        transition: all 0.3s;
        color: #fff;
      }
    }

    &:hover {
      .translation-icon {
        color: #a481e6;
      }
    }

    &.disabled {
      cursor: not-allowed;

     .translation-icon {
        color: #d9d9d9;
      }
    }
  }
}

.translation-popover {
  min-width: 300px;
  padding: 8px;

  .translation-field {
    .translation-label {
      margin-bottom: 8px;
    }
  }
} 