/*
 * Ruta: /s-internos/notificador/recursos/css/notificador.css
 * Archivo: notificador.css
 * Descripción: Complementos propios del Tablero Notificador. La apariencia base viene de
 * /s-internos/aprendizaje/recursos/css/aprendizaje.css; aquí solo va lo que esa hoja no tiene.
 *
 * Bitácora de cambios:
 * - 2026-11-09: Creación del archivo.
 */

/* Encabezados ordenables */
.apr-tabla thead th[aria-sort] { padding: 0; }
.not-orden {
    display: flex; align-items: center; gap: .4rem; width: 100%; padding: .3rem; border: 0; background: transparent;
    color: inherit; font: inherit; white-space: nowrap; cursor: pointer;
}
.not-orden i { opacity: .55; font-size: .8em; }
.not-orden:hover { background: rgba(255, 255, 255, .12); }
.not-orden:hover i, th[aria-sort="ascending"] .not-orden i, th[aria-sort="descending"] .not-orden i { opacity: 1; color: var(--apr-arena); }
.not-orden:focus-visible { outline-offset: -3px; }

/* Celdas */
.not-numero { font-family: Consolas, "Courier New", monospace; font-size: .86rem; font-weight: 700; white-space: nowrap; color: var(--apr-guinda); }
.not-fecha { min-width: 13rem; font-size: .9rem; }
.not-texto { min-width: 14rem; overflow-wrap: anywhere; }
#cuerpo-tabla .apr-acciones-fila { flex-wrap: nowrap; }
#cuerpo-tabla .btn { white-space: nowrap; }
.not-nueva { margin-left: .4rem; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
.apr-tabla mark { background: #ffe08a; color: inherit; padding: 0 .12rem; border-radius: 3px; box-shadow: 0 0 0 1px rgba(105, 27, 49, .35); }

/* Carga de la tabla: filas de esqueleto la primera vez, atenuado en las siguientes */
#cuerpo-tabla { transition: opacity .2s; }
#cuerpo-tabla.not-cargando { opacity: .5; }
.not-esqueleto span {
    display: block; height: .9rem; border-radius: 4px;
    background: linear-gradient(90deg, #eee7da 25%, #f8f3ea 50%, #eee7da 75%); background-size: 200% 100%;
    animation: not-brillo 1.3s linear infinite;
}
@keyframes not-brillo { to { background-position: -200% 0; } }

/* Aparición de filas y realce del registro recién creado */
.not-fila-entra { animation: not-entra .3s ease-out backwards; }
@keyframes not-entra { from { opacity: 0; transform: translateY(6px); } }
.not-fila-nueva td { animation: not-realce 3s ease-out; }
@keyframes not-realce { 0%, 40% { background: var(--apr-arena); } }

/* Archivo elegido en la zona de arrastre */
.not-archivo {
    display: flex; align-items: center; gap: .6rem; margin: .75rem 0 0; padding: .55rem .9rem; border-radius: 10px;
    background: #faf6ee; border: 1px solid var(--apr-dorado); font-weight: 600; color: var(--apr-guinda); overflow-wrap: anywhere;
}
.not-archivo > i { color: var(--apr-carmin); font-size: 1.3rem; }

/* Visor de PDF: el indicador queda detrás del documento y este lo cubre al cargar */
.not-visor { position: relative; display: flex; align-items: center; justify-content: center; height: 78vh; background: #5d5d60; }
.not-visor iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.apr-dialogo-encabezado .btn-apr-sec { background: #fff; }
.apr-dialogo-encabezado .apr-acciones-fila { flex-wrap: nowrap; }

@media (max-width: 575.98px) {
    .apr-dialogo-encabezado { flex-wrap: wrap; }
    .not-visor { height: 70vh; }
}
