﻿/* Application shell: sidebar navigation, top header (mobile) and content area */
.header {
    visibility: hidden;
}

/* Sidebar */
.sidebar {
    width: 350px;
    background-color: #161b22;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border-right: 1px solid #30363d;
}

.sidebar h2 {
    padding: 20px;
    text-align: center;
    font-size: 2.5rem;
    border-bottom: 1px solid #30363d;
    color: #58a6ff;
}

.menu {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #c9d1d9;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    transition: 0.1s all;
}

.menu a:hover {
    background-color: #23863644;
    color: white;
}

.menu a.active {
    border-left: 5px solid #238636;
    background-color: #23863611;
    color: white;
}

.menu a svg {
    margin-right: 10px;
    fill: currentColor;
}

/* Content area */
.content {
    flex-grow: 1;
    padding: 60px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
}

/* Responsive sidebar toggle */
.toggle-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: #238636;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1100;
}

.toggle-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}
