/**
 * Portal Big Data - Intelligent Suggestions Styles
 * Matrix Theme Compatible
 */

/* Suggestion Cards */
.suggestion-card {
    transition: all 0.3s ease;
    border: 1px solid #00ff00;
    background: rgba(0, 0, 0, 0.8);
}

.suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.suggestion-item {
    padding: 0.75rem;
    border-left: 3px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
    margin-bottom: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-left-width: 5px;
}

.suggestion-link {
    color: #00ff00 !important;
    text-decoration: none;
}

.suggestion-link:hover {
    color: #00cc00 !important;
}

/* Learning Progress */
.progress {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff00;
}

.progress-bar {
    background: linear-gradient(90deg, #00ff00, #00cc00);
    animation: matrix-glow 2s ease-in-out infinite alternate;
}

/* Next Steps Alert */
.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
}

.alert-success .alert-heading {
    color: #00ff00;
}

/* Suggestion Type Badges */
.badge.bg-info {
    background: rgba(0, 255, 255, 0.8) !important;
    color: #000 !important;
}

.badge.bg-warning {
    background: rgba(255, 255, 0, 0.8) !important;
    color: #000 !important;
}

.badge.bg-success {
    background: rgba(0, 255, 0, 0.8) !important;
    color: #000 !important;
}

/* Recommendation Reasons */
.text-info {
    color: #00ffff !important;
}

/* Match Score */
.text-muted {
    color: #888 !important;
}

/* Suggestion Buttons */
.btn-outline-success {
    border-color: #00ff00;
    color: #00ff00;
}

.btn-outline-success:hover {
    background-color: #00ff00;
    color: #000;
}

.btn-success {
    background-color: #00ff00;
    border-color: #00ff00;
    color: #000;
}

.btn-success:hover {
    background-color: #00cc00;
    border-color: #00cc00;
}

/* Animations */
@keyframes matrix-glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .suggestion-card {
        margin-bottom: 1rem;
    }
    
    .suggestion-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .tech-sidebar .card {
        margin-bottom: 1rem;
    }
}

/* Dark Theme Compatibility */
.matrix-theme .suggestion-card .card-body {
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
}

.matrix-theme .suggestion-card .card-title {
    color: #00ff00;
}

.matrix-theme .suggestion-card .card-text {
    color: #ccc;
}

/* Loading States */
.suggestions-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    color: #00ff00;
}

.suggestions-loading::after {
    content: "Carregando sugestões...";
    animation: matrix-blink 1s infinite;
}

@keyframes matrix-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Empty State */
.suggestions-empty {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-style: italic;
}

/* Suggestion Categories */
.suggestion-category-header {
    color: #00ff00;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Interactive Elements */
.suggestion-item:active,
.suggestion-card:active {
    transform: scale(0.98);
}

/* Accessibility */
.suggestion-link:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 0, 0.5);
}

/* Print Styles */
@media print {
    .suggestion-card,
    .suggestion-item {
        border: 1px solid #000;
        background: #fff;
        color: #000;
    }
    
    .suggestion-link {
        color: #000 !important;
    }
}