:root {
  color-scheme: only light;
}
.filters i,
.grid i,
.notifications i,
h2 i,
.comm i,
.suggestion-icon,
table i {
  color: #bf2e61;
  font-size: 24px;
}

.btnBar button:hover > i {
  color: #bf2e61;
}

.btnBar button i {
  margin-left: 5px;
}

.grid .flex-col {
  position: relative;
}
.flex-col h2 {
  position: absolute;
  top: -15px;
  /*        background-color: #fff;*/
  color: white;
}
.flex-col p {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji";
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}
.flex-col span {
  font-weight: normal;
}

.dn {
  display: none !important;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #3f51b5;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
}

.menu-icon {
  color: #bf2e61;
  font-size: 32px;
  margin: 0 25px;
}

.contact {
  position: relative;
}
.contact i {
  top: 45px;
  right: -14px;
  cursor: pointer;
  font-size: 20px;
}

.filters input[type=radio]{
  margin-top: 7px;
}

.card p{
  line-height: 2rem;
}

.relative:focus-within ul {
    display: block; /* Shows the list when the input is focused */
}

.pr100{
  right: 100px;
}

.h2{
  font-size: 32px;
  padding-right: 100px;
}

input[disabled], select[disabled]{
  background-color: #e5e5e5;
}

.contact-icons i{
  font-size: 28px;
}

.contact-filters i{
  font-size: 20px;
}

#notification-dropdown{
  z-index: 10;
}

.confetti {
    position: fixed;
    top: 0;
    left: 50%;
    font-size: 2rem;
    opacity: 1;
    transform: translateX(-50%);
    animation: fall 3s linear forwards;
}

@keyframes fall {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

#suggestions {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 3px;
    border-radius: 4px;
    z-index: 48;
    display: none;
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
}
.suggestion-item:hover {
    background: #f9fafb;
}

.default-text{
  color: #bf2e61;
}

.copy-comment{
  vertical-align: top;
}

.snapi{
  color: #bf2e61;
}

/* ---- App layout (plain PHP views: header.php + footer.php) ---- */

:root {
  --snapi-sidebar-width: 16rem;
  --snapi-topbar-height: 4rem;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f3f4f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.snapi-rain {
  position: fixed;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

/* Fixed left sidebar; main content flows naturally beside it. */
.snapi-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--snapi-sidebar-width);
  display: flex;
  flex-direction: column;
  background: #111827;
  color: #d1d5db;
  z-index: 50;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.snapi-sidebar-brand {
  height: var(--snapi-topbar-height);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  border-bottom: 1px solid #1f2937;
}

.snapi-sidebar-brand img {
  height: 44px;
  width: auto;
}

.snapi-sidebar-nav {
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.snapi-sidebar-viewport {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.snapi-sidebar-slider {
  display: flex;
  height: 100%;
  width: 200%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.snapi-sidebar-slider.is-submenu {
  transform: translateX(-50%);
}

.snapi-sidebar-panel {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.snapi-main {
  margin-left: var(--snapi-sidebar-width);
  min-height: 100vh;
  max-width: calc(100vw - var(--snapi-sidebar-width));
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.snapi-topbar {
  position: sticky;
  top: 0;
  min-height: var(--snapi-topbar-height);
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 30;
}

.snapi-topbar-start {
  justify-self: start;
}

.snapi-topbar-center {
  justify-self: center;
  display: flex;
  justify-content: center;
}

.snapi-topbar-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.snapi-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

.snapi-topbar-btn-outline {
  justify-content: space-between;
  min-width: 12rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.snapi-topbar-btn-outline:hover {
  background: #f9fafb;
}

.snapi-topbar-btn-green {
  background: #22c55e;
  color: #fff;
}

.snapi-topbar-btn-green:hover {
  background: #16a34a;
}

.snapi-topbar-btn-indigo {
  background: #818cf8;
  color: #fff;
}

.snapi-topbar-btn-indigo:hover {
  background: #6366f1;
}

.snapi-topbar-btn-blue {
  background: #3b82f6;
  color: #fff;
}

.snapi-topbar-btn-blue:hover {
  background: #2563eb;
}

.snapi-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.snapi-main-body {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.snapi-page {
  background: #f3f4f6;
}

.snapi-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 24, 39, 0.5);
}

.snapi-back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  border: 0;
  border-radius: 9999px;
  background: #3b82f6;
  color: #fff;
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.snapi-back-to-top:hover {
  background: #2563eb;
}

.snapi-back-to-top.is-faded {
  opacity: 0;
  pointer-events: none;
}

.snapi-nav-link,
.snapi-nav-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.snapi-nav-link:hover,
.snapi-nav-trigger:hover,
.snapi-nav-link.is-active,
.snapi-nav-trigger.is-active {
  background: #374151;
  color: #fff;
}

.snapi-nav-link i,
.snapi-nav-trigger i:first-child {
  width: 1.25rem;
  text-align: center;
}

.snapi-nav-trigger span {
  flex: 1;
}

.snapi-nav-chevron {
  font-size: 0.65rem;
  opacity: 0.6;
}

.snapi-nav-dev {
  color: #facc15;
}

.snapi-nav-dev:hover {
  color: #fde047;
}

.snapi-icon-btn {
  border: 0;
  background: transparent;
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: #4b5563;
  cursor: pointer;
}

.snapi-icon-btn:hover {
  background: #f3f4f6;
}

.snapi-mobile-only {
  display: none;
}

/* Desktop: backdrop never needed (sidebar always visible). */
@media (min-width: 1024px) {
  .snapi-backdrop {
    display: none !important;
  }
}

/* Mobile/tablet: sidebar becomes an off-canvas drawer. */
@media (max-width: 1023px) {
  .snapi-sidebar {
    transform: translateX(-100%);
  }

  .snapi-sidebar.is-open {
    transform: translateX(0);
  }

  .snapi-main {
    margin-left: 0;
    max-width: 100vw;
  }

  .snapi-mobile-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
