.client-sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 90;
    display: flex;
}

.client-sidebar.active {
    left: 0;
}

.sidebar-toggle {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 48px;
    background: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

.sidebar-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0 0.25rem;
    line-height: 1;
}

.sidebar-close:hover {
    color: #333;
}

.client-section {
    margin-bottom: 2rem;
}

.client-section h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.client-list,
.excluded-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 4px;
    background: var(--background-color);
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.client-item:hover {
    background: #e8e8e8;
}

.client-item.active {
    background: var(--secondary-color);
    color: white;
}

.client-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.client-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--secondary-color);
}

.client-item.active .client-checkbox.checked::after {
    color: white;
}

.excluded-list .client-item {
    border-left: 3px solid #e74c3c;
}