        :root {
            --sidebar-width: 240px;
            --sidebar-collapsed-width: 70px;
            --primary-color: #180e52;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --success-color: #27ae60;
            --warning-color: #f39c12;
            --light-bg: #f8f9fa;
            --border-color: #dee2e6;
        }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}
/* Make placeholder text lighter for all form inputs */
::placeholder {
  color: #999 !important;   /* Light gray */
  opacity: 0.5;     
  font-size:14px;/* Ensure consistent visibility */
}

/* For better cross-browser support */
::-webkit-input-placeholder {
  color: #999 !important;
}
:-ms-input-placeholder {
  color: #999 !important;
}
::-ms-input-placeholder {
  color: #999 !important;
}

input::placeholder, textarea::placeholder {
  font-style: italic;
}

.sidebar-header-img {
  /*background-color: rgba(240, 240, 240, 0.8);*/
  border-radius: 15px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.sidebar.collapsed .sidebar-header-img {
  height: 60px;
  width: 60px;
  border-radius: 10px;
  background-color: rgba(240, 240, 240, 0.5);
  margin: 0 auto;
}
.sidebar-header-img img {
  max-width: 100%;
  max-height: 100%;
  transition: all 0.3s ease;
}

     /* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
/*background: linear-gradient(180deg, #0f2027 0%, #203a43 50%, #2c5364 100%);*/
background: linear-gradient(180deg, #1a1a1a 0%, #222831 100%);

    color: #e6edf3;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

/* Sidebar Header */
.sidebar-header {
    padding-top: 0.25rem;
    
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .sidebar-header h4 {
    opacity: 0;
}

/* Sidebar Menu */
.sidebar-menu {
    padding: 1rem 0;
}

.menu-item {
    margin: 0.35rem 0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: rgba(230,237,243,0.9);
    text-decoration: none;
    border-radius: 8px;
    margin: 0 0.75rem;
    transition: all 0.25s ease;
    position: relative;
}

.menu-link:hover {
    background: rgba(125, 255, 125, 0.15);
    color: #ffffff;
    transform: translateX(4px);
}

.menu-link.active {
    background: linear-gradient(90deg, #7aaa25 0%, #95c93d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(122,170,37,0.3);
}

/* Icons & Text */
.menu-icon {
    width: 24px;
    margin-right: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.menu-text {
    flex: 1;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .menu-text {
    opacity: 0;
}

/* Submenu Count */
.submenu-count {
    background: #7aaa25;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .submenu-count {
    opacity: 0;
}

/* Submenu */
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, background 0.3s ease;
    background: rgba(255,255,255,0.05);
    margin: 0.25rem 0 0.5rem;
    border-left: 2px solid rgba(122,170,37,0.4);
}

.submenu.show {
    max-height: 300px;
}

.submenu-link {
    display: block;
    padding: 0.6rem 1rem 0.6rem 3.2rem;
    color: rgba(230,237,243,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.submenu-link:hover {
    background: rgba(122,170,37,0.15);
    color: #fff;
    padding-left: 2rem;
}

        /* Main Content Styles */
        .main-content {
            margin-left: var(--sidebar-width);
            transition: margin-left 0.1s ease;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            
        }

        .main-content.collapsed {
            margin-left: var(--sidebar-collapsed-width);
        }

        /* Topbar Styles */
        .topbar {
            background: white;
            padding: 1rem 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: between;
        }

        .toggle-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--primary-color);
            cursor: pointer;
            margin-right: 1rem;
            padding: 0.5rem;
            border-radius: 5px;
            transition: background 0.3s ease;
        }

        .toggle-btn:hover {
            background: var(--light-bg);
        }

        .topbar-title {
            flex: 1;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .topbar-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .notification-badge {
            position: relative;
        }

        .notification-badge::after {
            content: '3';
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--accent-color);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Content Area */
        .content-area {
            flex: 1;
            padding: 2rem;
        }

        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-left: 4px solid var(--secondary-color);
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-card:nth-child(2) {
            border-left-color: var(--success-color);
        }

        .stat-card:nth-child(3) {
            border-left-color: var(--warning-color);
        }

        .stat-card:nth-child(4) {
            border-left-color: var(--accent-color);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-label {
            color: #6c757d;
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }

        .stat-icon {
            float: right;
            font-size: 2rem;
            opacity: 0.3;
        }

        /* Footer */
        /*.footer {*/
        /*    background:white;*/
        /*    color: black;*/
        /*    border-top:1px solid #dee2e6;*/
        /*    padding: 1rem 1.5rem 1rem;*/
        /*    margin-top:auto;*/
        /*}*/
.footer {
   background-color: #ffffff;
  /*background-color: yellow;*/
  height: 60px;
  position: sticky;
  margin-top: 0px;
  z-index: 1;
  padding-left:25px;
  border-bottom: 1px solid #e5e7eb;
  width : 100%;
}
        .footer-bottom {
            text-align: center;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.show {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
            }

            .overlay {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0,0,0,0.5);
                z-index: 999;
                display: none;
            }

            .overlay.show {
                display: block;
            }

            .stats-cards {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .stat-card {
            animation: slideIn 0.6s ease forwards;
        }

        .stat-card:nth-child(2) {
            animation-delay: 0.1s;
        }

        .stat-card:nth-child(3) {
            animation-delay: 0.2s;
        }

        .stat-card:nth-child(4) {
            animation-delay: 0.3s;
        }
.logo-container {
    width: 90px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(219, 156, 55, 0.3);
    overflow: hidden;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}


/* Optional: center logo in header when collapsed */
.sidebar.collapsed .sidebar-header {
    justify-content:center;
}
.topbar-search {
    flex: 1;
    /*max-width:1000px;*/
}
.nav-link1 {
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  color: #333;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.nav-link1:hover {
  background-color: #e2e6ea;
  color: #0056b3;
  border-color: #bbb;
}

.nav-link1.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: bold;
}

.topbar-search input {
    border-radius: 8px;
    padding: 5px 12px;
}
.menu-link.active,
.submenu-link.active {
  background:#7aaa25;
  color: #fff !important;
  font-weight: 600;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}
 body::before {
    content: "";
    position: fixed;
    top: 65%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(-30deg);
    width: 600px; 
    height: 600px;
    background-image: url('assets/images/roundlogo.png');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    z-index: 9999;
    pointer-events: none;
}


