body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e6e5e3;
    color: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contenedor-dashboard {
    max-width: 80%;
    padding: 60px 20px;
    flex: 1;
    margin: 0 auto;
    width: 100%;
}

.titulo-principal {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.grid-estadisticas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card-estadistica {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.etiqueta-estadistica {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.valor-estadistica {
    font-size: 2rem;
    font-weight: 700;
}

.caja-icono {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fondo-azul { background-color: #eff6ff; }
.fondo-verde { background-color: #f0fdf4; }
.fondo-morado { background-color: #faf5ff; }

.barra-acciones {
    margin-bottom: 25px;
}

.btn-primario {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-primario:hover {
    background-color: #1d4ed8;
}

.contenedor-tabla {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.titulo-tabla {
    padding: 20px 24px;
    font-size: 1.1rem;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.tabla-proyectos {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tabla-proyectos th {
    background-color: #fafafa;
    padding: 12px 24px;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tabla-proyectos td {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.insignia-estado {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.activo { 
    background: #dcfce7; 
    color: #166534; 
}

.pausado { 
    background: #fef9c3; 
    color: #854d0e; 
}

.completado { 
    background: #dbeafe; 
    color: #1e40af; 
}

.acciones {
    display: flex;
    gap: 10px;
}

.btn-icono {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 1.1rem;
    padding: 4px;
    transition: color 0.2s;
}

.btn-icono:hover {
    color: #1e293b;
}