html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  color: white;
  background-color: black;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

#root {
  display: flex;
  overflow: auto;
  align-items: center;

  flex-direction: column;
  margin: 10px;
}

button {
  padding: 8px;
  border: solid 1px rgba(255, 255, 255, 0.226);
  border-radius: 8px;
  color: white;
  background-color: transparent;
  cursor: pointer;
  &:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
  }
}

.pane {
  flex-shrink: 0;
  padding: 24px;
  border: solid 1px white;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.translate-container {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  padding: 0;
  margin-top: 8px;
  .translate-list {
    display: flex;
    flex-direction: column;
  }
  .details {
    display: flex;
    align-items: center;
    height: 30px;
    padding-left: 10px;
    opacity: 0.9;
    background-color: rgba(128, 128, 128, 0.2);
    font-size: 14px;
    gap: 4px;
    .out-of {
    }
    .percent {
      opacity: 0.5;
    }
  }
  .translate-item {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
    gap: 4px;
    .value {
      font-weight: bold;
    }
    .key {
      opacity: 0.5;
      font-size: 14px;
    }
    .input {
      padding: 8px;
      margin-top: 4px;
      border: solid 1px rgba(255, 255, 255, 0.2);
      border-radius: 4px;
      outline: none;
      color: white;
      background-color: rgba(255, 255, 255, 0);
      &.no-input {
        border-color: red;
      }
    }
  }
}

.default-language-input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  height: 400px;
  gap: 18px;

  .title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
  }
  textarea {
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 8px;
    outline: none;
    color: white;
    background-color: rgba(255, 255, 255, 0);
    &.invalid {
      border-color: red;
    }
  }
}
