:root {
    --footer-bg: #f8f9fa;
    --footer-text: #000;
    --footer-border: #dee2e6;
  }

  .dark {
    --footer-bg: #121212;
    --footer-text: #ffffff;
    --footer-border: #444;
  }

input[type=text] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background-color: white;
    background-image: linear-gradient(black, white);
    background-image: url('assets/img/search.svg');
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 4px 20px 4px 10px;
  }
.copy-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #007bff;
}
.copy-icon:hover {
    color: #0056b3;
}
  
.custom-tooltip .tooltip-inner {
    min-width: 400px; 
}
  
  
.custom_border {
    padding: 5px;
    border-radius: 10px;
    border: 3px dotted transparent;
}
  
  .custom_border:hover {
    background-color:rgb(255, 242, 218); /* Light grey background on hover */
    border: 3px dotted #ffd500; /* Dotted border on hover */
    color: #212529;
  }
  
  .custom_border.highlight {
    background-color:rgb(255, 205, 113); /* Light grey background on hover */
    border: 3px  dotted #ffd500; /* Dotted border for highlighted items */
  }


/* For Dark Mode (if you have a dark mode implementation) */
body.dark .form-control::placeholder {
    color: #fff; /* White color */
}


  body.dark {
    background-color:#212529;
    color: white;
  }


  body {
    background-color: white;
    color: black;
    transition: background-color 0.3s, color 0.3s;
  }

  .dark-mode {
    background-color:#242424;
    color: white;
  }


  .header {
      background-color: #f8f9fa;
      border-bottom: 1px solid #ddd;
  }


  body.dark .header {
      background-color: #343a40;
      border-bottom: 1px solid #444;
  }

  body.dark #darkModeToggle {
        background-color: #6c757d;
    }
    body.dark .input-group {
        color: white;
    }


.cont{
    border-top: #747474 solid 1px;
}

  .navmenu ul {
      list-style: none;
      padding: 0;
      display: flex;
      align-items: center;
  }

  .navmenu a {
      text-decoration: none;
      color: #000;
  }

  .navmenu .dropdown ul {
      display: none;
      position: absolute;
      background: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown:hover ul {
      display: block;
  }

  /* body.dark .navmenu {
      background-color: #343a40;
  } */

  body.dark .navmenu a {
      color: white;
  }

  body.dark .navmenu .dropdown ul {
      background: #454d55;
  }


.hero {
    width: 100%;
    position: relative;
    padding: 50px 0 60px 0;
    display: flex;
    align-items: center;
    background: url("../img/mapcurvlight.jpg") center center;
    background-size: cover;
    color: #141618;
}
body.dark .hero {
    background: url("../img/mapdark.png") center center;
    background-size: cover;
}





body.dark .col {
    color: #f8f9fa;
}

body.dark .form-control {
    background-color: #454d55;
    transition: background-color 0.3s, color 0.3s;
    color: #fff;
    border-color: #888888;
}



body.dark h4 {
    color: #fff;
}
body.dark p {
    color: #fff;
}
body.dark span {
    color: #fff;
}
body.dark a {
    color: #fff;
}

body.dark .btn-primary {
    background-color: #6c757d;
    transition: background-color 0.3s, color 0.3s;
    border-color: #6c757d;
}

.col {
    color: #141618;
}


.form-control {
    background-color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
    color: #000;
    border-color: #ced4da;
}


body.dark .detail{
    color: #fff;
    background-color: #141618;
    transition: background-color 0.3s, color 0.3s;
}
body.dark .detail .col .btn{
    color: #fff;
}



/* Light mode styles */
.table {
    color: #dee2e6;
}

.table th, .table td {
    border-color: #dee2e6;
}

/* Dark mode styles */
.dark .table {
    background-color: #343a40;
    transition: background-color 0.3s, color 0.3s;
    color: white;
}

.dark .table th, .dark .table .thead, .dark .table td {
    background-color: #343a40;
    border-color: #454d55;
    color: white;
    transition: background-color 0.5s, color 0.5s;
}

.dark .table a {
    color: #1e90ff;
}

.dark .table .btn-primary {
    background-color: #1e90ff;
    border-color: #1e90ff;
}

.dark .table .btn-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.dark .table .text-muted {
    color: #6c757d !important;
}

.dark .table .alert-warning {
    background-color: #856404;
    border-color: #ffeeba;
    color: #fff3cd;
}



/* footer */


.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    transition: all 0.3s ease-in-out;
  }

  .footer a {
    color: var(--footer-text);
    text-decoration: none;
  }

  .footer-top {
    border-bottom: 1px solid var(--footer-border);
  }

  .copyright {
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
  }
  .footer-about{
    color: var(--footer-text);
    transition: all 0.3s ease-in-out;
  }

  .footer-about button{
    border: solid #6b6b6b 1px;
    color: #424242;
  }
  .footer-about button:hover{
    background-color: #464646;
    color: #e0e0e0;
  }




  /* footer dark */
/* ---------------------------------------- */

   .dark .footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    transition: all 0.3s ease-in-out;
  }

  .dark .footer a {
    color: var(--footer-text);
    text-decoration: none;
  }

  .dark .footer-top {
    border-bottom: 1px solid var(--footer-border);
    background-color: var(--footer-bg);
    color: var(--footer-text);
  }

  .dark .copyright {
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
  }

  .dark .footer-about, .dark .footer-about a, .dark .footer-about .sitename, .dark .footer-links ul, .dark .footer-links li a{
    color: var(--footer-text);
  }

  .dark .footer-links li a, .dark .footer-about p{
    color: #6c757d;
  }
  .dark .footer-about button{
    border: solid #6c757d 1px;
    color: #6c757d;
  }
  .dark .footer-about button:hover{
    background-color: #1e90ff;
    color: #ffffff;
  }


  