:root {
  --bs-primary: #ee784a;
  --bs-secondary: #08283d;
  --bs-light-bg: #5b9b55;
  --bs-light-grey: #f7f7f7;

  --bs-body-font-family: "Poppins", sans-serif;
  --bs-heading-family: "Poppins", sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 300;
  --bs-body-line-height: 1.5;
  --bs-body-color: #fff;
  --bs-body-bg: #fff;
}

body,
html {
  height: 100%;
}

body {
  font-size: var(--bs-body-font-size);
  font-family: var(--bs-body-font-family);
  font-weight: 300;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: #0f172a;
}
.seperator {
  border-bottom: 1px dashed #ffffff;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.85);
  transform: scale(1.05); /* blur edges hide */
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* keeps gradient over the blurred image */
  pointer-events: none;
}

/* All Page Background CSS */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(
      at 0% 0%,
      hsla(253, 16%, 7%, 1) 0,
      transparent 50%
    ),
    radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
  background-size: 200% 200%;
  animation: gradient-animation 15s ease infinite;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}
.orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: #f97316;
  animation-delay: 0s;
}
.orb-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: #3b82f6;
  animation-delay: -5s;
}
/* Common CSS Start */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bs-heading-family);
  margin: 0px;
  font-weight: 500;
  color: var(--bs-body-color);
  line-height: 1.2;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
label {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--bs-heading-family);
  opacity: 0.9;
}
p,
li {
  font-size: 16px;
  opacity: 0.7;
}
small {
  opacity: 0.8;
}
.btn,
.btn:hover,
.btn:focus {
  border-radius: 5px;
  padding: 8px 30px;
  font-family: var(--bs-heading-family);
  font-weight: 300;
  font-size: 16px;
  border: none;
  backdrop-filter: blur(10px); /* blur effect */
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1); /* semi-transparent */
  color: #fff;
  transition: all 0.3s ease;
}

.btn:hover,
.btn:focus {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bs-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-secondary {
  background: none;
  color: var(--bs-secondary);
  border-color: var(--bs-secondary);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--bs-secondary);
  color: var(--bs-white);
  border-color: var(--bs-secondary);
}
input.form-control,
input.form-control:hover,
input.form-control:focus {
  min-height: 45px;
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--bs-heading-family);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  color: var(--bs-white);
}
select.form-select,
select.form-select:hover,
select.form-select:focus {
  min-height: 45px;
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--bs-heading-family);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' stroke='rgb(48, 55, 120)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-color: rgba(255, 255, 255, 0.02);
}
select.form-select:focus {
  border-color: #e3e3e3 !important;
}
textarea.form-control,
textarea.form-control:hover,
textarea.form-control:focus {
  min-height: 45px;
  border-radius: 8px;
  box-shadow: none;
  font-family: var(--bs-heading-family);
  resize: none;
  background: rgba(255, 255, 255, 0.02);
}
.mb-6 {
  margin-bottom: 100px;
}
.gx-6 {
  --bs-gutter-x: 5rem;
}
a,
a:hover,
a:focus {
  text-decoration: none;
  transition: all 0.35s ease-in-out;
  color: var(--bs-primary);
  font-family: var(--bs-heading-family);
}
.card {
  background: rgba(255, 255, 255, 0.02); /* ultra-light */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
hr {
  color: var(--bs-white);
}
.section-ttl p {
  opacity: 0.8;
}

.heading-ttl {
  border-bottom: 1px solid #4d6066;
  padding-bottom: 10px;
}
.heading-ttl span {
  color: var(--bs-light-bg);
}

.g-4,
.gx-4 {
  --bs-gutter-x: 40px;
}

/* Header Section CSS Start */
.navbar {
  padding: 0px;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px,
    rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px,
    rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px,
    rgba(42, 51, 70, 0.04) 0px 6px 6px -3px,
    rgba(14, 63, 126, 0.04) 0px 12px 12px -6px,
    rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}
.navbar .navbar-nav .nav-link {
  color: var(--bs-body-color);
  font-size: 14px;
  padding: 0px 18px;
  height: 60px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}
.navbar .navbar-nav .nav-item:last-child .nav-link {
  border-right: none;
}
.dropdown a.dropdown-toggle img.profile-img {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bs-light-bg);
}

.dropdown-toggle::after {
  content: inherit;
}

/* Breadcrumb Section CSS Start */
.breadcrumb-sec {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.breadcrumb li.active {
  color: var(--bs-white);
}
.breadcrumb li a {
  color: var(--bs-white);
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--bs-white);
}
/* Login Page CSS Start */
.login-sec {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-box .admin-logo {
  text-align: center;
  margin-bottom: 20px;
}
.admin-logo span {
  opacity: 0.8;
}
.login-box img {
  width: 90px;
  margin: 0 auto;
}
.login-ttl span {
  opacity: 0.8;
}
.login-form span {
  opacity: 0.8;
  font-size: 14px;
}
.otp {
  display: none;
}
.otp a {
  color: var(--bs-secondary);
  color: var(--bs-white);
  /* font-size: 14px; */
}

/* Dashboard Page CSS Start */
.dashboard-sec {
  position: relative;
  z-index: -1;
}
.left-map {
  position: sticky;
  top: 50px;
  height: fit-content;
}
.progress-bar {
  background: var(--bs-light-bg);
}

/* Assembly Summary Page CSS Start */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.nav-tabs .nav-link {
  backdrop-filter: blur(10px); /* blur effect */
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--bs-white);
  padding: 16px 30px;
  border-radius: 5px;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  background: var(--bs-light-bg);
  color: var(--bs-white);
}
.total-voters-card .left-sec .rounded-circle h2 {
  width: 120px;
  height: 120px;
  border: 1px dashed var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto 15px auto;
  border-radius: 100%;
  box-shadow: var(--bs-primary, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}

/* Economy & Education TAB CSS Satrt */
.economy .right ul.list-inline > li:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

/* Election History TAB CSS Start */
.election-box svg {
  opacity: 0.1;
}
.election-box .d-flex {
  border-bottom: 1px solid #1f2937;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.election-box small {
  color: var(--bs-primary);
  font-size: 14px;
}
/* Racial TAB CSS Satrt */
.table-striped > tbody > tr:nth-of-type(odd) > * {
  color: var(--bs-white);
}
.table {
  color: var(--bs-white);
}
.table thead {
  background-color: rgb(0 0 0 / 0.2);
}
.table > :not(caption) > * > * {
  padding: 1rem 1.5rem;
  border-color: #1f2937;
}
/* Election History TAB CSS End */
.timeline li {
  opacity: 1;
}
.timeline p {
  font-size: 14px;
}

/* Dashboard - SEO Section CSS Start */
.small-pie {
  width: 200px !important;
  height: 200px !important;
  margin: 0 auto;
}

/* SEO Report Detail Page CSS Start */
.common-box svg {
  opacity: 0.1;
}
.common-box .icon {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background: #08283d26;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SEO Report View Details CSS Start */
.seo-story-box figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Footer Section CSS Satrt */
footer {
  background: var(--bs-secondary);
}
footer p {
  color: var(--bs-white);
}
