body, html {
  margin: 0;
  padding: 0;
}

body {
  background-color: #eafbf1;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

/* theme variables used across multiple components */
:root {
  --primary: #16ad43;
  --primary-dark: #0e8f37;
  --secondary: #0e8f37;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(22, 173, 67, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}



/* header/footer span the full width of the body (not just viewport) */
.header,
.footer {
  width: 100%;
  box-sizing: border-box;
}

/* force core layout elements to occupy full width, removing any
   legacy max-widths so no side gaps appear on large screens */
.main-content {
  width: 100%;
  box-sizing: border-box;
}

/* include padding/border in element width calculations globally */
*, *::before, *::after {
  box-sizing: border-box;
}

/* push footer to bottom when content is short */
footer { margin-top: auto; } /* legacy, still harmless */


/* ══════════════════════════════════════════════════
   Rich footer — logo, tagline, rating, link columns,
   social icons, bottom copyright bar
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--white);
  color: #333;
  padding: 40px 20px 0 20px;
  margin-top: auto;
  box-shadow: none;
  border-top: 1px solid rgba(22,173,67,0.12);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 30px;
}

.footer-brand {
  flex: 1 1 260px;
  min-width: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo .logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
}

.footer-logo .logo-text span {
  color: var(--primary);
}

.footer-tagline {
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
  max-width: 300px;
}

.footer-rating {
  font-size: 0.88rem;
  color: #444;
}

.footer-rating .stars {
  color: #f5a623;
  letter-spacing: 1px;
  margin-right: 4px;
}

.footer-rating strong { color: #1a1a1a; }

.footer-rating .trust-line {
  display: block;
  color: #667085;
  margin-top: 2px;
}

.footer-col {
  flex: 0 1 140px;
  min-width: 120px;
}

.footer-col h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  color: #667085;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-social {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eafbf1;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
  color: #667085;
}

.footer-bottom .heart { color: #f44336; }

@media (max-width: 768px) {
  .footer { padding: 30px 16px 0 16px; text-align: left; }
  .footer-inner { gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* make `.table-responsive` contribute to the page width instead of scrolled separately
   so header/footer and body scroll together. */
.table-responsive {
  overflow-x: auto;
}


.header {
  background-color:#16ad43;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* remove possible border/shadow that could create a gap on small screens */
  border-bottom: none;
  box-shadow: none;
}
.menu-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #fff;
}
.profile-dropdown .dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* remove default dropdown caret that shows as a small dash/triangle */
.profile-dropdown .dropdown-toggle::after,
.profile-dropdown .dropdown-toggle::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* also clear any background-image that might render a caret */
.profile-dropdown .dropdown-toggle {
  background-image: none !important;
  color: inherit !important; /* ensure arrow color doesn't bleed through */
}

/* optional: remove focus outline/shadow when button is clicked */
.profile-dropdown .dropdown-toggle:focus {
  box-shadow: none !important;
  outline: none !important;
}
.profile-dropdown img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 16px rgba(22,173,67,0.08);
  padding: 24px 0 0 0;
  transition: left 0.3s;
  z-index: 9999;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow-y: auto;
}
.sidebar.active { left: 0; }

/* sidebar no longer force-open on desktop; user toggles it manually */
@media (min-width: 992px) {
  /* maintain overlay behaviour; nothing special here */
}

.sidebar-link {
}

.sidebar-link.disabled-link { opacity: 0.5; pointer-events: none; cursor: default; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #16ad43;
  padding: 1rem 2rem;
  border-radius: 0 20px 20px 0;
  margin-bottom: 2px;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.sidebar-link.active,
.sidebar-link:hover {
  background: #e8f8ee;
  color: var(--secondary);
}
.sidebar-link i {
  min-width: 26px;
  text-align: center;
  font-size: 1.25em;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15);
  z-index: 9998;
}
.sidebar-overlay.active {
  display: block;
}
.notif-bell {
  color:rgb(249, 251, 253) !important; /* Blue bell */
  font-size: 1.4em !important;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(33,150,243,0.10));
  position: relative;
  transition: color 0.2s;
}
    .notif-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  background: #f44336;
  color: #fff;
  border-radius: 50%;
  padding: 0 5px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(244,67,54,0.18);
  z-index: 1002;
  transition: all 0.2s;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
  line-height: 1;
  box-sizing: border-box;
  pointer-events: none;
}
.sidebar .fa-bell .notif-badge,
.sidebar-link .notif-badge {
  display: none !important;
}
@media (max-width: 991px) {
  .sidebar { width: 80vw; max-width: 260px; }
}