:root {
    --myturquoise: #17a2b8;
    --mypurple: #a78bfa;
    --sidebar-bg: #212529;
    --sidebar-header-bg: #343a40;
    --sidebar-border: #495057;
    --link-hover: #343a40;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.sidebar_logo {
    text-align: center;
    margin-bottom: 20px;
    
}
.logo-img {
    width: 160px;
    height: auto;
}

.sidebar-section {
    padding: 0 20px;
    margin-bottom: 30px;
}
.sidebar-section h4 {
    font-size: 16px;
    color: #ffffff;
    border-bottom: 1px solid var(--sidebar-border);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* Menu links */
.sidebar-menu {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* Reduce gap between items */
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduce space between icon and text */
    background-color: transparent;
    padding: 6px 10px; /* Reduce overall height */
    color: white;
    font-size: 13.5px; /* Slightly smaller font for better fit */
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    white-space: nowrap; /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-menu a:hover {
   
    color: white;
    text-decoration: none;
}
.sidebar-menu .active {
    background-color: var(--myturquoise);
    color: #fff;
    font-weight: bold;
}

.sidebar-menu i {
    font-size: 13px;
    width: 16px; /* Ensures consistent alignment */
    text-align: center;
}

/* CTA buttons (login/logout/signup) */
.cta {
    margin-top: auto;
    padding: 20px;
    text-align: center;
}
.cta .button {
    display: block;
    background-color: var(--myturquoise);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.cta .button:hover {
    background-color: #138496;
    text-decoration: none;
}



