/*
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
*/
.logoIcon{
  width: 42px;
  height: 42px;
  display: inline-block;
  object-fit: contain;
  aspect-ratio: 1/1;
  margin: 0 10px 0 0;
  padding: 0;
  border: none;
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logoIcon:hover{
  transform: scale(1.05) rotate(5deg);
  filter: brightness(1.1);
}
.menu-top-bar {
  height: 10px;
  width: 100%;
  background: linear-gradient(90deg, #1d72c2 0%, #5791d0 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-bottom-bar {
  height: 10px;
  width: 100%;
  background: linear-gradient(90deg, #1d72c2 0%, #5791d0 100%);
  flex-shrink: 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.menu-bar-wrapper {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.menu-bar a.logo {
  color: #1d72c2;
  font-weight: bold;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-bar a.logo:hover {
  color: #5791d0;
}

.menu-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu-bar ul > li {
  position: relative;
  margin-left: 10px;
  transition: background 0.3s ease;
  border: 0.5px solid #daf0ff;
  border-radius: 9px;
}

.menu-bar ul > li > a {
  color: #333;
  text-decoration: none;
  padding: 2px 5px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 500;
}

.menu-bar ul > li > a:hover {
  background: linear-gradient(135deg, #1d72c2 0%, #5791d0 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(29, 114, 194, 0.3);
  transform: translateY(-1px);
}

/* Submenu defaults (open right) */
.menu-bar ul li ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  border: 2px solid #63b8ff;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: calc(100vw - 60px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-bar ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-bar ul li ul li {
  margin: 0;
  border-top: 1px solid #e8e8e8;
}

.menu-bar ul li ul li:first-child {
  border-top: none;
}

.menu-bar ul li ul li a {
  padding: 12px 15px;
  color: #1d72c2;
  white-space: nowrap;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu-bar ul li ul li a:hover {
  background: linear-gradient(90deg, #1d72c2 0%, #5791d0 100%);
  color: #ffffff !important;
  padding-left: 20px;
}

/* 🔁 Flip submenu left if needed */
.menu-bar ul li.flip-left > ul {
  left: auto;
  right: 30px; /* push it 30px away from right edge */
}

/* Active/Current Page Indicator */
.menu-bar ul > li > a.active {
  background: linear-gradient(135deg, #1d72c2 0%, #5791d0 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(29, 114, 194, 0.3);
}

/* Responsive menu enhancements */
@media (max-width: 768px) {
  .menu-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-bar ul {
    flex-direction: column;
    width: 100%;
  }

  .menu-bar ul > li {
    margin-left: 0;
    width: 100%;
  }

  .menu-bar ul > li > a {
    width: 100%;
    border-radius: 0;
  }
}

/*
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
*/
/*
.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

footer {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  flex-shrink: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}
*/