﻿/* ===========================================
   ESTILOS MEJORADOS PARA PROYECTOS
   =========================================== */

/* Imágenes de proyecto con iconos */
.project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Badges personalizados */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 20px;
}

.bg-primary { background: linear-gradient(135deg, #2c5e3e, #4a8c5d) !important; }
.bg-success { background: linear-gradient(135deg, #4a8c5d, #6abf7d) !important; }
.bg-warning { background: linear-gradient(135deg, #f5a623, #ffc107) !important; color: #000 !important; }
.bg-info { background: linear-gradient(135deg, #17a2b8, #2fc5dd) !important; }
.bg-danger { background: linear-gradient(135deg, #dc3545, #e35d6a) !important; }

/* Información de proyecto */
.project-info {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.project-info small {
    color: #666;
    font-size: 0.85rem;
}

/* Tabla de cronograma mejorada */
.table th {
    background: linear-gradient(135deg, #2c5e3e, #4a8c5d);
    color: white;
    font-weight: 600;
    border: none;
}

.table td {
    vertical-align: middle;
}

/* Cards informativas */
.card.bg-light {
    border-left: 4px solid #f5a623;
    transition: transform 0.3s;
}

.card.bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Lista de metas */
.list-group-item {
    border: none;
    padding: 10px 15px;
    position: relative;
}

.list-group-item::before {
    content: "✓";
    color: #4a8c5d;
    font-weight: bold;
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .project-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}
