body, html {
  height: 100%;
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

/* Style the bottom action bar */
.bottom-action-bar {
  background-color: #3e3e3e;
  color: white;
  padding: 10px 15px;
  margin: 0 10px 0 10px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.8);
  z-index: 1050;
  /* rounded corners */
  border-radius: 10px 10px 0 0;
}

/* Make the input full-width on mobile */
/* .bottom-action-bar .form-control {
  flex-grow: 1;
} */

.selecta {
  padding: none;
}

.form-floating{
  /* padding: none; */
  position: relative;
}

.form-floating label {
  color: #007bff;
}

.bottom-action-bar .back-button {
  color: #ffffff; /* White text */
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

/* Optional: Hover effect */
.bottom-action-bar .back-button:hover {
  color: #cccccc;
}

/* Ensure there's no overflow on mobile */
.bottom-action-bar .form-group {
  width: 100%;
}


.button-container {
  position: absolute; /* Position relative to the map */
  top: 10px; /* Distance from the top */
  right: 10px; /* Distance from the right */
  display: flex; /* Align buttons in a row */
  gap: 10px; /* Space between buttons */
  z-index: 1000; /* Ensure the buttons appear above the map */
}

.button-container .btn {
  /* Customize button styles if needed */
  background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background */
  color: white; /* Button text color */
}

.center-button{
  display: flex;
  justify-content:center;
}

.checkbox-item {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 0;
}

.checkbox-item input {
  margin-left: 10px; 
  accent-color: #fff; 
}

.close-btn {
  font-size: 30px;
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.content {
  padding: 20px;
  background-color: #1a1a1a;
}

.content-help {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto; 
}

.content-wrapper {
  flex: 1;
}

.contracts-table {
  width: 100%;
  table-layout: fixed;
}

.contracts-table .account-column {
  width: 150px; /* Adjust to preferred width */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard h2 {
  margin-bottom: 20px;
}

.dashboard {
  background-color: #1a1a1a;
  border-radius: 5px;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.footer {
  background-color: #000000;
  color: #fff;
  padding: 10px;
  text-align: center;
  flex-shrink: 0;
  width: 100%;
}

/* .form-group {
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 8px;
  text-align: left;
  margin: 0 auto;
} */

/* .form-group label {
  margin-bottom: 8px;
  color: #fff;
  font-weight: bold;
} */

/* .form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  color: #000;
} */

/* .form-group textarea {
  height: 150px;
  resize: none;
} */

.h-100 {
  height: 100%;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

/* General Header Styling */
.header {
  background-color: #000;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #fff;
  width: 100%;
}

/* Center Section */
.header #title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header #title-text:hover {
  color: #007bff !important; 
}

/* Dropdown Toggle Styling */
.header .dropdown-toggle {
  font-weight: bold !important;
  color: #fff !important;
  cursor: pointer !important;
  line-height: 1.5; /* Adjusts spacing of text inside toggle */
}

/* Hide Default Dropdown Icon */
.header .dropdown .dropdown-text::after {
  display: none;
}

/* Center the Dropdown Menu */
.header .dropdown-menu {
  position: fixed !important;
  top: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: center;
  padding: 20px 80px 40px 80px !important;
  background-color: #1a1a1a !important; /* Dark background for professionalism */
  border-radius: 12px; /* Rounded corners for a soft look */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
  min-width: 200px; /* Ensures minimum width for a consistent look */
}

.header .dropdown-menu li {
  margin: 10px 0 0 0;
  padding: 5px 50px 5px 60px;
  border-radius: 8px;
  background-color: #333; /* Dark gray background */
  transition: background-color 0.3s ease; /* Smooth transition */
}

.header .dropdown-menu li a {
  background-color: transparent;
  color: #ddd !important; /* Light text for contrast */
  text-decoration: none; /* Remove underline */
  font-weight: 500; /* Medium weight for readability */
  transition: color 0.3s ease;
}

.header .dropdown-menu li:hover {
  background-color: #555 !important; /* Slightly lighter on hover */
}

.header .dropdown-menu li a:hover {
  background-color: transparent;
  color: #fff !important; /* Bright white on hover */
}

/* Dropdown Wrapper for Full Width */
.header .dropdown-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header .dropdown-gap {
  border: none;
  height: 1px;
  padding: 0px !important;
  background-color: #1a1a1a !important;
  margin: 10px 0px 10px 0px; /* Spacing around the divider */
}

.dropdown-gap:hover {
  background-color: #1a1a1a !important;
}


.hamburger:hover {
  color:#007bff; 
}

.hidden{
  display: none;
}

[class^="icon"] {
  color: #ffffff; 
  font-size: 1.2rem;
  margin-right: 15px;
  text-decoration: none;
  transition: all 0.3s ease; 
}

[class^="icon"]:hover {
  color:#007bff; 
  transform: scale(1.1);
}

/* .icon-help, .icon-phonebook {
  color: #ffffff; 
  font-size: 1.2rem;
  margin-right: 15px;
  text-decoration: none;
} */



.item-dropdown {
    margin-left: auto;
    width: 80px;
    background-color: #333; 
    color: #fff; 
    border: 1px solid #fff; 
    border-radius: 4px; 
}
  
.items-group {
    margin-bottom: 30px;
  }

.item-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: #1a1a1a;
  }

.item-row:hover {
    background-color: #2a2a2a; 
}

.item-row input[type="checkbox"] {
    margin-right: 10px; 
}

.item-row label {
    margin: 0;
    flex-grow: 1; 
    color: #fff;
}

.large-text {
  font-size: 1.5rem; 
}

.links {
  text-align: center;
  margin-top: 15px;
  color: #fff;
}

.links a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
  display: block;
  transition: background-color 0.3s ease;
}

.links a:hover {
  color: #ccc;
  background-color: #1a1a1a;
}

#loader {
  display: none; /* Hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Higher than other elements */
}

.logo {
  width: 40px;
  height: 40px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto; /* Allow scrolling if content is too large */
  padding: 20px;
}

#map {
  height: 100%;
  width: 100%;
  overflow: hidden;
  transition: opacity 0.5s ease-in-out/*height 0.5s ease;*/
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  background-color: #000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.menu.active {
  transform: translateX(0);
}

