@import '@/styles/responsive.scss';

.dateAndTimeCard {
  box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(56, 124, 68, 0.2);
  border-radius: 20px;
  background: #fff;
  max-width: 388px;
}

.vanType {
  display: flex;
  align-items: center;
  gap: 10px;

  @media (max-width: 992px) {
    flex-wrap: wrap;
  }

  & > div {
    &:first-child {
      .vanItem {
        border-radius: 50px 0px 0px 50px;
      }
    }

    &:last-child {
      .vanItem {
        border-radius: 0px 50px 50px 0px;
      }
    }
  }

  .vanItem {
    display: flex;
    justify-content: center;
    align-items: center;

    transition: background 0.3s ease-in-out;
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #f9f8f6;
    background: rgba(56, 124, 68, 0.1);
    width: 109.25px;
    height: 66px;

    &:hover {
      box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
      border: 1px solid #387c44;
      background: #74bb80;
    }
    &.active {
      box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
      border: 1px solid #387c44;
      background: #74bb80;
    }

    @include laptop {
      width: 100px;
      height: 60px;

      img {
        width: 50px;
        height: 50px;
      }
    }

    @include small-screen {
      width: 80px;
      height: 40px;

      img {
        width: unset;
        max-width: 60%;
        height: auto;
      }
    }
  }
}

.daysPickup {
  .daysItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    margin-left: 10px;
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #f9f8f6;
    border-radius: 10px;
    background: rgba(56, 124, 68, 0.1);
    padding-top: 10px;
    width: 70px;
    height: 80px;

    h5 {
      font-size: 15px;
    }

    h6 {
      font-size: 29px;
    }

    &:hover {
      box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
      border: 1px solid #387c44;
      border-radius: 10px;
      background: #74bb81;

      h6,
      h5 {
        color: white;
      }
      svg {
        color: white;
      }
    }

    &.active {
      box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
      border: 1px solid #387c44;
      border-radius: 10px;
      background: #74bb81;

      h6,
      h5 {
        color: white;
      }
      svg {
        color: white;
      }
    }
  }
}

.timeItem {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  transition: all 0.3s ease-in-out;

  cursor: pointer;
  border: 1px solid rgba(56, 124, 68, 0.2);

  border-radius: 10px;
  background: #fff;
  padding: 10px 24px;

  &:hover {
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #387c44;
    background: #74bb80;

    p {
      color: white;
    }
  }

  // @include small-screen {
  //   width: 100%;

  // }
}
.daysItem {
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  
}
.active {
  background-color: #387c44;
  color: rgb(255, 255, 255);
  border-color: #387c44;
  border: 1px solid #16bd61;

}