/* Gemini Search Results Styles */

.gemini-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #e0e0e0;
}

.gemini-results h4 {
    margin: 0 0 0.8rem 0;
    color: #1a237e;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gemini-results h4 .icon {
    font-size: 1.2rem;
}

.gemini-summary {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a6572;
    margin-bottom: 0.8rem;
}

.gemini-sources {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
}

.gemini-sources ul {
    margin: 0.3rem 0 0 0;
    padding-left: 1rem;
}

.gemini-sources li {
    margin-bottom: 0.2rem;
}

.gemini-timestamp {
    font-size: 0.7rem;
    color: #868e96;
    text-align: right;
    margin-top: 0.3rem;
}

.gemini-search-btn {
    background: linear-gradient(135deg, #26a69a 0%, #1e88e5 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.gemini-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gemini-search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.trending-topics {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 0.8rem;
    margin: 0.5rem 0;
}

.trending-topics h5 {
    margin: 0 0 0.5rem 0;
    color: #0d47a1;
    font-size: 0.85rem;
    font-weight: 600;
}

.trending-item {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #bbdefb;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item .trend-icon {
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

.real-time-info {
    background: #f1f8e9;
    border-left: 3px solid #689f38;
    padding: 0.8rem;
    margin: 0.8rem 0;
    border-radius: 0 4px 4px 0;
}

.real-time-info h5 {
    margin: 0 0 0.5rem 0;
    color: #33691e;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Loading animation for Gemini results */
.gemini-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.8rem;
}

.gemini-loading .spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #1e88e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}