/**
 * AI Features - CSS Styles
 *
 * Este arquivo contém todos os estilos relacionados às funcionalidades de IA:
 * - Dropdown de AI Features (carinha apaixonada)
 * - Modal do Mapa de Oportunidades
 * - Visão em colunas/lista
 * - Tooltips e badges
 *
 * Funcionalidades futuras também serão adicionadas aqui:
 * - Gerador de Pitch
 * - Score de Sucesso
 * - Consórcio Builder
 * - Intelligence Brief
 */

/* ===== AI FEATURES DROPDOWN ===== */
.ai-features-dropdown {
    position: relative;
    cursor: pointer;
}

.ai-features-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    transition: all 0.2s ease;
    width: 100%;
    height: 100%;
    position: relative;
}

.ai-features-trigger:hover {
    transform: scale(1.1);
}

.ai-features-trigger:hover .fa-face-grin-hearts {
    filter: drop-shadow(0 0 8px rgba(255, 141, 207, 0.8));
}

.ai-features-trigger:active {
    transform: scale(0.95);
}

.ai-features-trigger .fa-face-grin-hearts {
    font-size: 1.65rem;
    color: #ff8dcf;
    transition: filter 0.2s ease;
}

.ai-sparkle {
    font-size: 0.7rem;
    color: #ffd700;
    animation: sparkle-pulse 1.5s ease-in-out infinite;
}

/* Tooltip customizado com fundo preto */
.ai-features-trigger[data-tooltip] {
    position: relative;
}

.ai-features-trigger::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1a1a2e;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.ai-features-trigger::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    border: 6px solid transparent;
    border-top-color: #1a1a2e;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

.ai-features-trigger:hover::after,
.ai-features-trigger:hover::before {
    opacity: 1;
    visibility: visible;
}

.ai-features-trigger:hover::after {
    transform: translateX(-50%) translateY(-8px);
}

.ai-features-trigger:hover::before {
    transform: translateX(-50%) translateY(0);
}

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ai-features-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    z-index: 1100;
    overflow: hidden;
    animation: slideIn 0.25s ease-out;
}

.ai-features-dropdown.active .ai-features-menu {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-features-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.ai-features-header i {
    font-size: 1.1rem;
}

.ai-features-items {
    padding: 8px;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.ai-feature-item.ai-feature-active:hover {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
}

.ai-feature-item.ai-feature-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ai-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.ai-feature-active .ai-feature-icon {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.ai-feature-disabled .ai-feature-icon {
    background: #e5e7eb;
    color: #9ca3af;
}

.ai-feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ai-feature-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.ai-feature-desc {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}

.ai-feature-arrow {
    color: #6a11cb;
    font-size: 0.8rem;
}

.ai-feature-badge {
    font-size: 0.65rem;
    background: #e5e7eb;
    color: #6b7280;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* ===== OPPORTUNITY MAP MODAL ===== */
#opportunityMapModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

#opportunityMapModal.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.opportunity-map-container {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.opportunity-map-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
    z-index: 10;
}

.opportunity-map-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.opportunity-map-title i {
    color: #ffd700;
}

.opportunity-map-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.opportunity-map-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.opportunity-map-tech-name {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    z-index: 10;
}

/* ===== FILTROS DE FONTES ===== */
.opportunity-source-filters {
    position: absolute;
    top: 95px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
    z-index: 10;
}

.source-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.source-filter-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 100px;
}

.source-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.source-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.source-chip .chip-check {
    display: none;
    font-size: 0.65rem;
}

.source-chip:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.source-chip.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5) 0%, rgba(37, 99, 235, 0.5) 100%);
    border-color: rgba(59, 130, 246, 0.8);
    color: white;
}

.source-chip.active .chip-check {
    display: inline;
}

.source-chip.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.chip-soon {
    font-size: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
    font-weight: 400;
}

/* Mensagem inicial */
.opportunity-initial-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.opportunity-initial-message i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.opportunity-initial-message h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.opportunity-initial-message p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 300px;
}

.start-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.start-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.start-search-btn:active {
    transform: translateY(0);
}

.start-search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.opportunity-map-canvas {
    width: 100%;
    height: 100%;
    position: relative;
}

