* { box-sizing: border-box; }
body { margin: 0; }

.barra-superior {
    background: #ffffff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.marca { font-size: 1.15rem; font-weight: 700; color: #0369a1; }
.badge { padding: 3px 10px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.badge-admin { background: #e0f2fe; color: #0369a1; }
.btn-cerrar-sesion { color: #64748b; text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.btn-cerrar-sesion:hover { color: #dc2626; }

.contenedor { max-width: 98%; margin: 20px auto; padding: 0 20px; }

.cabecera-lista { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.formulario-busqueda { display: flex; gap: 8px; align-items: center; }
.formulario-busqueda input[type="text"] { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px; min-width: 320px; }

.boton { padding: 8px 16px; border-radius: 6px; border: none; font-weight: 600; font-size: 0.85rem; cursor: pointer; text-decoration: none; display: inline-block; }
.boton-primario { background: #0284c7; color: #fff; }
.boton-secundario { background: #e2e8f0; color: #334155; }
.boton-texto { background: none; color: #64748b; }

.estado-vacio { background: #fff; padding: 40px; text-align: center; border-radius: 10px; color: #64748b; }

.tabla-proyectos { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 10px; }

.tabla-proyectos th, .tabla-proyectos td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef2f7; font-size: 0.85rem; }
.tabla-proyectos th { background: #f1f5f9; color: #334155; font-weight: 700; }
.tabla-proyectos tr:hover { background: #f8fafc; }

.pastilla { background: #e0f2fe; color: #0369a1; padding: 3px 10px; border-radius: 8px; font-size: 0.78rem; font-weight: 700; }

.col-acciones { display: flex; gap: 10px; }
.enlace-accion { color: #0284c7; text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.enlace-peligro { color: #dc2626; }
.enlace-accion:hover { text-decoration: underline; }

.contenedor-mensaje { max-width: 420px; margin: 60px auto; background: #fff; padding: 2rem; border-radius: 12px; text-align: center; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
