.record-edit-modal {
  .column-entry {
    display: flex;
    justify-content: space-between;
    .name-input-row {
      width: 100%;
      max-width: 260px;

      .cell-desc {
        margin-right: 30px;
        margin-top: 10px;
      }
    }

    .inputs-wrapper {
      flex: 1;
      display: flex;
      align-items: center;

      ::ng-deep >*:not(.date-field):not(clr-select-container) {
        flex: 1;
      }
    }

    p {
      margin-top: 0px;
    }

    ::ng-deep {
      .clr-textarea-wrapper {
        margin-top: 0 !important;
      }

      .clr-form-control {
        margin-top: 0px !important;
      }

      app-soft-select {
        display: block;
        width: 224px;
        border: 1px solid #999;
        color: #000;
        padding: calc(.25rem + 2px) .5rem;
        border-radius: .125rem;
        font-size: .541667rem;
        margin-right: 6px;

        input {
          width: 100%;
          border: 0;

          &:focus {
            background: none;
            border: 0 !important;
          }

          &::-webkit-outer-spin-button,
          &::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
          }
        }
      }
    }

    &:first-child p:first-child {
      margin-top: 0;
    }
  }

  .date-field {
    position: relative;
    display: inline-block;

    textarea {
      width: 230px;
    }

    .date-picker {
      position: absolute;
      right: 0;
      top: 4px;

      ::ng-deep {
        // clr-datepicker-view-manager {
        //   transform: unset !important;
        //   left: unset !important;
        //   right: 70px !important;
        // }
        .clr-input-group {
          border: 0 !important;
        }
      }
    }
  }

  .modal-body {
    padding-bottom: 10px;
  }

  ::ng-deep {
    clr-select-container {
      border: 1px solid #999;
      color: #000;
      border-radius: .125rem;
      margin-right: 5px;

      .clr-select-wrapper {
        max-height: unset;

        &::after {
          top: 15px;
        }
      }

      select {
        height: auto;
        padding: 10px;
        padding-right: 20px;
        border: 0 !important;

        &:focus {
          background: 0 0 !important;
        }
        &:hover {
          background: transparent;
        }
      }
    }

    clr-input-container {
      width: 224px;
      border: 1px solid #999;
      color: #000;
      padding: calc(.25rem + 2px) .5rem;
      border-radius: .125rem;
      font-size: .541667rem;
      margin-right: 6px;

      input {
        width: 100%;
        border: 0;

        &:focus {
          background: none;
          border: 0 !important;
        }

        &::-webkit-outer-spin-button,
        &::-webkit-inner-spin-button {
          -webkit-appearance: none;
          margin: 0;
        }
      }

      &.invalid-data {
        border-color: red;
      }
    }

    .modal-dialog {
      width: 80vw;
    }

    .clr-control-container {
      width: 100%;

      textarea {
        width: 100%;
        resize: none;
        border-color: #999;

        &.invalid-data {
          border-color: red;
          outline: 0;
        }

        &.not-char {
          font-family: "Lucida Console", Monaco, monospace;
        }
      }
    }

    .generate-record-url {
      right: 40px;
      top: 40px;
      font-size: 12px;
    }

    .generate-record-url-button {
      right: 25px;
      top: 5px;
    }

    .modal-header {
      padding: 0 0 1rem 0;
    }

    .modal-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;

      // height: 65px;

      .alert {
        margin: 0;
      }
    }
  }
}

.prev-next {
  display: flex;
  align-items: center;

  p {
    margin: 0;
  }

  button {
    margin: 0px 10px;
  }
}

.focusable {
  &:focus {
    box-shadow: 0 0 3px 0px #5aa220;
  }
}

.entry-input-left-offset {
  left: -30px;
}

.validation-info-alert {
  width: 310px
}