.talleres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.taller-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.taller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #3a6ea5;
    color: white;
}

.taller-nombre {
    margin: 0;
    font-size: 18px;
    color: white;
}

.taller-estado {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Estados de los talleres */
.consolidado {
    background-color: #28a745;
    color: white;
}

.proyecto {
    background-color: #ffc107;
    color: #333;
}

.activo {
    background-color: #17a2b8;
    color: white;
}

.inactivo {
    background-color: #6c757d;
    color: white;
}

.en-desarrollo {
    background-color: #fd7e14;
    color: white;
}

.taller-estado-usuario {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.taller-descripcion {
    padding: 15px 20px;
}

.taller-descripcion p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.taller-acciones {
    padding: 15px 20px;
    text-align: center;
}

.taller-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.solicitar-inscripcion {
    background-color: #28a745;
    color: white;
}

.solicitar-inscripcion:hover {
    background-color: #218838;
}

.cancelar-solicitud {
    background-color: #ffc107;
    color: #333;
}

.cancelar-solicitud:hover {
    background-color: #e0a800;
}

.solicitar-baja {
    background-color: #dc3545;
    color: white;
}

.solicitar-baja:hover {
    background-color: #c82333;
}

.talleres-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #dc3545;
    text-align: center;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .talleres-grid {
        grid-template-columns: 1fr;
    }
    
    .taller-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .taller-estado {
        align-self: center;
    }
}