.medical-advice {
  width: 100%;
  background: #fff;
  border-radius: 4px;

  .medical-advice-box {
    overflow: hidden;

    .nut-swipe__content {
      width: calc(100% + 12px);
    }
  }

  .medical-advice-list {
    width: 100%;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    .del_btn {
      width: 65px;
      height: 100%;
      padding: 0;
      background: rgba(234, 82, 132, 1);
    }

    .nut-form {
      width: 100%;
    }
    .nut-cell-group__wrap {
      margin: 0;
      border-radius: 0;
      box-shadow: none;

      .nut-cell::after {
        display: none;
      }
    }

    .icon {
      margin-top: 14px;
      margin-right: 10px;

      & svg {
        width: 20px;
        height: 20px;
      }
    }

    .content-list {
      position: relative;
      flex: 1;

      .list {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .input {
          // width: 100%;
          height: 100%;
        }

        .name {
          max-width: 80%;
          font-family: PingFang SC;
          font-size: 14px;
          line-height: 18px;
          letter-spacing: 0px;
          font-variation-settings: 'opsz' auto;
          color: rgba(0, 0, 0, 0.85);
        }

        .nut-icon-rect-right {
          color: rgba(0, 0, 0, 0.65);
        }
      }
      .merge-line {
        position: absolute;
        top: 23px;
        right: 10%;
        height: calc(100% - 46px);
        width: 5px;
        border: 1px solid #2c68ff;
        border-left: none;
      }
    }
  }
}

.nut-medical-advice-popup {
  background: transparent;

  .nut-picker__bar {
    background: #fff;
    border-radius: 5px 5px 0 0;
  }
  .content-list {
    min-height: 300px;
    padding: 10px 15px;
    box-sizing: border-box;
    background: #f2f3f5;
    overflow-y: auto;
    overflow-x: hidden;

    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow: -moz-scrollbars-none; /* Older Firefox versions */
    overflow-y: scroll; /* Ensure content is scrollable */

    &::-webkit-scrollbar {
      display: none; /* Chrome, Safari and Opera */
    }

    .list {
      margin-bottom: 10px;
      border-radius: 5px;
      border: 1px solid #f2f3f5;
      background: #ffffff;
      overflow: hidden;
      .execution-time {
        display: flex;
        align-items: center;
        padding: 3px 10px;
        margin-bottom: 10px;
        box-sizing: border-box;
        font-family: PingFang SC;
        font-size: 12px;
        font-weight: normal;
        letter-spacing: 0px;
        color: rgba(0, 0, 0, 0.65);
        background: linear-gradient(90deg, #d1eaff 0%, rgba(239, 247, 253, 0) 99%);
        box-shadow: 0px 0px 50px 0px rgba(196, 225, 223, 0.15);
      }

      .injection-box {
        position: relative;
        width: 100%;
        .merge-line {
          position: absolute;
          top: 9px;
          right: 10%;
          height: calc(100% - 53px);
          width: 5px;
          border: 1px solid #2c68ff;
          border-left: none;
        }
      }

      .injection-single {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 7px 10px 0 10px;
        box-sizing: border-box;
        border-bottom: 1px rgba(0, 0, 0, 0.1) solid;

        .name {
          width: 80%;
          font-family: PingFang SC;
          font-size: 14px;
          font-weight: normal;
          line-height: 18px;
          letter-spacing: 0px;
          color: #1c2023;
        }

        .dose-usage {
          display: flex;
          align-items: center;
          margin-top: 5px;
          margin-bottom: 7px;
          .dose {
            min-width: 82px;
            margin-right: 30px;
          }
          .label {
            font-family: PingFang SC;
            font-size: 14px;
            font-weight: normal;
            line-height: 18px;
            letter-spacing: 0px;
            color: #606972;
          }
          .value {
            color: #1c2023;
          }
        }
      }

      .injection {
        .injection-single:last-child {
          border-bottom: none;
        }
      }
    }

    .list-active {
      border: 1px solid #4079ff;
    }
  }
}

.nut-dialog-class {
  width: 250px !important;
  border-radius: 8px !important;

  .nut-dialog {
    width: 100%;
    padding: 15px 24px 16px 24px;

    .nut-dialog__header {
      font-family: PingFang SC;
      font-size: 15px;
      font-weight: normal;
      line-height: normal;
      letter-spacing: 0px;
      font-variation-settings: 'opsz' auto;
      color: rgba(0, 0, 0, 0.85);
    }
    .nut-dialog__content {
      font-family: PingFang SC;
      font-size: 14px;
      font-weight: normal;
      line-height: normal;
      text-align: center;
      letter-spacing: 0px;
      font-variation-settings: 'opsz' auto;
      color: rgba(0, 0, 0, 0.45);
    }
  }

  .nut-dialog__footer .nut-button {
    min-width: 82px !important;
    height: 30px !important;
  }
}
