.general-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.first-row {
  display: flex;
  justify-content: space-between;
}

.image-container {
  width: 24rem;
  height: 24rem;
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background-color: white;
  border-radius: 10px;
  overflow: hidden;

  &:hover {
    .upload-icon {
      opacity: 1;
    }
    .image-icon {
      opacity: 0;
    }
    .portrait {
      filter: brightness(0.8);
    }
  }

  .portrait {
    width: 24rem;
    height: 24rem;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
  }

  .upload-icon {
    position: absolute;
    opacity: 0;
    left: 12rem;
    top: 12rem;
    width: 3rem;
    height: 3rem;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
    background-color: #b7b7b763;
    border-radius: 10px;
  }

  .image-icon {
    position: absolute;
    opacity: 1;
    left: 12rem;
    top: 12rem;
    width: 3rem;
    height: 3rem;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
  }

  .upload-input {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    cursor: pointer;
  }
}

.looks {
  width: 25rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  .looks-entry {
    display: flex;
    justify-content: space-between;

    .looks-field {
      width: 12.5rem;
      height: 1.75rem;
      background-color: white;
      border-radius: 4px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow);
      padding-left: 1rem;
    }
  }

  .looks-input {
    width: 12.5rem;
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
  }

  ::ng-deep .mat-mdc-form-field-infix {
    height: 32px !important;
    min-height: 32px !important;
    padding-top: 4px !important;
  }
}

.description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  .description-label {
    font-weight: 500;
  }

  .description-input {
    resize: none;
    height: 20rem !important;
    width: 18.75rem;
  }

  .description-wrapper {
    height: 100%;
    width: 20rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-radius: 4px;
  }
}

.personality {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;

  .personality-box {
    width: 25%;
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;

    @media (height < 930px) {
      height: 15rem;
    }

    .personality-wrapper {
      width: 100%;
      height: 90%;
      box-shadow: var(--shadow);
      overflow: hidden;
      border-radius: 4px;
    }

    .personality-input {
      resize: none;
      height: 15rem;
      @media (height < 930px) {
        height: 10rem;
      }
    }

    .personality-area {
      width: 100%;
      height: 100%;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      box-shadow: var(--shadow);
      resize: none;
      padding: 1rem;
    }

    .personality-label {
      font-weight: 500;
    }
  }
}
