@font-face {
    font-family: Inter;
    src: url('../vendor/webfonts/inter-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

[hidden] { display: none !important; }

.acceso-pendiente > :is(.sidebar, .topbar, .main-content) { visibility: hidden; }

.dialog-gestion {
    width: min(420px, calc(100% - 32px));
    margin: auto;
    padding: 24px;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}
.dialog-gestion::backdrop { background: rgb(5 13 25 / 68%); }

.form-group label { overflow-wrap: anywhere; }
.acciones-gestion { white-space: nowrap; }
.acciones-gestion .btn { min-height: 32px; margin: 2px 2px 2px 0; }
.btn.texto-peligro, .texto-peligro { color: var(--danger); }
.btn:disabled { cursor: default; opacity: .58; }
.texto-secundario, .estado-action1 { color: var(--text-sub); font-size: .83rem; }
.texto-secundario { margin: 8px 0 14px; }
.estado-action1 { padding: 0 0 6px; }

.software-busqueda {
    min-width: 0;
    max-width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 8px;
    background: var(--bg-card);
    color: var(--text-main);
}
.dash-tabla-software { overflow: auto; }
.dash-tabla-software table { min-width: 0; font-size: .82rem; }
.dash-tabla-software :is(th, td) { padding: 6px 8px; }
.dash-tabla-software td:first-child { min-width: 106px; overflow-wrap: anywhere; }
.detalle-software-equipo p { margin: 8px 0; }
.detalle-software-equipo ul { margin: 8px 0 12px; padding-left: 22px; max-height: 250px; overflow: auto; }
.detalle-software-equipo h4 { margin-top: 16px; }
.asignacion-fila { margin-bottom: 7px; }
.asignacion-fila button { margin-left: 8px; }

.req-encabezado, .req-filtros { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.req-encabezado { justify-content: space-between; margin-bottom: 14px; }
.req-encabezado .module-title { margin: 0; }
.req-filtros { margin-bottom: 14px; }
.req-filtros .module-search { flex: 1 1 220px; }
.req-filtros select { width: auto; min-width: 145px; }
.req-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-main);
}
.req-dialog::backdrop { background: rgb(6 11 22 / .72); }
.req-dialog h2 { margin: 0 0 16px; }
.req-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.req-campos dt, .req-dialog small { color: var(--text-sub); }
.req-campos dd { margin: 4px 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.req-botones { justify-content: flex-end; margin-top: 12px; }
#req-detalle-imagen { max-width: 100%; max-height: 280px; object-fit: contain; border-radius: 8px; }
#req-aviso:not([hidden]) { margin: 0 0 12px; }
#req-quitar-imagen:not([hidden]) { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
#req-quitar-imagen input { width: auto; }
@media (max-width: 480px) { .req-campos { grid-template-columns: 1fr; } }
