/* Estilos para proyectos compactos */

.project-badge-tech {
    display: inline-block;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--tech-glow);
    color: var(--tech-accent);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.project-card.featured {
    border: 2px solid var(--tech-glow);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.project-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Infrastructure Cards */
.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.infrastructure-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.infrastructure-card:hover {
    border-color: var(--tech-glow);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-5px);
}

.infrastructure-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.infrastructure-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--tech-text);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tech-glow);
    box-shadow: 0 0 10px var(--tech-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-dot.active {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

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

.infrastructure-title-compact {
    font-size: 1.25rem;
    color: var(--tech-text);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.infrastructure-description-compact {
    color: rgba(224, 231, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.infrastructure-metrics-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.metric-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-number-compact {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-accent);
    text-shadow: 0 0 10px var(--tech-glow);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label-compact {
    font-size: 0.75rem;
    color: rgba(224, 231, 255, 0.7);
}

.infrastructure-tech-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Summary Cards */
.infrastructure-summary {
    margin-top: 3rem;
}

.summary-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.summary-card-compact {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.summary-card-compact:hover {
    border-color: var(--tech-glow);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    transform: translateY(-5px);
}

.summary-icon-compact {
    font-size: 2.5rem;
    color: var(--tech-glow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--tech-glow);
}

.summary-content-compact h4 {
    font-size: 1rem;
    color: var(--tech-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.summary-value-compact {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tech-accent);
    text-shadow: 0 0 15px var(--tech-glow);
    margin-bottom: 0.5rem;
}

.summary-content-compact p {
    font-size: 0.85rem;
    color: rgba(224, 231, 255, 0.7);
}

/* Tech Mode Styles */
.tech-mode .project-badge-tech {
    background: rgba(6, 182, 212, 0.2) !important;
    border: 1px solid var(--tech-glow) !important;
    color: var(--tech-accent) !important;
}

.tech-mode .infrastructure-card {
    background: rgba(26, 31, 58, 0.6) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
}

.tech-mode .infrastructure-title-compact {
    color: var(--tech-text) !important;
}

.tech-mode .infrastructure-description-compact {
    color: rgba(224, 231, 255, 0.8) !important;
}

.tech-mode .summary-card-compact {
    background: rgba(26, 31, 58, 0.6) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
}

.tech-mode .summary-content-compact h4 {
    color: var(--tech-text) !important;
}

.tech-mode .summary-content-compact p {
    color: rgba(224, 231, 255, 0.7) !important;
}

.tech-mode .infrastructure-metrics-compact {
    background: rgba(6, 182, 212, 0.05) !important;
    border: 1px solid rgba(6, 182, 212, 0.2) !important;
}

.tech-mode .metric-number-compact {
    color: var(--tech-accent) !important;
    text-shadow: 0 0 10px var(--tech-glow) !important;
}

.tech-mode .metric-label-compact {
    color: rgba(224, 231, 255, 0.7) !important;
}

.tech-mode .infrastructure-status-badge {
    color: var(--tech-text) !important;
}

.tech-mode .description-box {
    background: rgba(6, 182, 212, 0.05) !important;
    border-left: 3px solid var(--tech-glow) !important;
    color: rgba(224, 231, 255, 0.9) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    
    .infrastructure-metrics-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .summary-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .infrastructure-metrics-compact {
        grid-template-columns: 1fr;
    }
    
    .summary-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        width: 100%;
    }
}

