@font-face {
  font-family: "VanillaExtract";
  src: url("/media/VanillaExtract.ttf");
}
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a {
    text-decoration: none !important;
}
nav:before {
  content: " ";
  display: block;
  position: fixed;
  left: 0;
  bottom: 100%;
  height: 100vh;
  width: 100vw;
  background: inherit;
}
.hidden {
  display: none !important;
}
.navbar-brand {
    font-family: "VanillaExtract";
    font-size: 2em;
}
footer {
    background-color: transparent;
    padding: 1.5rem 0;
    border-top: 1px solid #dee2e6;
}
footer a {
    color: var(--bs-primary);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
#addChatBtn {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  border: 1px solid #218838;
}
.group-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}
.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.group-cover {
  height: 120px;
  object-fit: cover;
  background: #AAA;
  color: white;
  padding: 10px;
  margin: 5px;
}
.group-avatar {
  width: 80px;
  height: 80px;
  border: 4px solid white;
  margin-top: -40px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #FFF;
}
.badge {
  user-select: none;
}
.badge-pg13 {
  background: #28a745;
  font-size: 0.65rem;
}
.badge-18 {
  background: #fa5337;
  font-size: 0.65rem;
}
.topic-badge {
  font-size: 0.75rem;
  cursor: pointer;
}
.filter-option.active {
  background-color: #999 !important;
  color: #FFF !important;
}
@media {
  .marquee-container {
    overflow-x: clip;
    white-space: nowrap;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .marquee-container::-webkit-scrollbar {
    display: none;
  }
}




/* Dark Theme Adjustments */
[data-bs-theme="dark"], [data-bs-theme="dark"] .testimonial-card  {
  background-color: #212529 !important;
  color: #e9ecef !important;
}

/* Ensure Bootstrap components respect dark mode */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .dropdown-menu,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-check-input,
[data-bs-theme="dark"] #testimonials {
  background-color: #343a40 !important;
  color: #e9ecef !important;
  border-color: #495057 !important;
}

/* Ensure dropdown items have proper contrast */
[data-bs-theme="dark"] .dropdown-item {
  color: #e9ecef !important;
  background-color: #343a40 !important;
}
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
  background-color: #495057 !important;
  color: #ffffff !important;
}

/* Fix form switch in dark mode */
[data-bs-theme="dark"] .form-check-label {
  color: #e9ecef !important;
}

[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-white {
  background-color: #343a40 !important;
}