@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
:root {
  --white-color: #fff;
  --black-color: #000;
  --main-color: #005f00;
  --lighter-green: #00c503;
  --hover-color: #e5feeb;
  --body-color: rgba(255, 255, 255, 0.1);
}
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}
body {
  font-family: "DM Sans", sans-serif;
  background-color: #fff;
}
html {
  scroll-behavior: smooth;
}
button {
  background: transparent;
  border: none;
}
nav {
  display: flex;
  align-items: center;
}
nav a,
.nav-btn {
  color: var(--lighter-green);
  text-decoration: none;
  font-size: 18px;
  margin: 0.5rem;
}
.nav-btn:hover,
nav a:hover {
  background: var(--main-color);
  color: var(--white-color);
  padding: 0.7rem;
  border-radius: 5px;
}
.service-content a,
.more-content a {
  display: block;
}
.service-content,
.more-content {
  position: absolute;
  display: none;
  min-width: 200px;
  background: var(--white-color);
}
.service-dropdown:hover .service-content,
.more-dropdown:hover .more-content {
  display: block;
}
.service-content a:hover,
.more-content a:hover {
  background: #00ab00;
  color: var(--white-color);
  padding: 5px;
  border-radius: 0px;
}
header {
  margin: 0 auto;
}
.header {
  max-width: 100%;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo-icon {
  width: 40px;
  height: 32px;
}
.logo-parent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.logo-parent a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.login a {
  text-decoration: none;
  color: var(--lighter-green);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  padding: 10px 30px;
  text-align: left;
  font-size: 18px;
  position: relative;
  letter-spacing: -0.03em;
  line-height: 28px;
  font-weight: 500;
}
.login a:hover {
  background: var(--lighter-green);
  color: var(--white-color);
}
.nav2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.dropdown,
.hamburger,
.more-dropdown,
.service-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown img:nth-of-type(2) {
  position: absolute;
  top: 9px;
  left: 21px;
}
.dropdown img:nth-of-type(1) {
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  padding: 3px;
}
.dropdown img {
  cursor: pointer;
}
/* Dropdown Box */
.notification {
  background: var(--white-color);
  width: 300px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  /* top: 100%; */
  left: -140px;
  /* margin-top: 10px; */
  display: none;
  z-index: 100;
}
/* Notification items */
.notification .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid #00ab00;
  border-radius: 0px 10px 10px 10px;
}
.item:hover {
  background: #e0fce0;
}
.notification .item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.notification .item .info {
  flex: 1;
  margin-left: 10px;
}
.notification .item .info h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.notification .item .info p {
  margin: 3px 0;
  font-size: 12px;
  color: #4d4d4d;
}
.notification .item .info span {
  font-size: 11px;
  color: #999;
}
.notification .item a {
  text-decoration: none;
  font-size: 12px;
  color: #999;
  font-weight: 500;
  float: right;
}
.dropdown:hover .notification {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}
.dropdown-2 {
  position: relative;
  display: inline-block;
}
.dropdown-2 img {
  cursor: pointer;
  display: block;
}
.dropdown-content-1 {
  display: none;
  position: absolute;
  /* top: 100%; */
  right: -20px;
  background-color: var(--white-color);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  width: 193px;
  height: 124px;
  text-align: right;
  /* margin-left: -150px;
  margin-top: 10px; */
}
.dropdown-content-1 a {
  display: block;
  text-decoration: none;
  padding: 8px 12px;
  color: #00c503;
  font-size: 18px;
}
.dropdown-content-1 a:hover {
  background-color: #3e8e41;
  color: var(--white-color);
}
.dropdown-2:hover .dropdown-content-1 {
  display: block;
}
.hamburger {
  display: none;
}
.dropdownbtn {
  background: transparent;
  border: none;
  cursor: pointer;
}
.dropdown-content ul {
  display: none;
  width: 100%;
  position: absolute;
  right: -25px;
  top: 2rem;
  background-color: var(--white-color);
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.dropdown-content ul li {
  list-style-type: none;
}
.dropdown-content li a {
  text-decoration: none;
  color: var(--lighter-green);
  font-size: 18px;
}
.hamburger:hover .dropdown-content ul {
  display: block;
}
.menu a:hover {
  background: #007900;
  color: var(--white-color);
  width: 100%;
}
.menu {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 10px;
}
.service {
  letter-spacing: -0.03em;
  line-height: 28px;
  font-weight: 500;
}
.hamburger img:hover,
.dropdown-content {
  display: block;
}
/*=======Backend======*/
.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.product-table th,
.product-table td {
  border-bottom: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
}
.product-table th {
  background: #f5f5f5;
  font-weight: bold;
}
.status-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}
.status-auth {
  background: #0f9d58;
  color: #fff;
}
.status-fake {
  background: #e74c3c;
  color: #fff;
}

