/* Sidebar / Hamburger Menu */

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Sidebar panel */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--gray-dark);
}

.sidebar-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm);
    font-size: 20px;
    color: var(--gray-medium);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-close:hover {
    background: var(--light-bg);
    color: var(--gray-dark);
}

.sidebar-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-group select,
.sidebar-group input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.sidebar-group select:focus,
.sidebar-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.15);
}

/* Overlay behind sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    transition: opacity 0.3s;
    opacity: 0;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}
