:root {
    --cyvex-widget-bg: #ffffff;
    --cyvex-dark: #2d3748;
    --cyvex-orange: #ff7f00;
    --font-primary: Arial, sans-serif;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 180px;
    padding: 70px 20px;
    background-color: var(--cyvex-widget-bg);
    border-right: solid 3px #262d3e;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 888;
    font-family: var(--font-primary);
}

.brand {
    color: #ffffff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 10px;
}

.link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0.5rem;
    background-color: var(--cyvex-widget-bg);
    color: var(--cyvex-dark);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
}

.linkText {
    flex: 1;
    text-align: left;
}

.link:hover {
    background: var(--cyvex-orange);
    color: #fff;
}

.toggle {
    background: var(--cyvex-dark);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 4px;
    padding: 0.5rem;
    text-align: left;
}

.collapsed .toggle {
    text-align: center;
}

.collapsed {
    width: 50px;
    padding: 70px 10px;
}

.collapsed .link {
    justify-content: center;
    gap: 0;
}

.collapsed .linkText,
.collapsed .brand {
    display: none;
}

@media screen and (max-width: 991px) {
    .sidebar {
        display: none;
    }
}
