/* Button Components */

button {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

button:hover {
    background: #005a87;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.secondary-btn {
    background: #6c757d;
}

.secondary-btn:hover {
    background: #5a6268;
}

.success-btn {
    background: #28a745;
}

.success-btn:hover {
    background: #218838;
}

.warning-btn {
    background: #ffc107;
    color: #212529;
}

.warning-btn:hover {
    background: #e0a800;
}

.info-btn {
    background: #17a2b8;
    color: white;
}

.info-btn:hover {
    background: #138496;
}

.danger-btn {
    background: #dc3545;
    color: white;
}

.danger-btn:hover {
    background: #c82333;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #c82333;
}

.vote-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    min-width: 35px;
}

.vote-btn:hover {
    background: #e9ecef;
}

.vote-btn.upvote:hover {
    background: #d4edda;
    border-color: #28a745;
}

.vote-btn.downvote:hover {
    background: #f8d7da;
    border-color: #dc3545;
}

.add-keyword-btn {
    background-color: #f8f9fa !important;
    color: #28a745 !important;
    border: 1px solid #28a745 !important;
    padding: 5px 12px !important;
    font-size: 0.85em !important;
    border-radius: 15px !important;
    transition: all 0.2s ease;
}

.add-keyword-btn:hover {
    background-color: #28a745 !important;
    color: white !important;
}

.preset-btn {
    background: #ff9800;
    color: white;
    padding: 5px 10px;
    margin: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
}

.preset-btn:hover {
    background: #f57c00;
}

.filter-btn {
    padding: 8px 16px;
    font-size: 0.95em;
    border: 1px solid #ced4da;
    background: white;
    color: #495057;
    border-radius: 20px; /* Pill shape */
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-btn-active {
    background: #007cba;
    color: white;
    border-color: #007cba;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.3);
}

.filter-btn-active:hover {
    background: #005a87;
    border-color: #005a87;
}

.action-btn {
    padding: 8px 16px;
    font-size: 0.9em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.select-all-btn {
    background: #17a2b8;
    color: white;
}

.select-all-btn:hover {
    background: #138496;
}

.clear-btn {
    background: #dc3545;
    color: white;
}

.clear-btn:hover {
    background: #c82333;
}

.outline-btn {
    background: white !important;
    border: 1px solid #1976d2 !important;
    color: #1976d2 !important;
}

.outline-btn:hover {
    background: #e3f2fd !important;
    color: #1565c0 !important;
    border-color: #1565c0 !important;
}
