

/* Modern Navbar Styling */
.navbar {
  background: linear-gradient(135deg, #ffffff 0%, #38b6ff 25%, #004aad 100%) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 24px;
  font-family: Verdana, sans-serif;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-brand:hover {
  color: #f0f4ff !important;
  transform: translateY(-2px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  margin: 0 0.25rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
}

.navbar-nav > li > .dropdown-menu {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  overflow: hidden;
}

.dropdown-item {
  color: #333333;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: linear-gradient(135deg, #38b6ff 0%, #004aad 100%);
  color: #ffffff;
  transform: translateX(5px);
}

/* Navbar Toggler Modern Style */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Button Styling in Navbar */
.navbar .btn-primary {
  background: #ffffff;
  color: #004aad;
  border: 2px solid #ffffff;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .btn-primary:hover,
.navbar .btn-primary:focus {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar .btn-outline-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.navbar .btn-outline-secondary:hover,
.navbar .btn-outline-secondary:focus {
  background: #ffffff;
  color: #004aad;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Language Selector Modern Style */
.navbar .form-select {
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar .form-select:hover,
.navbar .form-select:focus {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.navbar .form-select option {
  background-color: #004aad;
  color: #ffffff;
}

.main-titles {
  font-family: Verdana, sans-serif;
  font-size: 24px;
  color: rgb(37, 37, 143);
}

body {
  position: relative;
  /* This deleted to allow for sortable scroll to work */
  /* overflow-x:hidden; */
  background: #ffffff;
}

.modal-content {
  color: aliceblue;
}

.homepage {
  border: solid 1px #16181d;
}
.attribute {
  color: #16181d;
  font-size: 10px;
}
.dark-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #192953;
}
.carousel-item {
  height: 250px;
  width: 100%;
}
.carousel-text {
  font-size: 16px;
}
.account-stats {
  height: 100%;
  width: 100%;
}
.blockdata {
  width: 100%;
  font-size: 10px;
  height: 30px;
  padding: 3px;
}

.blocktitle {
  width: 100%;
  font-size: 10px;
  text-align: right;
  height: 30px;
  padding: 3px;
}

.innertable_row {
  height: 35px;
  /* width: 35px; */
}

#header {
  background: #031533;
  color: rgb(248, 248, 248);
}
.blog-text {
  color: darkblue;
}
#register {
  background: #16181d;
  color: rgb(248, 248, 248);
}

.register_table {
  font-size: small;
  background-color: #031533 !important;
  border-color: white !important;
   -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

.budget_table {
  font-size: small;
  color: gray !important;
  background-color: #031533 !important;
  border-color: white !important;
}

#main-footer {
  bottom: -5rem;
  width: 100%;
  height: 3rem;
  position: relative;
  color: lightgray;
  font-size: 1.5rem;
}
.wrapper {
  padding-bottom: 5rem;
  margin-top: 5rem;
}

/* Modal Dark Theme */
.dark .modal-content {
  background-color: #1e2229;
  border: 1px solid white;
}

.dark .modal-content .modal-header,
.dark .modal-content .modal-footer {
  border-color: #424242;
}

.dark .form-control {
  background-color: #282d36;
  border-color: #282d36;
}
.dark .modal-header .close {
  color: #fff;
}

.dropdown-toggle {
  color: grey;
  
}

.bs-tooltip-top {
 
  margin-bottom: 75px;
  background: white;
  margin-left: 5px;
}

.tooltip-inner {
  background: black;
  color: white;
}

.tooltip > .arrow {
  background: white;
}

.icon_hover_class a {
  visibility: hidden;
}
.icon_hover_class:hover a {
  visibility: visible;
}

.offcanvas-body {
  background-color: black;
}

.offcanvas-header {
  background-color: black;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.small-print {
  font-size: small;
}
.logout-button {
  border: none; background-color: inherit;
}

.login-form {
 color: black; background-color: aliceblue; border: 3px solid #757575; border-radius: 25px; max-width: 500px
}
.loginPage {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.showcase-div {
  margin-bottom: 20px
}

.index-subtitle {
  color: #192953;
}

.footer-text {
  color: #2b354e;
  font-size: 14px;
}


.color-dark {
  color: #192953;
} 

.language-select {
  border: 1px solid #898989a3;
  border-radius: 5px;
  padding-right: 10px;
  margin-left: 0.75rem; /* Further reduced from 1rem to prevent overflow at intermediate breakpoints */
  transition: all 0.3s ease; /* Smooth transitions for responsive changes */
}

