/* NEW UI */
/* MARKEL DESIGN SYSTEM */


/* ---- Nav ----- */

/* General Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Header Container */
.main-header {
  background-color: #424242;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  height: 64px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Left Section */
.left-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}


.title {
  margin: 0;

}

.header-badge {
  margin-left: 8px;
  font-size: 0.75rem;
  vertical-align: middle;
}

/* Right Section */

.right-section {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
  position: relative;
}




/* Navigation links */
.sidebar-nav {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push nav to the far right */
  margin-right: 5px;
}


.sidebar-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}


.sidebar-item {
  display: flex;
  align-items: center;
}

.sidebar-link {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: #616161;
  color:white;
}

/* Profile Circle */
.profile-circle {
  background-color: #616161;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-left: 10px;
}

.profile-wrapper {
  position: relative;
  cursor: pointer;
}

.profile-menu {
  position: absolute;
  top: 48px;
  right: 0;
  background-color: #616161;
  color: white;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  min-width: 120px;
  z-index: 1000;
}

.profile-menu a {
  color: white;
  text-decoration: none;
  padding: 6px 0;
  font-size: 12px;
}

.profile-menu a:hover {
  text-decoration: underline;
}

.user-name {
  font-weight: bold;
  margin-bottom: 8px;
}


/* responsive nav bar */


/* Burger menu icon */
.burger-menu {
  display: none;
  cursor: pointer;
  color: white;
  margin-left: auto; /* Push it to the right */
  margin-right: 10px;


}


.material-icons {
  font-size: 20px;
  align-items: center;
}


/* Responsive layout */
@media (max-width: 768px) {
  .sidebar-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    background-color: #616161;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    flex-direction: column;
  }

  .sidebar-nav.open {
    display: flex;
  }

  .burger-menu {
    display: block;
  }
  
  .right-section {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .logo {
    display: none;
  }
}



/* Dashboard */

/* .page-header{
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.date-field, .date-search{
    align-items: center;
} */


.container-fluid{
    margin-top: 20px;
}

h4{
    margin-bottom: 0 !important;
}

.page-title{
    display: flex;
    align-items: center;
}


/* Icons */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
}


.headerButton{
  margin-bottom: 20px;
}

.icon-true {
  color: #147F41;
}

.icon-false {
  color: #A23434;
}

.icon-unknown {
  color: grey;
}



.mkl-pagination__left,
.mkl-pagination__status {
  display: inline-flex !important;
  visibility: visible !important;
}