﻿.tooltip .tooltiptext {
  padding: 0;
}
/* .main_listing_table .table-responsive.text-nowrap.volunteer-table svg{
  height: 20px;
  width: 20px;
} */
.sold_out {
  background: red;
  border: none;
}
.inline-span {
  display: inline;
}
h3 {
  margin-top: 10px;
}
h6 {
  margin-top: 10px !important;
  margin-bottom: 0px !important;
}
.date-item.hidden {
  display: none;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
}
.date-item:nth-child(-n+5) + .read-more-btn {
  display: none;
}

.read-more-btn.hide {
  display: none;
}
.read-more-btn.show {
  display: inline-block;
}
.read-less-btn {
  display: inline-block;
}
.date-cap-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0;
  justify-content: space-between;
}
.date-cap-wrap .date-item {
  pointer-events: none;
  /* border: 1px solid #26a099; */
  background-color: transparent;
  color: #26a099;
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: none;
  padding: 0;
}
.read-more-less,
.read-more-btn,
.date-item {
  display: inline-block;
  padding: 3px 8px;
  background-color: #26a099;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 12px;
  margin: 0;
}
.read-more-less,
.read-more-btn {
  margin: 0;
  border: 0;
  background-color: rgba(251, 140, 0, 1);
}
.scrollbar {
  /* height: auto;
  overflow-y: scroll;
  margin-bottom: 25px;
  direction: rtl; */
}
/* .details-section-top {
  width: calc(100% - 200px);
} */
/* .register-col {
  max-width: 200px;
} */
@media (max-width: 1024px) {
  body {
    padding-bottom: 32px !important;
  }
}
@media (min-width: 1024px) {
  .text-nowrap.volunteer-table {
    overflow: visible;
  }
}
@media (max-width: 767px) {
  .register-col-with-logo {
    justify-content: space-around;
  }
}

.event-location {
  border-left: 4px solid #0d6efd;
  padding-left: 10px;
  background: #f1f8ff;
  font-size: 13px;
}

.event-share {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.event-share-title {
  font-size: 13px;
  color: #1b2124;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.left-search-section .status-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.left-search-section .status-btn {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* background-color: #f9f9f9; */
  font-family: sans-serif;
  font-size: 14px;
  justify-content: center;
  border-radius: 9999px;
  background-color: #fff;
  border: 2px solid #27c7bd;
}
.left-search-section .status-btn:hover {
  background-color: #27c7bd1a;
}
.left-search-section .status-btn input[type="radio"] {
  display: none;
}

.left-search-section .status-icon {
  /* display: inline-block; */
  display: none;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  /* border: 2px solid #444; */
  /* border-radius: 5px; */
  position: relative;
  border: 2px solid #27c7bd;
  background-color: #fff;
}

.left-search-section .status-text {
  /* color: #000; */
  color: #27c7bd;
  font-family: 'Poppins';
  letter-spacing: 0.1px;
  /* font-weight: 600; */
}

/* Checked styles */
.left-search-section .status-btn input:checked + .status-icon::before {
  content: "âœ”";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  color: #fff;
  font-size: 12px;
  font-family: 'Poppins';
}

.left-search-section .status-btn input:checked ~ .status-text {
  color: #fff !important;
}

.left-search-section .status-btn input:checked ~ .status-icon {
  border-color: #fff;
  background-color: #27c7bd;
}

.left-search-section .status-btn.checked {
  border-color: #27c7bd;
  color: #fff !important;
  background-color: #27c7bd !important;
  box-shadow: 0 0 6px rgba(255, 165, 0, 0.2);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.event-details-content {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #27c7bd;
  text-align: left;
}
.event-details-content .event-title {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #1b2124;
}
.event-details-content .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.event-details-content ul {
  margin: 0;
  padding-left: 0;
}
.event-details-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #27c7bd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #27c7bd;
  background: #ffffff;
}
.event-details-content a:hover {
  /* text-decoration: underline; */
  background: #27c7bd1a;
}
.event-details-content a.active {
  background: #27c7bd;
  border-color: #27c7bd;
  color: #ffffff;
  text-decoration: none;
}
.event-details-content a.active .fa {
  color: #ffffff;
}
.event-details-content .fa {
  font-size: 12px;
  color: #27c7bd;
}
.event-faq {
  margin-top: 20px;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 16px;
  background: #ffffff;
}
.event-faq .event-title {
  margin: 0 0 12px 0;
}
.event-faq-item {
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 12px 14px;
  background: #f9fcff;
}
.event-faq-item + .event-faq-item {
  margin-top: 10px;
}
.event-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  color: #1b2124;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.event-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(39, 199, 189, 0.12);
  display: grid;
  place-items: center;
  color: #27c7bd;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.event-faq-item.is-open .event-faq-icon {
  transform: rotate(45deg);
  background: rgba(251, 140, 0, 0.15);
  color: #fb8c00;
}
.event-faq-body {
  display: none;
  margin-top: 10px;
  color: #475467;
  line-height: 1.6;
}
.event-faq-item.is-open .event-faq-body {
  display: block;
}
@media (max-width: 991px) {
  .event-details-content {
    margin-top: 12px;
    padding: 14px;
  }
}
@media (max-width: 575px) {
  .event-details-content {
    padding: 12px;
  }
  .event-details-content .event-title {
    font-size: 15px;
  }
  .event-details-content .category-list {
    flex-direction: column;
  }
  .event-details-content a {
    font-size: 13px;
    padding: 6px 10px;
    width: 100%;
  }
}

/* Sticky taskgroup filter: sticks to top when scrolling on wider screens */
.taskgroup-card,
.left-search-section {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  /* adjust if your header height changes */
  z-index: 1050;
  background-color: #fff;
  padding-bottom: 10px;
}