.opportunity-map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.opportunity-map-loading i {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* SVG Canvas */
.constellation-svg {
    width: 100%;
    height: 100%;
}

/* Órbitas */
.orbit-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

/* Sol central */
.center-sun {
    fill: url(#sunGradient);
    filter: url(#glow);
}

/* Nós de oportunidades */
.opportunity-node {
    cursor: pointer;
    /* SEM transition para evitar flickering */
}

/* Usar classe JS em vez de :hover para evitar flickering */
.opportunity-node.node-hover circle {
    filter: brightness(1.4) drop-shadow(0 0 10px rgba(255,255,255,0.7));
    stroke: white;
    stroke-width: 2px;
}

.opportunity-node circle {
    /* Transição suave apenas para filtro */
    transition: filter 0.15s ease;
}

/* Cores por categoria */
.node-partnership {
    fill: #fbbf24;
}

.node-benchmarking {
    fill: #3b82f6;
}

.node-edital {
    fill: #10b981;
}

/* ===== LEGENDAS ===== */
.opportunity-map-legend {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 24px;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 30px;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8rem;
    cursor: help;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    position: relative;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.legend-info {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 2px;
    transition: opacity 0.2s ease;
}

.legend-item:hover .legend-info {
    opacity: 1;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.partnerships { background: #fbbf24; }
.legend-dot.benchmarking { background: #3b82f6; }
.legend-dot.editais { background: #10b981; }

/* ===== TOOLTIP FLUTUANTE ===== */
.opportunity-tooltip {
    position: absolute;
    background: #1a1a2e;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    max-width: 280px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.opportunity-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.opportunity-tooltip-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.opportunity-tooltip-source {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cores por fonte de dados no tooltip */
.opportunity-tooltip-source.source-mctea {
    background: rgba(249, 115, 22, 0.3);
    color: #fb923c;
}

.opportunity-tooltip-source.source-finep {
    background: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.opportunity-tooltip-source.source-vinnova {
    background: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.opportunity-tooltip-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    margin-bottom: 4px;
}

.opportunity-tooltip-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.opportunity-tooltip-score {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.opportunity-tooltip-score.high { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.opportunity-tooltip-score.medium { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.opportunity-tooltip-score.low { background: rgba(239, 68, 68, 0.2); color: #f87171; }

/* ===== TOOLTIPS CUSTOMIZADOS DO MODAL ===== */
#opportunityMapModal [data-tooltip] {
    position: relative;
}

#opportunityMapModal [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #1a1a2e;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: normal;
    max-width: 220px;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#opportunityMapModal [data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Ajuste para tooltips à direita (stats badges) */
#opportunityMapModal .stat-badge[data-tooltip]::after {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-8px);
}

#opportunityMapModal .stat-badge[data-tooltip]:hover::after {
    transform: translateX(0) translateY(-4px);
}

/* Cards usam tooltip flutuante via JavaScript (igual constelação) */

/* Tooltip da legenda (na parte inferior) */
#opportunityMapModal .legend-item[data-tooltip]::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
}

#opportunityMapModal .legend-item[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(-4px);
}

/* ===== CONTADORES/STATS ===== */
.opportunity-map-stats {
    position: absolute;
    top: 190px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    cursor: help;
    transition: background 0.2s ease, transform 0.2s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.stat-badge i {
    font-size: 0.9rem;
}

.stat-badge.partnerships i { color: #fbbf24; }
.stat-badge.benchmarking i { color: #3b82f6; }
.stat-badge.editais i { color: #10b981; }

/* ===== TOGGLE DE VISÃO ===== */
.opportunity-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 12px;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.view-toggle-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.view-toggle-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== VISÃO EM LISTA/COLUNAS ===== */
.opportunity-list-view {
    position: absolute;
    top: 190px;
    left: 20px;
    right: 20px;
    bottom: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.opportunity-column {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
    min-height: 0;
    overflow: visible; /* Permite tooltip aparecer fora da coluna */
}

.column-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

.column-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.opportunity-column.partnerships .column-header-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
}

.opportunity-column.benchmarking .column-header-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #1e3a5f;
}

.opportunity-column.editais .column-header-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #064e3b;
}

.column-header-text h3 {
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.column-header-info {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.column-header:hover .column-header-info {
    opacity: 1;
}

.column-header {
    cursor: help;
}

.column-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.column-content {
    flex: 1;
    min-height: 0; /* Crítico para scroll funcionar em flex container */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    border-radius: 0 0 16px 16px; /* Manter cantos arredondados na parte inferior */
}

.column-content::-webkit-scrollbar {
    width: 6px;
}

.column-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.column-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.column-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== CARDS DENTRO DAS COLUNAS ===== */
.opportunity-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.opportunity-card:last-child {
    margin-bottom: 0;
}

.opportunity-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.opportunity-column.partnerships .opportunity-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
}

.opportunity-column.benchmarking .opportunity-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.opportunity-column.editais .opportunity-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.opportunity-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.opportunity-card-source {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cores por fonte de dados */
.opportunity-card-source.source-mctea {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.opportunity-card-source.source-finep {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.opportunity-card-source.source-vinnova {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.opportunity-card-source.source-fapesc {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.opportunity-card-source.source-cnpq {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.opportunity-card-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-card-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opportunity-card-score {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.opportunity-column.partnerships .opportunity-card-score {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.opportunity-column.benchmarking .opportunity-card-score {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.opportunity-column.editais .opportunity-card-score {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.opportunity-card-action {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.opportunity-card:hover .opportunity-card-action {
    color: rgba(255, 255, 255, 0.8);
}

.column-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 30px 15px;
    font-size: 0.85rem;
}

.column-empty i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .opportunity-list-view {
        grid-template-columns: 1fr;
        gap: 12px;
        overflow-y: auto;
    }

    .opportunity-column {
        max-height: 300px;
    }

    .opportunity-map-container {
        width: 95%;
        height: 90vh;
        max-height: none;
    }

    .opportunity-map-legend {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }

    .ai-features-menu {
        left: auto;
        right: 0;
        top: 100%;
    }
}
