/* Custom CSS for Professional Header and Sidebar */

/* Sidebar collapse functionality */
.left-sidebar.sidebar-collapsed {
    width: 70px;
    transition: width 0.3s ease;
}

.left-sidebar.sidebar-collapsed .sidebar-nav .sidebar-item .sidebar-link span {
    display: none;
}

.left-sidebar.sidebar-collapsed .sidebar-nav .sidebar-item .sidebar-link {
    justify-content: center;
    padding: 15px 10px;
}

.left-sidebar.sidebar-collapsed .sidebar-nav .sidebar-item .sidebar-link i {
    margin-right: 0;
}

.left-sidebar.sidebar-collapsed .nav-small-cap,
.left-sidebar.sidebar-collapsed .sidebar-nav .sidebar-item .first-level,
.left-sidebar.sidebar-collapsed .user-panel .info {
    display: none;
}

.left-sidebar.sidebar-collapsed .user-panel {
    padding: 15px 10px;
    justify-content: center;
}

.left-sidebar.sidebar-collapsed .user-panel .image img {
    margin: 0;
}

.page-wrapper.content-expanded {
    margin-left: 70px;
    transition: margin-left 0.3s ease;
}

/* Menu button active state */
.navbar-brand .menu-btn.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar-brand .menu-btn.active i {
    transform: rotate(90deg);
}

/* Mobile nav toggler active state */
.nav-toggler.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-toggler.active i {
    transform: rotate(90deg);
}

/* Header Styling */
.topbar {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%) !important;
    box-shadow: 0 6px 25px 0 rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 100;
}

