// :root {
//   --violet: #663399;
// }

// #proposed-groups-content {
//   display: flex;
//   flex-direction: column;
//   gap: 1rem;

//   .event-thumbnail {
//     height: 4rem;
//     width: 4rem;
//     background-size: cover;
//     background-repeat: no-repeat;
//   }

//   /* General skeleton styles */
//   .skeleton,
//   .skeleton-thumbnail {
//     border-radius: 4px;
//   }

//   /* Specific skeleton blocks for different parts */
//   .skeleton-thumbnail {
//     height: 4rem;
//     width: 4rem;
//     border-radius: 50%;
//   }

//   .skeleton-title {
//     width: 50%;
//     margin-bottom: 0;
//   }

//   .skeleton-text {
//     height: 4rem;
//     margin-bottom: 0 !important;
//   }

//   .skeleton-list {
//     display: flex;
//     flex-direction: column;
//     gap: 0.5rem;
//     padding-left: 3rem;
//     background-color: transparent;
//     width: 75%;
//     list-style: none;
//   }

//   .skeleton-list .skeleton-text {
//     width: 90%;
//     height: 10px;
//     margin-bottom: 5px;
//   }

//   .skeleton-button {
//     width: 80px;
//     height: 30px;
//     border-radius: 1rem;
//   }

//   .group-item {
//     overflow: hidden;
//     transition: background-color ease-in-out 300ms;
//     background-color: white;
//     box-shadow: 0px 2px 20px 0px #0000000d;
//     padding: 1.5rem 2.5rem;
//     border-radius: 10px;
//   }

//   .group-item:hover {
//     background-color: $purity-col-cus-20;
//   }

//   .group-details {
//     flex: 1;
//     // border-right: 1px solid #e3e3e3;
//     padding-right: 2.5rem;
//   }

//   .group-details p {
//     color: #b4b4b4;
//     display: -webkit-box;
//     -webkit-line-clamp: 4; /* Limit to 2 lines */
//     -webkit-box-orient: vertical;
//     overflow: hidden;
//     text-overflow: ellipsis;
//   }

//   .group-side-details {
//     padding-left: 2.5rem;
//     min-width: 194px;
//     position: relative;
//   }

//   .group-side-details::before {
//     content: '';
//     width: 1px;
//     height: 100%;
//     background-color: #e3e3e3;
//     display: block;
//     position: absolute;
//     top: 0;
//     left: 0;
//   }

//   .group-side-details p {
//     margin-bottom: 0;
//     font-size: 0.875rem;
//     color: #858585;
//     position: relative;
//   }

//   .members {
//     display: flex;
//     min-height: 38px;
//   }

//   .member {
//     width: 38px;
//     height: 38px;
//     overflow: hidden;
//   }

//   .member.other-members-count {
//     background-color: var(--violet);
//     color: white;
//     display: grid;
//     place-content: center;
//     font-size: 0.875rem;
//     border-radius: 100%;
//   }

//   .member:not(:first-child) {
//     margin-left: -10px;
//   }

//   .member img {
//     width: 100%;
//     height: 100%;
//     object-fit: cover;
//     object-position: top center;
//     display: block; /* Prevents inline spacing from images */
//     border-radius: 100%; /* Ensures the image matches the parent border-radius */
//     border: 1px solid var(--violet);
//   }

//   .group-side-details .btn {
//     width: 100%;
//     max-width: 194px;
//     border-radius: calc(0.25rem + 1px);
//     padding: 1rem;
//     line-height: 1;
//     font-size: 0.875rem;
//     font-weight: 500;
//     border: none;
//   }

//   .group-side-details .btn.join-group-btn {
//     background-color: var(--violet);
//   }

//   .initials-placeholder {
//     width: 38px;
//     height: 38px;
//     display: flex;
//     align-items: center;
//     justify-content: center;
//     border-radius: 50%;
//     font-size: 14px;
//     font-weight: bold;
//     color: white;
//   }
// }

