/* Custom styles for Wisdom Collector */

/* Google-like search styling */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Wisdom cards */
.wisdom-card {
    transition: transform 0.2s ease-in-out;
    border-left: 4px solid var(--bs-info);
}

.wisdom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Topic badges */
.topic-badge {
    background: linear-gradient(135deg, var(--bs-info), var(--bs-primary));
    border: none;
    font-weight: 500;
}

/* Statistics cards */
.stat-card {
    background: linear-gradient(135deg, var(--bs-dark), var(--bs-secondary));
    color: white;
    border: none;
}

.stat-card .card-body {
    padding: 2rem;
}

/* Admin panel styling */
.script-status-running {
    border-left: 4px solid var(--bs-success);
}

.script-status-stopped {
    border-left: 4px solid var(--bs-danger);
}

/* Button enhancements */
.btn-group .btn {
    min-width: 80px;
}

/* Typography improvements */
.display-4 {
    font-weight: 300;
}

.card-title {
    font-weight: 600;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Status indicators */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-running {
    background-color: var(--bs-success);
    animation: pulse 2s infinite;
}

.status-stopped {
    background-color: var(--bs-danger);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