.menu li {
  padding: 15px 20px;
  color: #fff;
  text-decoration: none; 
  cursor: pointer; 
}

.menu li:hover {
  background-color: #1a1a1a;
}

.menu li:last-child {
  border-bottom: none;
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-top: 80px;
}

.message-debug {
  background-color: #cce5ff !important;
  color: #004085 !important;
  border: 1px solid #b8daff !important;
}

.message-error {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 1px solid #f5c6cb !important;
}

.message-info {
  background-color: #e2e3e5 !important;
  color: #383d41 !important;
  border: 1px solid #d6d8db !important;
}

.message-warning {
  background-color: #fff3cd !important;
  color: #856404 !important;
  border: 1px solid #ffeeba !important;
}


.modal-content {
  background-color: #1a1a1a;
  color: #fff;
  display: flex;
}

.modal-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  /*background-color: #000;*/
  
  width: 100%;
  list-style-type: none;
  cursor: pointer;
  
}

.modal-links li {
  margin-top: 30px;
  padding: 10px;
}

.modal-links li:hover {
  /* color:rgb(0, 123, 255); */
  color: #ccc;
  background-color: #302f2f;
}

.msg-banner {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3em;
  padding: 0.5em;
  background-color: #fff;
  color: #000;
  z-index: 9999;
  white-space: nowrap;
  border-radius: 5px;

  /* Mimic an inset border using box-shadow */
  box-shadow: inset 0 0 0 1px #fff;
  
  /* Optional: Outer padding to create spacing outside the shadow */
  padding: 0.5em 1em;
  
  /* Flexbox for vertical centering */
  display: flex;
  align-items: center;
  
  /* Uppercase text */
  text-transform: uppercase;
}

.nav-links{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  /*background-color: #000;*/
  margin-bottom: 20px;
  width: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(128, 128, 128, 0.7); /* Gray overlay */
    display: none; /* Hidden by default */
    z-index: 500; /* Behind the menu but above the content */
}

.overlay.active {
    display: block; /* Show overlay when active */
}

#page {
  opacity: 0;
  transition: opacity 1.2s ease-in;
}

.page-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  /*background-color: #000;*/
  margin-bottom: 20px;
  width: 100%;
}

#page {
  opacity: 1;
  transition: opacity 1.2s ease-in;
  max-height: 100%; /* Ensure the page div does not exceed the viewport height */
  overflow-y: auto; /* Allow scrolling within the page if content exceeds the height */
  padding: 20px; /* Add some padding around the content */
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
  color: #fff;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.page-title .dropdown {
  display: inline-block;
  margin-left: 10px;
}

.page-title ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 18px;
  color: #fff;
}

.page-title ul li {
  padding: 0 15px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.page-title ul li:hover {
  color: #ccc;
  background-color: #1a1a1a;
}

.page-title ul li.active {
  font-weight: bold;
  color: #20B2AA;
}



.scrollable{
  overflow: auto;
}

.selecta .clear-btn {
  background: transparent;
  border: none;
  color: #6c757d;
  font-size: 1.25rem;
  cursor: pointer;
}

.selecta .suggestions-box {
  z-index: 9999;
}

.service-line {
  flex: 0 0 auto; /* Prevent the row from growing */
  max-height: none; /* Ensure it only takes the minimum space it needs */
  padding: 10px 0 0 0; /* Remove extra padding if any */
  overflow: visible; /* Allow content to display without cutting off */
  height: auto;
}

.service-lines {
  flex: 1; 
  display: flex;
  flex-wrap: wrap;
}

#sidebarMenu {
  background-color: #2c2c2c;
  border-right: 1px solid #444;
  color: #fff;
  padding-top: 20px;
  border-radius: 10px;
  height: 100%;
  overflow-y: auto; /* Enable scrolling if content is too large */
}