// .skeleton-list {
//   list-style: none !important;
//   background: white;
// }

// .skeleton-list li.skeleton {
//   height: 2rem;
//   border-radius: 0.25rem;
// }


/* Base styles */
:root {
  --violet: #663399;
}
 
#proposed-groups-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
 
  .event-thumbnail {
    height: 4rem;
    width: 4rem;
    background-size: cover;
    background-repeat: no-repeat;
  }
 
  .group-item {
    overflow: hidden;
    transition: background-color ease-in-out 300ms;
    background-color: white;
    box-shadow: 0px 2px 20px 0px #0000000d;
    padding: 1.5rem 2.5rem;
    border-radius: 10px;
  }
 
  .group-details {
    flex: 1;
    padding-right: 2.5rem;
  }
 
  .group-details p {
    color: #b4b4b4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
 
  .group-side-details {
    padding-left: 2.5rem;
    min-width: 194px;
    position: relative;
  }
 
  .group-side-details::before {
    content: '';
    width: 1px;
    height: 100%;
    background-color: #e3e3e3;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
 
  .members {
    display: flex;
    min-height: 38px;
  }
 
  .member {
    width: 38px;
    height: 38px;
    overflow: hidden;
  }
 
  .member:not(:first-child) {
    margin-left: -10px;
  }
 
  .member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 100%;
    border: 1px solid var(--violet);
  }
 
  .group-side-details .btn {
    width: 100%;
    max-width: 194px;
    border-radius: calc(0.25rem + 1px);
    padding: 1rem;
    line-height: 1;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
  }
 
  .initials-placeholder {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    color: white;
  }
 
  /* Skeleton Loader */
  .skeleton-list {
    list-style: none !important;
    background: white;
  }
 
  .skeleton-list li.skeleton {
    height: 2rem;
    border-radius: 0.25rem;
  }
}
 
/* Mobile screens (max-width: 600px) */
@media (max-width: 600px) {
  // #proposed-groups-content {
  //   padding: 0.5rem;
  // }
 
  .group-item {
    padding: 1.5rem 1.5rem !important;
    flex-direction: column !important;
  }
 
  .event-thumbnail {
    width: 100%;
    height: 80px;
    background-position: center;
  }
 
  .group-details {
    padding-right: 0 !important;
  }
 
  .group-side-details {
    padding-left: 0 !important;
    min-width: 100% !important;
  }
 
  .group-side-details::before {
    display: none !important;
  }
 
  .members {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }
 
  .member {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
 
  .group-side-details p {
    font-size: 0.75rem;
  }
 
  .group-side-details .btn {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}
 
/* Small Mobile screens (max-width: 320px) */
@media (max-width: 320px) {
  .event-thumbnail {
    height: 60px;
    width: 60px;
  }
 
  .group-item {
    padding: 1.5rem 1.5rem !important;
    flex-direction: column !important;
  }
 
  .group-side-details {
    padding-left: 0 !important;
    min-width: 100% !important;
  }
 
  .group-details h1 {
    font-size: 1rem;
  }
 
  .group-details p {
    font-size: 0.7rem;
  }
 
  .group-side-details .btn {
    padding: 0.5rem;
  }
 
  .members {
    justify-content: flex-start;
  }
 
  .member {
    width: 28px;
    height: 28px;
  }
}
 
/* Tablet Screens (min-width: 599px) */
@media (min-width: 599px) and (max-width: 992px) {
  .group-item {
    flex-direction: row;
  }
 
  .group-details {
    padding-right: 2rem;
  }
 
  .group-side-details {
    padding-left: 1.5rem;
  }
 
  .group-side-details .btn {
    font-size: 0.875rem;
  }
 
  .members {
    gap: 12px;
  }
 
  .member {
    width: 35px;
    height: 35px;
  }
 
  .event-thumbnail {
    height: 100px;
    width: 100px;
  }
 
  .group-side-details p {
    font-size: 0.875rem;
  }
}