/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Apply Poppins to the entire application */
body,
html,
body *:not([class*='fa-']):not([class*='ti-']):not([class*='simple-icon-']):not([class*='icon-']):not([class*='feather']):not(.select2-container *) {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure proper font weights */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600 !important;
}

/* Adjust font sizes for better readability */
body {
    font-size: .8rem !important;
    line-height: 1.2 !important;
}

/* Improve form elements */
input,
select,
textarea,
button,
.btn,
.form-control {
    font-family: 'Poppins', sans-serif !important;
}

/* Adjust sidebar menu items */
.left-sidebar .sidenav-menu-item > a {
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* Improve table readability */
.table th {
    font-weight: 600 !important;
}

/* Adjust buttons */
.btn {
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* Custom sidebar styling */
.left-sidebar {
    background-color: #E8F5E9 !important;  /* Soft mint green */
    border-right: 1px solid #C8E6C9 !important;  /* Slightly darker border */
}

/* Menu items */
.left-sidebar .sidenav-menu-item > a {
    color: #2E7D32 !important;  /* Darker green for text */
    padding: 12px 20px !important;
    margin: 2px 10px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

/* Icons */
.left-sidebar .sidenav-menu-item > a i {
    color: #2E7D32 !important;  /* Match text color */
    margin-right: 10px !important;
    width: 20px !important;
    text-align: center !important;
}

/* Hover and active states */
.left-sidebar .sidenav-menu-item > a:hover,
.left-sidebar .sidenav-menu-item > a:focus,
.left-sidebar .sidenav-menu-item > a.active {
    background-color: #C8E6C9 !important;  /* Light green on hover */
    color: #1B5E20 !important;  /* Darker green for text on hover */
}

/* Active state */
.left-sidebar .sidenav-menu-item > a.active {
    font-weight: 600 !important;
    border-left: 3px solid #2E7D32 !important;
    padding-left: 17px !important;
}

/* Submenu styling */
.left-sidebar .sidenav-menu-item ul {
    background-color: #E8F5E9 !important;
    border-left: 2px solid #C8E6C9 !important;
    margin: 5px 0 5px 20px !important;
    border-radius: 0 4px 4px 0 !important;
}

/* Submenu items */
.left-sidebar .sidenav-menu-item ul li a {
    color: #2E7D32 !important;
    padding: 8px 15px !important;
    font-size: 11px !important;
}

/* Submenu hover/active */
.left-sidebar .sidenav-menu-item ul li a:hover,
.left-sidebar .sidenav-menu-item ul li a.active {
    background-color: #C8E6C9 !important;
    color: #1B5E20 !important;
}

/* Logo area */
.left-sidebar .logo a {
    border-bottom: 1px solid #C8E6C9 !important;
    padding: 20px 0 !important;
    margin-bottom: 10px !important;
}

/* Sidebar header */
.sidebar-nav > .sidebar-header {
    padding: 15px 20px 5px !important;
    color: #2E7D32 !important;  /* Darker green for headers */
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
}

/* Hide specific menu items */
/* Hide Subscriptions */
li[title*="Subscriptions"],
li[title*="subscriptions"] {
    display: none !important;
}

/* Hide Support */
li[title*="Support"],
li[title*="support"] {
    display: none !important;
}

/* Hide Knowledgebase */
li[title*="Knowledgebase"],
li[title*="knowledgebase"] {
    display: none !important;
}

/* Adjust spacing for remaining menu items */
.sidebar-nav > ul > li:not([style*="display: none"]) {
    display: block !important;
}

/* Ensure proper spacing between remaining menu items */
.sidenav-menu-item {
    margin-bottom: 5px !important;
}