.number {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 10px solid red; /* reported */
  border-right-color: limegreen; /* verified */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.donut {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(green 0% 0%, red 0% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut span {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
}

/*=======Backend profilePic, Bell, logout========*/

/* NEW ADDITION BELOW — keeps dropdown open even with gap */

/* Invisible hover bridge below the icon */
.dropdown::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  opacity: 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 10px;
  top: 100%; /* place directly under the dropdown trigger */
  left: 0;
  width: 100%;
  height: 100px; /* adjust this to match your gap size (e.g., 15–25px) */
  background: transparent;
}
/* Ensure the dropdown box appears above the hover bridge */
.dropdown:hover::before {
  z-index: 99;
}
#profilePic {
  width: 75px; /* fixed width */
  height: 75px; /* fixed height */
  object-fit: cover; /* crop instead of stretching */
  border-radius: 50%; /* makes it a circle */
  border: 2px solid #ddd; /* optional: add border */
}
/* dropdown wrapper */
.mobile-dashboard-notification {
  position: absolute;
  top: 50px; /* adjust depending on your bell size */
  right: 0;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 10px;
  z-index: 1000;
  width: 60px; /* fixed width */
  height: 60px; /* fixed height */
  object-fit: cover; /* crop instead of stretching */
  border-radius: 50%; /* makes it a circle */
  border: none; /* optional: add border */
}
/* hide by default */
.hidden {
  display: none;
}
/* each notification */
.notification-default {
  display: flex;
  align-items: flex-start;
  padding: 8px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}
.notification-default:hover {
  background: #f9f9f9;
}
/* last dropdown*/
/*Show dropdown on hover */
.dropdown-2:hover .dropdown-content-1 {
  display: block;
}
/* Hover bridge trick — invisible area keeps dropdown open */
.dropdown-2::after {
  content: "";
  position: absolute;
  top: 100%; /* directly below the dropdown button */
  left: 0;
  width: 100%;
  height: 100px; /* height of the invisible hover area */
  background: transparent;
}
/* Ensure hovering over the bridge area also keeps menu open */
.dropdown-2:hover::after {
  pointer-events: auto;
}
/* MAIN SECTION */
section {
  margin: 1rem 20px 3rem 3rem;
}
section h2 {
  margin-bottom: 2rem;
  text-align: center;
  padding: 10px;
  font-size: 35px;
}
section .stat {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}
section .stat .card {
  border: 2px solid rgb(243, 238, 238);
  display: flex;
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 2px 2px 2px #ebe4e4;
}
section #seven-hundred {
  display: none;
}
section #seven-hundred .numberi {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  text-align: center;
  color: #000;
  padding: 25px;
  margin-left: 10px;
  border-top: 10px solid #f44336;
  border-right: 10px solid #00ff37;
  border-bottom: 10px solid #f44336;
  border-left: 10px solid #f44336;
}
section .card .number {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  text-align: center;
  padding: 25px;
  margin-left: 10px;
  color: #00ff37;
  border-top: 10px solid #f44336;
  border-right: 10px solid #00ff37;
  border-bottom: 10px solid #f44336;
  border-left: 10px solid #f44336;
}
section .cardi {
  margin-left: 10px;
  width: 100%;
}
section .cardi .veri-rep {
  display: flex;
  gap: 5px;
  margin-block: 10px;
  font-size: 12px;
  text-transform: capitalize;
}
section .veri-rep .green {
  color: transparent;
  background-color: rgb(0, 255, 38);
  width: 20px;
  height: 20px;
}
section .veri-rep .red {
  color: transparent;
  background-color: red;
  width: 20px;
  height: 20px;
}
section .statii {
  display: flex;
  gap: 2rem;
}
section .statii table {
  flex: 4;
  border-collapse: collapse;
}
thead {
  white-space: nowrap;
}
section .statii th {
  background-color: #e0e0e0;
  padding: 20px 5px;
}
section .name {
  width: 350px;
  text-align: start;
}
section .date {
  text-align: end;
}
section .status {
  text-align: start;
}
section .cat {
  text-align: start;
}
section .at {
  text-align: start;
}
section .status span {
  padding: 9px;
  border-radius: 7px;
}
section .cat span {
  margin-left: 12px;
}
section td .count {
  background-color: #ffeacc;
}
section .authen {
  background-color: #007900;
  color: #fff;
}
section .confirm {
  background-color: #00ab00;
  color: #fff;
}
section .fa-ke {
  background-color: #fcc7c3;
}
section .flag {
  background-color: #da2a1d;
  color: #fff;
}
section .unauthor {
  background-color: #fcc7c3;
}
section .trust {
  background-color: #eeeeee;
}
section .safe {
  background-color: #e5feeb;
}
section .verif {
  background-color: #e5feeb;
}
section .not {
  background-color: #e6e6e6;
}
section .scan {
  background-color: #fef2d5;
}
section .verified-items {
  background-color: #00c503;
  color: #fff;
}
section .statii td {
  padding-block: 15px;
  border-bottom: 2px solid rgb(77, 73, 73);
}
section .statii .card-two {
  flex: 1;
  border: 2px solid rgb(243, 238, 238);
  border-radius: 20px;
  box-shadow: 2px 2px 2px #ebe4e4;
}
section .card-two .number {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  text-align: center;
  padding: 25px;
  margin-left: 5rem;
  border-top: 10px solid #f44336;
  border-right: 10px solid #00ff37;
  border-bottom: 10px solid #f44336;
  border-left: 10px solid #f44336;
}
section .card-two .cardi {
  padding-left: 5rem;
}
.footer {
  max-width: 100%;
  background: var(--main-color);
  height: 100%;
}
.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  width: 119px;
  padding-block: 2rem;
  margin-inline: 10px;
}
.footer-logo a {
  text-decoration: none;
  color: var(--white-color);
  font-size: 1.5rem;
  font-weight: 700;
}
.chevron-right {
  background: #99fcaf;
}
.divider {
  width: 90%;
  background-color: #fff;
  height: 1px;
  opacity: 0.1;
  mix-blend-mode: normal;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  padding-block: 3rem;
}
.newsletter {
  flex-grow: 0.5;
  flex-shrink: 1;
  margin: 1rem;
}
.newsletter p {
  font-size: 20px;
  color: var(--white-color);
}
.input-container {
  background: var(--main-color);
  width: 320px;
  max-width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #4caf50;
  margin-top: 3.4rem;
}
.input-container input {
  width: 100%;
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  color: black;
  font-size: 16px;
}
input::placeholder {
  color: white;
  opacity: 0.9;
}
.btn {
  background: #90ee90;
  border: none;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background 0.3s;
}
.btn:hover {
  background: #76d976;
}
.btn svg {
  width: 16px;
  height: 16px;
  stroke: #025902;
  stroke-width: 2;
  fill: none;
}
.links h4 {
  color: #99fcaf;
  font-size: 18px;
}
.links ul li {
  list-style-type: none;
  margin-top: 1.5rem;
  width: 100%;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 24px;
  color: #fff;
  text-align: left;
  display: inline-block;
  cursor: pointer;
}
.links li a {
  text-decoration: none;
  color: var(--white-color) !important;
  font-size: 16px;
  white-space: nowrap;
  margin-inline-end: 10px;
}
.footer-more {
  order: 1;
}
.footer-more {
  order: 2;
}
.footer-services {
  order: 3;
}
.newsletter {
  order: 4;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 5rem;
}
.footer-bottom a {
  color: var(--white-color);
  text-decoration: none;
}
.legal a {
  margin: 20px;
}
.socials a {
  margin: 10px;
}
.copyright {
  text-align: center;
  color: var(--white-color);
  font-size: 20px;
}
/* MEDIA QUERY */
@media (max-width: 1265px) {
  .stat {
    overflow-x: scroll;
  }
  .stat::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 800px) {
  .testimonial-container {
    height: 100%;
  }
  .nav-btn {
    display: none;
  }
  .group-item,
  .dropdown-2 {
    display: none;
  }
  .hamburger {
    display: block;
  }
}
@media (max-width: 768px) {
  .header {
    width: 95%;
    justify-content: space-between;
  }
  .testimonial-container {
    height: 100%;
  }
  footer {
    padding: 2rem;
  }
  .logo {
    padding: 0rem;
  }
  .divider {
    display: none;
  }
  .footer-links {
    display: block;
  }
  .links ul li {
    list-style-type: none;
    margin-top: 0.5rem;
  }
  .newsletter {
    margin: 0rem;
    padding-block: 2rem;
  }
  .newsletter p {
    width: 139.6px;
    line-height: 28px;
  }
  .input-container {
    margin-top: 2rem;
  }
  .links h4 {
    padding-top: 1rem;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: normal;
    padding-block: 1rem;
  }
  .socials {
    display: block;
  }
  .legal {
    display: flex;
    white-space: nowrap;
    gap: 3rem;
  }
}
@media (max-width: 620px) {
  .divider {
    display: none;
  }
  .links ul li {
    margin-top: 0.5rem;
  }
  section {
    margin-left: 2rem;
  }
  section h2 {
    display: none;
  }
  section .stat {
    flex-wrap: nowrap;
    overflow-x: scroll;
    margin-top: 3rem;
  }
  section .stat .card {
    width: 100%;
  }
  section #seven-hundred {
    display: block;
    display: flex;
    flex: 1;
  }
  .card-two {
    display: none;
  }
  .statii {
    overflow-x: scroll;
    gap: 2rem;
  }
  .statii::-webkit-scrollbar {
    display: none;
  }
  thead {
    width: 100%;
    white-space: nowrap;
    gap: 10px;
  }
  section .card-two {
    visibility: hidden;
  }
}
@media (max-width: 480px) {
  a.medcheck {
    font-size: 20px !important;
  }
  .footer-bottom {
    flex-direction: column-reverse;
  }
  .logo a {
    padding: 0px;
  }
  .socials {
    margin: 0px;
  }
  .legal a {
    margin: 0px;
  }
}
@media (max-width: 360px) {
  nav {
    gap: 2rem;
  }
  .legal {
    gap: 2rem;
  }
}
