/* Professional Desktop Navbar Styles */
.desktop-nav {
    background: linear-gradient(to bottom, #4a4a4a, #3a3a3a);
    border-bottom: 1px solid #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.menu-bar {
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 8px;
    background: linear-gradient(to bottom, #4a4a4a, #3a3a3a);
}

.menu-item {
    position: relative;
    display: inline-block;
}

.menu-button {
    background: none;
    border: none;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.15s ease;
    white-space: nowrap;
    user-select: none;
    font-family: inherit;
}

.menu-button:hover {
    background: linear-gradient(to bottom, #5a5a5a, #4a4a4a);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.menu-button:active,
.menu-button.active {
    background: linear-gradient(to bottom, #2a2a2a, #3a3a3a);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #3a3a3a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.menu-item:hover .dropdown,
.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-family: inherit;
}

.dropdown-item:hover {
    background: #4a4a4a;
}

.dropdown-item.disabled {
    color: #888888;
    cursor: not-allowed;
}

.dropdown-item.disabled:hover {
    background: none;
}

.body {
/*background-color: theme.palette.background.default;*/
margin: 0px;}

.subbody {
/*background-color: theme.palette.background.default;*/
margin-top: 35px; /* Reduced from 50px to account for new navbar height */
padding: 0 20px;
max-width: 1800px; /* Prevents overly wide layouts */
margin-right: auto;
/*overflow: auto;*/
}

.element {
/* Default to white background for light theme */
/*background-color: #ffffff;
color: theme.palette.text.primary;*/
animation: fadeIn 0.25s ease-in;
border-radius: 15px;
padding: 20px 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
}

/* Dark theme support - MUI adds this class to body in dark mode */
[data-mui-color-scheme="dark"] .element,
.css-dark .element {
background-color: #1e1e1e;
}

.element:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Subtle lift on hover */
}

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

.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-left {
  width: 80%;
  height: 100vh;

}

.flex-right {
  width: 20%;
  height: 100vh;
  border-left: 1px solid #e0e0e0;
  position: fixed;
  background: #f5f5f5;
  right: 0;
  top: 0;
  overflow-y: auto;
}



.aanavbar {
  position: fixed;
  width: 80%;
  top: 0;
  height: 35px;
  background-color: #333;
  color: white;
  font-family:    Segoe UI, Roboto, sans-serif;
      font-size:      14px;
      font-weight:    400;
      color:          rgba(68, 68, 68, 1.0);
      letter-spacing: 0.002em;
      margin:         0px;
      padding:        0px;
  z-index: 100;
  border: 0;
}

.aanavbar a {
  float: left;
  color: white;
  text-align: center;
  padding: 8px 16px;
  text-decoration: none;

}

.aanavbar a:hover {
  color: white;
  background-color: #111;
  text-decoration: none;
}

.aanavbar a.active {
  color: white;
  background-color: #6495ED;
  text-decoration: none;

}
/*
  outline: 3px;
    border: 1px solid red;

*/

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  color: white;
  padding: 8px 16px;
  background-color: inherit;
  font-weight: inherit;
  font-family: inherit;
  margin: 0;
}

.aanavbar a:hover:not(.active) > .dropdown-content, .dropdown:hover {
  background-color: #111;
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}




.dropdown-right {
  float: right;
  overflow: hidden;
}

.dropdown-right .dropbtn-right {
  font-size: inherit;
  border: none;
  outline: none;
  color: white;
  padding: 8px 16px;
  background-color: #6495ED;
  font-weight: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-left {
  float: left;
  overflow: hidden;
}

.dropdown-left .dropbtn-left {
  font-size: inherit;
  border: none;
  outline: none;
  color: white;
  padding: 8px 16px;
  background-color: inherit;
  font-weight: inherit;
  font-family: inherit;
  margin: 0;
}

/*
.dropdown-left.active {
                        background-color: #6495ED;
                      }
*/


.dropbtn-left.active {
  background-color: #6495ED;
}

.aanavbar a:hover:not(.active) > .dropdown-content-right, .dropdown-right:hover {
  background-color: #111;
}

.aanavbar a:hover:not(.active) > .dropdown-content-left, .dropdown-left:hover {
  background-color: #111;
}

.dropdown-content-right {
  display: none;
  position: absolute;
  background-color: #6495ED;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content-right a {
  float: none;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  background-color:#f9f9f9;
}

.dropdown-content-right a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown-right:hover .dropdown-content-right {
  display: block;
}

.dropdown-content-left {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content-left a {
  float: none;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content-left a:hover {
  background-color: #ddd;
    color: black;
    text-decoration: none;

}

.dropdown-left:hover .dropdown-content-left {
  display: block;
}


