/* ===========================
   UNALLOCATED SIDEBAR
   =========================== */
.unallocated-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.unallocated-sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 10px 20px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    box-shadow: var(--shadow-sm);
    height: 3rem;
    gap: 12px;
}

.sidebar-header h2 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-content {
    flex: 1;
    margin: 16px;
    padding-top: 4px;
    padding-right: 4px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 300px;
}

.sidebar-content:empty::after {
    content: 'Arraste tickets aqui para desalocar';
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.sidebar-content.drag-over {
    background-color: #f1f5f9;
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
}

/* Sidebar Buttons */
.btn-sidebar-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-sidebar-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}