#sidebarMenu .title{
  font-weight: bold;
}

#sidebarMenu .nav-item {
  border-bottom: 1px solid #444;
}

#sidebarMenu .nav-item a {
  color: #fff;
  padding: 0;
  display: block;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

#sidebarMenu .nav-item a:hover {
  background-color: #3a3a3a;
  color: #ccc;
}

#sidebarMenu .nav-item a .bi {
  margin-right: 10px;
}

#sidebarMenu .nav-item p {
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  margin-bottom: 0;
}

#sidebarMenu .nav-item {
  padding: 8px 0;
}

.small-text-table {
  font-size: 0.85rem; /* Adjust size as needed */
  width: 100%; /* Ensure the table takes up the full width */
  margin-bottom: 0; /* Minimize vertical space by removing bottom margin */
}

.spinner {
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top: 6px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tabulator-table {
  /* max-height: 80vh; */
  overflow-y: auto;
  background-color: #1a1a1a;
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); */
}

.tabulator-table, .tabulator .tabulator-header, .tabulator .tabulator-cell {
  box-sizing: border-box;
}

.tabulator .tabulator-header .tabulator-col, .tabulator .tabulator-cell {
  padding: 10px;
  margin: 0;
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden; /* Hide overflowed content */
  text-overflow: ellipsis; /* Add ellipsis for overflowed text */
  box-sizing: border-box; /* Maintain padding without affecting cell width */
}

.tabulator .tabulator-header .tabulator-col {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  border: none;
  font-size: 0.9rem;
  padding: 10px; /* Add padding to headers for better alignment */
  text-align: left; /* Align text left for headers */
  box-sizing: border-box; /* Ensure padding does not affect width */
}

.tabulator .tabulator-header .tabulator-col:hover {
  background-color: #444; /* Subtle hover effect for headers */
}

.tabulator .tabulator-headers {
  width: 100%;
}

.tabulator .tabulator-row {
  background-color: #1a1a1a;
  color: #e0e0e0;
  font-size: 14px; /* Consistent font size for readability */
  border-bottom: 1px solid #333;
}

.tabulator .tabulator-row:nth-child(even) {
  background-color: #2a2a2a;
}

.tabulator .tabulator-row:hover {
  background-color: #555;
}

.tabulator .tabulator-row.tabulator-selected {
  background-color: #555;
  color: rgb(0, 123, 255);
}

.tabulator .tabulator-cell {
  padding: 10px; /* Consistent padding for cells */
  font-size: 0.875rem;
  border-right: 1px solid #444;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box; /* Ensure padding does not affect cell width */
}

.tabulator .tabulator-cell:last-child {
  border-right: none; /* Remove border from the last column for cleaner look */
}

.text-center a {
  color: #ffffff; /* Makes the links white */
  font-size: 0.875rem; /* Optional: Makes the text smaller (14px approx) */
  text-decoration: none; /* Removes underline */
  margin: 0 5px; /* Adds spacing between the links */
}

.text-center a:hover {
  text-decoration: underline; /* Adds underline on hover */
}

.text-center a + a::before {
  content: "|";
  padding-right: 5px;
  color: #ffffff; 
}

.toggle-container {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.toggle-switch {
  display: none;
}

.toggle-label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 40px;
  background-color: #20B2AA;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.toggle-label:before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch:checked + .toggle-label:before {
  transform: translateX(60px);
}

.toggle-switch:checked + .toggle-label {
  background-color: #FFD700; 
  ;
}

.toggle-text {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.v-center { 
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.w-100{
  width: 100vw;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-title ul li:not(.active) {
    display: none;
  }
  
  .toggle-label {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 40px;
    background-color: #20B2AA;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .toggle-label:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .toggle-switch:checked + .toggle-label:before {
    transform: translateX(60px);
  }
  
  .toggle-switch:checked + .toggle-label {
    background-color: #FFD700; 
    ;
  }
  
  .toggle-text {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .v-center { 
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vh-100{
    height: 100vh;
  }

  .vw-100{
    width: 100vw;
  }

  .w-100{
    width: 100%;
  }
}
  
@media (max-width: 991.98px) {
  .page-title ul li:not(.active) {
    display: none; /* Hide non-active items on smaller screens */
  }

  /* 
  #sidebarMenu {
    width: 100%;
  }   
  */
}  


/* 
@media (max-width: 767.98px) {
  .main-container {
    padding: 0 2em 0 2em;
  }  

  .visible {
    opacity: 1; 
    pointer-events: auto; 
  }

} 
*/
