.campaign-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
}

.campaign-item {
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.campaign-item:hover {
    border-color: #007bff;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
}

.campaign-item.selected {
    border-color: #28a745;
    background: #f0fff4;
}

.campaign-item .campaign-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    max-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.campaign-meta {
    font-size: 13px;
    display: flex;
    align-items: center;
}

.campaign-status {
    font-size: 24px;
}

.campaign-item .form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.campaign-item .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

#campaignSearch {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

#campaignSearch:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Scrollbar styling */
.campaign-list::-webkit-scrollbar {
    width: 8px;
}

.campaign-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.campaign-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.campaign-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
