.dark-version .sidenav.bg-white .collapse .nav-item .nav-link:not(.active) i {
  color: white !important;
}

.icon-group {
  position: relative;
}

.icon-group #togglePasswordBtn,
.icon-group #togglePasswordBtn2 {
  position: absolute;
  top: 50%;
  right: 33px; /* Adjust as needed */
  transform: translateY(-50%);
  cursor: pointer;
}

.icon-group #togglePasswordBtn3,
.icon-group #togglePasswordBtn4, 
.icon-group #togglePasswordBtn5, 
.icon-group #togglePasswordBtn6, 
.icon-group #togglePasswordBtn7, 
.icon-group #togglePasswordBtn8 {
  position: absolute;
  top: 50%;
  right: 15px; /* Adjust as needed */
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
}

.signup_login_logo .logo {
  height: 100px;
  width: 100px;
}

#main-content {
  display: none;
}

.loading-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  /* Initial opacity */
  transform: scale(1);
  /* Initial scale */
  animation: scaleOpacity 1s ease-in-out forwards;
  /* Apply animation */
}

@keyframes scaleOpacity {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.8);
    opacity: 0;
    display: none;
    /* Hide overlay after animation */
  }
}

.loading-spinner {
  border: 9px solid #f3f3f3;
  border-top: 6px solid rgb(208, 6, 6);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.invalid-feedback {
  display: block !important;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  z-index: 9999;
}

.blink {
  animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
  height: 100vh !important;
}

.offering_btn {
  margin-bottom: 0rem !important;
}

@media (max-width: 576px) {
  .card-body .noti_ul li {
    flex-direction: column;
    align-items: flex-start;
  }
  .card-body .noti_ul li h6 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  .card-body .noti_ul li .text-xs {
    font-size: 0.75rem;
  }
  .card-body .noti_ul li hr {
    margin: 0.5rem 0;
  }
}

/* for birthday section in events page */
.birthday-item {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.birthday-name {
  font-weight: bold;
  margin-bottom: 0;
}
.birthday-badge {
  background-color: #17a2b8;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9em;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 100%;
  margin-top: 10px;
}
.contact-link {
  color: #007bff;
  text-decoration: none;
  margin-top: 5px;
}
.contact-link:hover {
  color: #0056b3;
  text-decoration: none;
}
@media (min-width: 576px) {
  .contact-info {
    flex: 0 0 auto;
    margin-top: 0;
    align-items: flex-start;
  }
}

/* list-group for recent offerings */
.custom-list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 0.5px solid #ddd;
    background-color: #fff;
    transition: background-color 0.3s;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.custom-list-group-item:hover {
    background-color: #f9f9f9;
}

.btn-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #28a745;
    background-color: transparent;
    color: #28a745;
    margin-right: 15px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-icon:hover {
    background-color: #28a745;
    color: #fff;
}

.details {
    display: flex;
    flex-direction: column;
    flex: 1; /* Allows the details section to grow */
    margin-right: 15px;
}

.details h6 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.details .date {
    font-size: 0.875rem;
    color: #777;
}

.amount {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745;
    white-space: nowrap; /* Prevents text wrapping */
}

@media (max-width: 768px) {
    .custom-list-group-item {
        flex-direction: column; /* Stacks items vertically on smaller screens */
        align-items: flex-start;
    }
    
    .btn-icon {
        display: flex;
        margin-right: 0;
        margin-bottom: 10px; /* Adds space between button and details */
    }

    .details {
        margin-right: 0;
        margin-bottom: 10px; /* Adds space between details and amount */
    }

    .amount {
        align-self: flex-end; /* Aligns amount to the right on smaller screens */
    }
}


/* events */
.event-card {
  height: 100%;
  min-height: 325px;
  width: 100%; /* Allow the card to take full width of its container */
  max-width: 400px; /* Set the maximum width for the cards */
  min-width: 380px; /* Set the minimum width for the cards */
  margin: 20px; /* Add margin to ensure spacing between cards */
  word-wrap: break-word; /* Ensure long words break and wrap */
  overflow: hidden; /* Ensure contents do not overflow */
  box-sizing: border-box; /* Ensure padding and border are included in the width and height */
}

.event-card .card-header {
    height: 150px; /* Fixed height for the header */
    background-size: cover;
    background-position: center;
}

.event-card .card-body {
    padding: 20px;
    flex: 1;
}

.event-card .card-footer {
    padding: 10px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .event-card {
      max-width: 100%; /* Ensure the card takes full width on smaller screens */
      min-width: auto; 
    }
    
    .event-card-grid {
      max-width: 100%; /* Ensure the card takes full width on smaller screens */
      min-width: auto; 
    }
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.event-card-grid {
  width: 100%; /* Allow the card to take full width of its container */
  max-width: 400px; /* Set the maximum width for the cards */
  min-width: 380px; 
  padding: 20px;
  word-wrap: break-word; /* Ensure long words break and wrap */
  overflow: hidden; /* Ensure contents do not overflow */
  box-sizing: border-box; /* Ensure padding and border are included in the width and height */

  background-size: cover;
  background-position: center;
  /* color: black; Changed text color to black for better readability on white background */
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions */
}

.event-card-grid:hover {
    transform: translateY(-5px); /* Slight upward movement on hover */
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.event-card-header {
    margin-bottom: 1.3rem;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease-in-out; /* Smooth scaling transition */
}

.event-card-grid:hover .event-card-header {
    transform: scale(1.1);
}

.event-card-body {
    
    /* background: white; */
    /* flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; */
 
}

.event-card-body h2,
.event-card-body p {
    margin: 0 0 10px 0;
}

.card-footer {
    margin-top: 10px;
}

.event-actions button {
    margin: 5px 0;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .event-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

.nav-wrapper_setting {
    height: 100vh; /* Adjust height as needed */
    overflow-y: auto; /* Enable scrolling if necessary */
}

.tab-pane_setting {
    padding: 20px; /* Add padding to tab content */
}

@media (max-width: 991.98px) { /* Bootstrap's lg breakpoint */
    .nav-wrapper_settings {
        position: relative;
        top: auto;
        bottom: 0;
    }
}

/* list group for job lists */
.custom-list-group_j {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.custom-list-group-item_j {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-list-group-item_j:last-child {
    border-bottom: none;
}

.custom-list-group-item_j button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    background-color: #dc3545;
    color: #fff;
    cursor: pointer;
}

.custom-list-group-item_j button:hover {
    background-color: #c82333;
}

table.dataTable tbody tr {
    background-color: unset !important; 
}


.member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
    margin-left: 40px
}

.member-item .member-name {
    flex-grow: 1;
}

.toggle-verify {
    margin-left: 10px;
}


.dark-version h1, .dark-version .h1, .dark-version .h1, .dark-version h2, .dark-version .h2, .dark-version .h2, .dark-version h3, .dark-version .h3, .dark-version .h3, .dark-version h4, .dark-version .h4, .dark-version .h4, .dark-version h5, .dark-version .h5, .dark-version .h5, .dark-version h6, .dark-version .h6, .dark-version .h6, .dark-version a:not(.dropdown-item):not(.choices__item):not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(.btn):not(.nav-link):not(.fixed-plugin-button), .dark-version .table thead tr th, .dark-version .kanban-title-board {
    color: #344767 !important;
}