.card-recent-patient {
  max-height: 709px;
  overflow: hidden;
  h4 {
    font-size: 24px;
    font-family: var(--font-family-roboto);
    font-weight: 700;
    color: #5f5e5e;
    @media (width<1200px) {
      font-size: 22px;
    }
    @media (width<768px) {
      font-size: 20px;
    }
  }
  .card-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .card-head-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      @media (width>=768px) and (width<998px) {
        justify-content: end;
      }
      @media (width>=1500px) {
        justify-content: end;

      }
      select {
        border-radius: 50rem;
        background: #fff;
        border: 1px solid #0000001f;
        width: fit-content;
        font-family: var(--font-family-inter);
        font-weight: 500;
        font-size: var(--font-size-content-extra-small);
        color: #3a3f51;
        padding: 7px 10px;
        outline: none;
      }
    }
    @media (width>= 768px) and (width<998px) {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
    }
    @media (width>=1500px) {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
    }
  }

  .card-body {
    padding: 0;
    margin-top: 1rem;
    .container-patient {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
      .avatar {
        width: 32px;
        aspect-ratio: 1;
        border-radius: 8px;
        background: var(--color-primary);
      }
    }
    .card-body-actions {
      display: flex;
      align-items: center;
      width: 100%;
      gap: 10px;
      button {
        padding: 0;
        border: none;
        outline: none;
        background: transparent;
        justify-content: center;
        svg path {
          transition: 0.4s;
        }
        &:hover svg path[fill="#A9A9A9"],
        &:hover svg path[fill="#B2ABAB"] {
          fill: var(--color-secondary-dark);
        }
        &:hover svg path[stroke="#A9A9A9"],
        &:hover svg path[stroke="#B2ABAB"] {
          stroke: var(--color-secondary-dark);
        }
      }
    }
  }
  .card-footer {
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
  }
}