.navbar-header {
    background: rgba(0, 0, 0, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.navbar-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgdmlld0JveD0iMCAwIDUwIDUwIj48ZyBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIj48cGF0aCBkPSJNMjUgMTBjLTguMjg0IDAtMTUgNi43MTYtMTUgMTVzNi43MTYgMTUgMTUgMTUgMTUtNi43MTYgMTUtMTUtNi43MTYtMTUtMTUtMTV6Ii8+PC9nPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

.navbar-brand {
    padding: 0 1.75rem;
    display: flex;
    align-items: center;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Menu button in navbar-brand */
.navbar-brand .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand .menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-brand .menu-btn i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    transition: all 0.3s ease;
}

.navbar-brand .menu-btn:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.topbar .navbar .navbar-collapse {
    background: transparent !important;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-text {
    display: flex;
    align-items: center;
    margin-left: 15px;
    position: relative;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-text:before {
    content: '';
    position: absolute;
    left: -8px;
    height: 28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 1px;
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-text img {
    max-height: 32px;
    max-width: 120px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.topbar .top-navbar .navbar-header .navbar-brand .logo-icon img {
    max-height: 38px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    margin-right: 10px;
    border-radius: 6px;
}

.topbar .top-navbar .navbar-header .navbar-brand:hover .logo-icon img,
.topbar .top-navbar .navbar-header .navbar-brand:hover .logo-text img {
    filter: brightness(1.3) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform: scale(1.08);
}

/* Notification dropdown styling */
.dropdown-menu.dropdown-menu-right {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 12px;
    min-width: 300px;
    padding: 0;
    overflow: hidden;
    animation: dropdown-fade-in 0.3s ease-out;
    transform-origin: top right;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dropdown-menu.dropdown-menu-right:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 0;
}

.dropdown-menu.dropdown-menu-right .dropdown-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.dropdown-menu.dropdown-menu-right .dropdown-item:hover {
    background-color: rgba(75, 108, 183, 0.08);
    transform: translateX(3px);
}

.dropdown-menu.dropdown-menu-right .dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-menu.dropdown-menu-right .dropdown-item i {
    margin-right: 12px;
    color: #4e4376;
    font-size: 16px;
    transition: all 0.25s ease;
}

.dropdown-menu.dropdown-menu-right .dropdown-item:hover i {
    transform: scale(1.15);
    color: #2b5876;
}

.dropdown-menu.dropdown-menu-right .message-title {
    font-size: 15px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.dropdown-menu.dropdown-menu-right .message-title:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 100%);
    transform: skewX(-20deg) translateX(180px);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: skewX(-20deg) translateX(-180px); }
    100% { transform: skewX(-20deg) translateX(180px); }
}
    margin: 0;
}

/* User panel in sidebar */
.user-panel {
    position: relative;
    padding: 30px 20px;
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    margin-bottom: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.user-panel:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.user-panel .image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.user-panel .image img:hover {
    transform: scale(1.08) translateY(-3px);
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.user-panel .info {
    position: relative;
    z-index: 1;
}

.user-panel .info h6 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.user-panel .info small {
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-weight: 400;
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Notification Badge and Icon */
.nav-item.dropdown .nav-link i.fas.fa-bell {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.nav-item.dropdown .nav-link:hover i.fas.fa-bell {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
}

.badge-primary.notify-no {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 50%;
    background: #f62d51;
    color: #fff;
    border: 2px solid #fff;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* User profile in header */
.navbar-nav .nav-item.dropdown > a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 70px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-item.dropdown > a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    z-index: 0;
}

.navbar-nav .nav-item.dropdown:not(:last-child) > a:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
}

.navbar-nav .nav-item.dropdown > a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-item.dropdown > a:hover:before {
    background: rgba(255, 255, 255, 0.05);
}

.navbar-nav .nav-item.dropdown > a img {
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    object-fit: cover;
}

.navbar-nav .nav-item.dropdown > a:hover img {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-item.dropdown > a .text-dark {
    color: #fff !important;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-left: 2px;
}

.navbar-nav .nav-item.dropdown > a span {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    font-size: 13px;
}

.navbar-nav .nav-item.dropdown > a i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-left: 3px;
    color: rgba(255, 255, 255, 0.7);
}

.navbar-nav .nav-item.dropdown > a:hover i {
    transform: translateY(2px);
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 94, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 94, 0);
    }
}

/* User profile dropdown menu */
.dropdown-menu.user-dd {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    min-width: 280px;
    padding: 0;
    margin-top: 12px;
    animation: dropdown-fade-in 0.3s ease-out;
    transform-origin: top right;
}

.dropdown-menu.user-dd:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 0;
}

.dropdown-menu.user-dd .dropdown-item {
    padding: 14px 20px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.dropdown-menu.user-dd .dropdown-item:hover {
    background-color: rgba(75, 108, 183, 0.08);
    transform: translateX(3px);
}

.dropdown-menu.user-dd .dropdown-item i {
    margin-right: 12px;
    color: #4e4376;
    font-size: 16px;
    transition: all 0.25s ease;
}

.dropdown-menu.user-dd .dropdown-item:hover i {
    transform: scale(1.15);
    color: #2b5876;
}

.dropdown-menu.user-dd .dropdown-divider {
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu.user-dd .pl-4.p-3 {
    padding: 15px 20px !important;
    background: linear-gradient(to right, #f8f9fa, #f1f3f5);
}

.dropdown-menu.user-dd .btn-sm.btn-info {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(43, 88, 118, 0.3);
    transition: all 0.3s ease;
}

.dropdown-menu.user-dd .btn-sm.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(43, 88, 118, 0.4);
}

/* Search bar styling */
.customize-input {
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-right: 10px;
}

.customize-input:hover {
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.customize-input input {
    height: 44px;
    padding: 10px 20px 10px 48px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 240px;
    backdrop-filter: blur(5px);
}

.customize-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

.customize-input input:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 280px;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.customize-input .form-control-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.customize-input:focus-within .form-control-icon {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Sidebar Styling */
.left-sidebar {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 99;
}

.left-sidebar:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.15), rgba(255,255,255,0.05));
}

.scroll-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiB2aWV3Qm94PSIwIDAgMTUwIDE1MCI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSI+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI0MCIgY3k9IjEwIiByPSIxMCIvPjxjaXJjbGUgY3g9IjcwIiBjeT0iMTAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTMwIiBjeT0iMTAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAiIGN5PSI0MCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI0MCIgY3k9IjQwIiByPSIxMCIvPjxjaXJjbGUgY3g9IjcwIiBjeT0iNDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iNDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTMwIiBjeT0iNDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAiIGN5PSI3MCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI0MCIgY3k9IjcwIiByPSIxMCIvPjxjaXJjbGUgY3g9IjcwIiBjeT0iNzAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iNzAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTMwIiBjeT0iNzAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAiIGN5PSIxMDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iNDAiIGN5PSIxMDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iNzAiIGN5PSIxMDAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTAwIiBjeT0iMTAwIiByPSIxMCIvPjxjaXJjbGUgY3g9IjEzMCIgY3k9IjEwMCIgcj0iMTAiLz48Y2lyY2xlIGN4PSIxMCIgY3k9IjEzMCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI0MCIgY3k9IjEzMCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI3MCIgY3k9IjEzMCIgcj0iMTAiLz48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMzAiIHI9IjEwIi8+PGNpcmNsZSBjeD0iMTMwIiBjeT0iMTMwIiByPSIxMCIvPjwvZz48L3N2Zz4=');
    background-position: center;
    background-repeat: repeat;
    position: relative;
    z-index: 1;
}

#sidebarnav {
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.nav-small-cap {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px 4px 15px;
    margin-top: 10px;
}

.list-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 10px 15px;
}

.collapse.first-level {
    padding-left: 5px;
}

.collapse.first-level .sidebar-item .sidebar-link {
    padding-left: 30px;
    font-size: 13.5px;
    margin: 3px 8px;
    color: #ffffff;
}

.sidebar-nav ul .sidebar-item .sidebar-link {
    color: #ffffff;
    font-weight: 500;
    padding: 14px 24px;
    font-size: 14.5px;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    margin: 4px 10px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

.sidebar-nav ul .sidebar-item .sidebar-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #2b5876, #4e4376);
    opacity: 0;
    transition: all 0.25s ease;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover,
.sidebar-nav ul .sidebar-item .sidebar-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-left: 3px solid transparent;
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover:before,
.sidebar-nav ul .sidebar-item .sidebar-link.active:before {
    opacity: 1;
}

.sidebar-nav ul .sidebar-item .sidebar-link i {
    font-size: 17px;
    margin-right: 14px;
    color: rgba(255, 255, 255, 0.7);
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover i,
.sidebar-nav ul .sidebar-item .sidebar-link.active i {
    color: #ffffff;
    transform: scale(1.15);
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    border-left: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link:before {
    opacity: 1;
}

.sidebar-nav ul .sidebar-item.selected > .sidebar-link i {
    color: #ffffff;
}

/* List divider and nav small cap */
.list-divider {
    margin: 30px 15px;
    border: none;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    position: relative;
}

.list-divider:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 0 0 5px rgba(255, 255, 255, 0.05);
}

.nav-small-cap {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 22px 24px 12px;
    margin-top: 15px;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-small-cap:before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.nav-small-cap:after {
    content: '';
    position: absolute;
    left: 24px;
    bottom: 6px;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    border-radius: 2px;
}

/* Footer Styling */
.footer {
    background: linear-gradient(to right, #ffffff, #f8f9fc);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,0.8), rgba(255,255,255,0.5));
}

.footer .copyright-text {
    color: #445270;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    padding: 5px 0;
}

.footer .copyright-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #2b5876, #4e4376);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .copyright-text:hover:after {
    opacity: 1;
    width: 80px;
}

.footer .copyright-text a {
    color: #2b5876;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 2px;
}

.footer .copyright-text a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #2b5876, #4e4376);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer .copyright-text a:hover {
    color: #4e4376;
    text-decoration: none;
}

.footer .copyright-text a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Submenu styling */
.sidebar-nav ul .sidebar-item .first-level {
    padding-left: 0;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: 10px;
    margin-right: 10px;
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link {
    padding: 12px 12px 12px 60px;
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    border-radius: 6px;
    margin: 4px 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link:before {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
    transition: all 0.25s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link:hover,
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link:hover:before,
.sidebar-nav ul .sidebar-item .first-level .sidebar-item .sidebar-link.active:before {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    width: 8px;
    height: 8px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .topbar .top-navbar .navbar-header {
        width: 100%;
    }
    
    .left-sidebar {
        position: fixed;
        z-index: 10;
    }
}