body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
}

header nav a, footer nav a {
    color: #fff;
    text-decoration: none;
}

.layout-container {
    display: flex;
    min-height: 80vh;
}

.sidebar {
    width: 220px;
    background-color: #f4f4f4;
    padding: 20px;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar nav a {
    text-decoration: none;
    color: #333;
    display: block;
    margin: 10px 0;
}

.breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #555;
}

/* Footer link styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: #aaa; /* Lighter gray color */
    text-decoration: underline; /* Ensure it's underlined */
    font-weight: normal; /* Optional: Reset font weight if needed */
}

.footer-link:hover {
    color: #ddd; /* Even lighter color on hover */
}

.sidebar nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar nav > ul > li {
    margin-bottom: 10px;
}

.sidebar nav ul.subnav {
    display: none; /* Hide subnav by default */
    margin-left: 15px;
}

.sidebar nav li:hover > ul.subnav {
    display: block; /* Show subnav on hover */
}

.sidebar nav a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px 10px;
}

.sidebar nav a:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Spacing between grid items */
    margin-top: 20px;
}

/* Full-width containers */
.full-width {
    grid-column: span 2; /* Span across 2 columns */
}

/* Dashboard Items */
.dashboard-item {
    background-color: #f9f9f9; /* Mild color */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    height: 250px; /* Fixed height */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dashboard-item h3 {
    margin: 0 0 10px; /* Title spacing */
    font-size: 1.2em;
    color: #333;
}

.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-x table {
    min-width: 800px;
}

.no-wrap {
    white-space: nowrap;
}

/* Fixed Header and Footer */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/*.content-area {
    flex: 1;
    padding: 20px;

}*/

.content-area {
  flex: 1;
  padding: 70px 20px 70px 20px; /* Header + footer space */
  overflow-x: auto;
  overflow-y: auto;
}

td .lead-status,
td .lead-state {
  min-width: 120px;
}