/* root styles */

:root {
  --primary-light: #57b9fb;
  --secondary-light: #eeeeee;
}

/* global styles */

* {
  box-sizing: border-box;
}


.document-card {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      transparent,
      var(--document-border),
      transparent
    )
    1;
}

.document-content {
  line-height: 1.6;
  font-size: 1.05rem;
}

/* For dark theme support */
.dark .document-card {
  --document-bg: #2a2a2a;
  --document-border: #444;
}

.light .document-card {
  --document-bg: #ffffff;
  --document-border: #eaeaea;
}

a {
  text-decoration: none;
  color: inherit;
}
/* filepath: /home/vickram/deveint/ndc-frontend/src/styles/style.css */
@media (max-width: 768px) {
  .legend {
    display: none !important;
  }
}

body {
  font-family: Helvetica, Times-New-Roman;
  line-height: 1.5rem;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  color: var(--bs-body-color);
  background-color: var(--bs-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Helvetica, Times-New-Roman;
  font-weight: 700;
  line-height: 1.2rem;
}

p {
  font-size: 1.2rem;
  font-family: Helvetica, Times-New-Roman;
  font-weight: 500;
  line-height: 1.8rem;
  text-align: justify;
}

/* Addtional styles */
.bg-theme-gradient {
  background: url("/assets/bg-overlay-BBnMDyhH.png") no-repeat center/cover;
}

.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
}

/* custom classes */

.smaller {
  font-size: 0.75rem !important;
}

.mini {
  font-size: 0.65rem !important;
}

.micro {
  font-size: 0.5rem !important;
}

.reset-input {
  border: none;
  background: none;
  outline: none;
  padding: 5px;
}

.reset-input:focus {
  outline: none;
}

.reset-input::placeholder {
  color: inherit;
  opacity: 0.5;
}

.bg-white-mask {
  background: linear-gradient(white 50%, rgba(255, 255, 255, 0));
}

/* media classes */

@media (max-width: 1200px) {
  /* large screens */
}

@media (max-width: 992px) {
  /* medium screens */
}

@media (max-width: 768px) {
  /* small screens */
    body {
    font-size: 0.95rem;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 576px) {
  /* extra small screens */
  body {
    font-size: 0.8rem;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.1rem;
    line-height: 1.5rem;
  }

  p {
    font-size: 0.8rem;
    line-height: 1.2rem;
    text-align: justify;
  }

  .table th,
  .table td {
    font-size: 0.85rem;
    padding: 0.3rem;
  }
  .navbar-light .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

/* scrollbar classes */

/* Map container */
#map {
  width: 100%;
  height: 400px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

/* Custom navbar styles */
.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(0, 0, 0, 0.9);
}

/* Card styles */
.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
}

/* Tooltip styles */
.tooltip {
  position: absolute;
  background-color: white;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  pointer-events: none;
  z-index: 1000;
}

/* Table styles */
.table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

/* Button styles */
.btn-primary {
  background-color: #253494;
  border-color: #253494;
}

.btn-primary:hover {
  background-color: #1a2670;
  border-color: #1a2670;
}

.list-filled-circle {
  list-style-type: disc; /* filled circular bullet */
}
html[data-theme="dark"] {
  background: #181824;
  color: #fff;
}
html[data-theme="light"] {
  background: #fff;
  color: #000;
}

#map {
  width: 100%;
  height: 400px;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

main {
    background-color: "#e8f5e9";
    color: "#1b5e20";
}

.tooltip {
  position: absolute;
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  pointer-events: none;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* Ensure the table container spans the full width */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

/* Ensure the table spans the full width */
.table {
  table-layout: auto;
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

th, td {
  white-space: nowrap;
  text-align: left;
}


@media (max-width: 768px) {
  .legend {
    display: none; /* Hide the SVG-based legend on mobile */
  }
}

@media (max-width: 574px) {
  .map-label-hide-mobile {
    display: none !important;
  }
}


/* Tab container styles */
.nav-tabs {
  border-bottom: 2px solid #e0e0e0;
}

.nav-tabs .nav-link {
  border: none !important;
  text-decoration: none !important;
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  background: #f1f8f4;
  color: #2c5f2d;
  transition: all 0.3s ease-in-out;
  font-weight: bold;
}

.nav-tabs .nav-link:hover {
  background: #d4edda;
  color: #1b4332;
  transform: scale(1.05);
}

.nav-tabs .nav-link.active {
  border-bottom: none !important;
  background: #2c5f2d;
  color: #ffffff;
  border: 2px solid #1b4332;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animation for tab content */
.tab-content {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add any additional custom styles here */ 