.subscription-card-wrapper {
  display: flex;
}

.single-subscription-card {
  border: 1px solid $info-light;
  background-color: $white-100;
  padding: 10px;
  transition: 0.3s ease-in-out;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  margin-right: 10px;
  transition: 0.3s ease-in-out;

  &:last-child {
    margin-right: 0;
  }

  &::after {
    @include absulate-shape($primary, 100%, 0px);
    border-radius: 4px 4px 0 0;
  }

  &:hover {
    box-shadow: 0px 8px 16px rgba(111, 111, 141, 0.2);
    background-color: $white-100;
    border: 1px solid transparent;

    &::after {
      height: 4px;
    }
  }

  &.is-selected {
    box-shadow: 0px 8px 16px rgba(111, 111, 141, 0.2);
    background-color: $white-100;
    border: 1px solid transparent;

    &::after {
      height: 4px;
    }
  }

  .card-header {
    box-shadow: none;
    border-bottom: 1px solid $color-border;
    margin-bottom: 10px;
    background-color: transparent;
    padding: 0;

    h5 {
      font-family: $font-heading;
      font-style: normal;
      font-weight: 600;
      font-size: 1rem;
      line-height: 16px;
      color: $color-text;
      margin-bottom: 10px;
    }
  }

  .card-body {
    display: flex;
    justify-content: space-between;

    ul {
      .name {
        font-family: $font-paragraph;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 14px;
        color: $color-text;
      }

      li {
        font-family: $font-paragraph;
        font-style: normal;
        font-weight: normal;
        font-size: 1rem;
        line-height: 16px;
        padding-bottom: 8px;
        color: $color-text;

        .fa {
          color: $color-text;
          margin-right: 10px;
        }
      }
    }
  }

  .card-footer {
    border-top: none;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;

    &::after {
      @include absulate-shape($warning, 100%, 1px);
      top: 50%;
      margin-top: -0.5px;
      z-index: -1;
    }

    .quantity {
      background-color: #f99a00;
      border-radius: 3px;
      font-weight: normal;
      font-size: 12px;
      line-height: 14px;
      color: $white-100;
      padding: 5px 12px;

      span {
        font-weight: 500;
      }
    }
  }
}

// dark theme start
.is-dark-theme {
  .single-subscription-card {
    background-color: var(--dark-bg-light);
  }
}

// dark theme end
/****************************************
Responsive Classes
*****************************************/
// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) {
}

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) {
}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) {
}

// Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) {
}

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {
  .single-subscription-card {
    .card-body {
      ul {
        li {
          font-size: 12px;
          line-height: 14px;
        }
      }
    }

    .card-footer {
      .quantity {
        font-size: 12px;
        padding: 3px 10px;
      }
    }
  }
}
