/* /Components/Admin/Attachments/AttachmentBubble.razor.rz.scp.css */
.att-bubble[b-iqesybftm4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 320px;
    margin-top: 6px;
}

.att-item[b-iqesybftm4], .att-other[b-iqesybftm4], .att-doc[b-iqesybftm4] {
    padding: 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .06);
    display: flex;
    gap: 8px;
    align-items: center;
}

.att-thumbnail[b-iqesybftm4] {
    max-width: 100%;
    max-height: 260px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
}

.att-spinner[b-iqesybftm4] {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #84cc16;
    border-radius: 50%;
    animation: att-spin 1s linear infinite;
    flex-shrink: 0;
}

@@keyframes att-spin {
    to[b-iqesybftm4] { transform: rotate(360deg); }
}

.att-failed[b-iqesybftm4] {
    color: #b91c1c;
    cursor: help;
}

.att-expired[b-iqesybftm4] {
    opacity: .6;
    font-style: italic;
}

.att-icon[b-iqesybftm4] {
    font-size: 24px;
    flex-shrink: 0;
}

.att-doc-badge-inline[b-iqesybftm4] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .5px;
    border-radius: 6px;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.15);
    -webkit-user-select: none;
    user-select: none;
}

.att-filename[b-iqesybftm4] {
    font-weight: 600;
    font-size: 13px;
    word-break: break-word;
}

.att-size[b-iqesybftm4] {
    font-size: 11px;
    opacity: .7;
}

.att-doc[b-iqesybftm4] {
    cursor: pointer;
}

.att-doc:hover[b-iqesybftm4] {
    background: rgba(0, 0, 0, .1);
}

.att-video[b-iqesybftm4] {
    max-width: 100%;
    max-height: 260px;
    border-radius: 6px;
}

.att-bubble audio[b-iqesybftm4] {
    max-width: 100%;
}

.att-caption[b-iqesybftm4] {
    font-size: 13px;
    padding: 4px 8px;
    color: inherit;
}

.att-label[b-iqesybftm4] {
    font-size: 13px;
}

.att-meta[b-iqesybftm4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
/* /Components/Admin/Attachments/AttachmentCard.razor.rz.scp.css */
.att-card[b-si846g65o1] {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
}

.att-card-header[b-si846g65o1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.att-card-title[b-si846g65o1] {
    font-weight: 600;
    font-size: 13px;
}

.att-card-viewall[b-si846g65o1] {
    background: transparent;
    border: none;
    color: #84cc16;
    font-size: 12px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
}

.att-card-viewall:hover[b-si846g65o1] {
    background: rgba(132, 204, 22, .1);
}

.att-card-grid[b-si846g65o1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
/* /Components/Admin/Attachments/AttachmentDrawer.razor.rz.scp.css */
.att-drawer-backdrop[b-zk72w3ikop] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9000;
    display: flex;
    justify-content: flex-end;
    animation: att-fadein-b-zk72w3ikop 150ms ease;
}

@keyframes att-fadein-b-zk72w3ikop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.att-drawer-panel[b-zk72w3ikop] {
    width: 62%;
    max-width: 900px;
    height: 100vh;
    background: #1e293b;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .5);
    animation: att-slidein-b-zk72w3ikop 180ms ease-out;
}

@keyframes att-slidein-b-zk72w3ikop {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.att-drawer-header[b-zk72w3ikop] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #111827;
}

.att-drawer-title[b-zk72w3ikop] {
    font-weight: 600;
    font-size: 15px;
}

.att-drawer-close[b-zk72w3ikop] {
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
}

.att-drawer-close:hover[b-zk72w3ikop] {
    background: rgba(255, 255, 255, .1);
}

.att-drawer-body[b-zk72w3ikop] {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
}

.att-drawer-empty[b-zk72w3ikop] {
    text-align: center;
    color: #94a3b8;
    padding: 40px 20px;
    font-style: italic;
}

.att-drawer-grid[b-zk72w3ikop] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

/* ── Embedded variant (sin overlay modal) ── */
.att-drawer-embedded[b-zk72w3ikop] {
    display: flex;
    flex-direction: column;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.att-drawer-embedded .att-drawer-body[b-zk72w3ikop] {
    max-height: 70vh;
}

/* ── Uploader row (Feature 3) ── */
.att-drawer-uploader-row[b-zk72w3ikop] {
    padding: 10px 14px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    justify-content: flex-start;
}

/* ── Filtros ── */
.att-drawer-filters[b-zk72w3ikop] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.att-filter-row[b-zk72w3ikop] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.att-filter-row--session[b-zk72w3ikop] {
    align-items: center;
}

.att-filter-label[b-zk72w3ikop] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #94a3b8;
    min-width: 60px;
}

.att-filter-select[b-zk72w3ikop],
.att-filter-date[b-zk72w3ikop] {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    min-height: 32px;
    outline: none;
}

.att-filter-select:focus[b-zk72w3ikop],
.att-filter-date:focus[b-zk72w3ikop] {
    border-color: #3b82f6;
}

.att-filter-select[b-zk72w3ikop] {
    min-width: 140px;
    flex: 1 1 140px;
}

.att-filter-select--wide[b-zk72w3ikop] {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 13px;
}

.att-filter-date[b-zk72w3ikop] {
    min-width: 150px;
    color-scheme: dark;
    flex: 0 0 auto;
}

.att-filter-btn[b-zk72w3ikop] {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
    min-height: 32px;
    white-space: nowrap;
}

.att-filter-btn:hover:not(:disabled)[b-zk72w3ikop] {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .3);
}

.att-filter-btn:disabled[b-zk72w3ikop] {
    opacity: .4;
    cursor: not-allowed;
}

.att-filter-btn--ghost[b-zk72w3ikop] {
    color: #f87171;
    border-color: rgba(248, 113, 113, .35);
}

.att-filter-btn--ghost:hover:not(:disabled)[b-zk72w3ikop] {
    background: rgba(248, 113, 113, .08);
    border-color: rgba(248, 113, 113, .6);
}

.att-filter-btn--select[b-zk72w3ikop] {
    margin-left: auto;
}

.att-filter-btn--active[b-zk72w3ikop] {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.att-filter-btn--active:hover[b-zk72w3ikop] {
    background: #2563eb;
    border-color: #2563eb;
}

/* ── Barra inferior selección ── */
.att-drawer-selectbar[b-zk72w3ikop] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .3);
}

.att-select-info[b-zk72w3ikop] {
    font-size: 13px;
    color: #e2e8f0;
}

.att-select-warn[b-zk72w3ikop] {
    color: #f59e0b;
    font-size: 12px;
    margin-left: 4px;
}

.att-select-actions[b-zk72w3ikop] {
    display: flex;
    gap: 8px;
}

.att-btn[b-zk72w3ikop] {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}

.att-btn:hover:not(:disabled)[b-zk72w3ikop] {
    background: rgba(255, 255, 255, .06);
}

.att-btn:disabled[b-zk72w3ikop] {
    opacity: .45;
    cursor: not-allowed;
}

.att-btn--primary[b-zk72w3ikop] {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.att-btn--primary:hover:not(:disabled)[b-zk72w3ikop] {
    background: #2563eb;
    border-color: #2563eb;
}

.att-btn--ghost[b-zk72w3ikop] {
    background: transparent;
    color: #cbd5e1;
}

/* ─── Slice 13c: búsqueda + orden + toggle vista ─── */
.att-filter-row--extras[b-zk72w3ikop] {
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.att-search-wrap[b-zk72w3ikop] {
    position: relative;
    flex: 1 1 260px;
    min-width: 200px;
}

.att-search-icon[b-zk72w3ikop] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 13px;
    pointer-events: none;
}

.att-search-input[b-zk72w3ikop] {
    width: 100%;
    background: rgba(15, 23, 42, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    padding: 7px 30px 7px 30px;
    color: #e2e8f0;
    font-size: 13px;
    outline: none;
    transition: border-color 120ms ease, background 120ms ease;
}

.att-search-input[b-zk72w3ikop]::placeholder {
    color: #64748b;
}

.att-search-input:focus[b-zk72w3ikop] {
    border-color: rgba(96, 165, 250, .55);
    background: rgba(15, 23, 42, .7);
}

.att-search-clear[b-zk72w3ikop] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
}

.att-search-clear:hover[b-zk72w3ikop] {
    background: rgba(255, 255, 255, .08);
    color: #f8fafc;
}

.att-filter-select--sort[b-zk72w3ikop] {
    min-width: 180px;
}

.att-view-toggle[b-zk72w3ikop] {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    overflow: hidden;
}

.att-view-btn[b-zk72w3ikop] {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 120ms ease, color 120ms ease;
}

.att-view-btn + .att-view-btn[b-zk72w3ikop] {
    border-left: 1px solid rgba(255, 255, 255, .08);
}

.att-view-btn:hover[b-zk72w3ikop] {
    background: rgba(255, 255, 255, .05);
    color: #e2e8f0;
}

.att-view-btn--active[b-zk72w3ikop] {
    background: rgba(96, 165, 250, .16);
    color: #60a5fa;
}

/* Vista lista — stack vertical a ancho completo */
.att-drawer-list[b-zk72w3ikop] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
}

.att-drawer-list[b-zk72w3ikop]  .att-item-extended {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 56px;
}
/* /Components/Admin/Attachments/AttachmentItem.razor.rz.scp.css */
.att-item-wrapper[b-kr5myys4lv] {
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 120ms ease, box-shadow 120ms ease;
    position: relative;
}

.att-item-wrapper:hover[b-kr5myys4lv] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.att-item-compact[b-kr5myys4lv] {
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, .05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.att-item-extended[b-kr5myys4lv] {
    width: 100%;
    background: rgba(30, 41, 59, .55);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    transition: background 140ms ease, border-color 140ms ease;
}

.att-item-extended:hover[b-kr5myys4lv] {
    background: rgba(30, 41, 59, .85);
    border-color: rgba(96, 165, 250, .35);
}

.att-item-selected[b-kr5myys4lv] {
    outline: 2px solid #84cc16;
}

.att-item-thumb[b-kr5myys4lv] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.att-item-compact .att-item-thumb[b-kr5myys4lv] {
    width: 100%;
    height: 100%;
}

.att-item-extended .att-item-thumb[b-kr5myys4lv] {
    width: 64px;
    height: 64px;
    background: rgba(15, 23, 42, .7);
    border-radius: 6px;
}

/* Slice 13d: iconos direccionales audio en drawer */
.att-audio-icon-in[b-kr5myys4lv] {
    color: #60a5fa;
    background: rgba(96, 165, 250, .18);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
}

.att-audio-icon-out[b-kr5myys4lv] {
    color: #34d399;
    background: rgba(52, 211, 153, .18);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 22px;
}

.att-item-thumb img[b-kr5myys4lv] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.att-icon-big[b-kr5myys4lv] {
    font-size: 28px;
    user-select: none;
}

.att-doc-badge[b-kr5myys4lv] {
    width: 100%;
    height: 100%;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .5px;
    border-radius: 4px;
    -webkit-user-select: none;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.15);
}

.att-item-extended .att-doc-badge[b-kr5myys4lv] {
    font-size: 16px;
    border-radius: 6px;
}

.att-item-meta[b-kr5myys4lv] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.att-item-name[b-kr5myys4lv] {
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.att-item-sub[b-kr5myys4lv] {
    font-size: 11px;
    opacity: .7;
}

.att-item-checkbox[b-kr5myys4lv] {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    z-index: 2;
    background: rgba(255, 255, 255, .85);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    cursor: pointer;
    accent-color: #84cc16;
}

.att-item--selection-mode[b-kr5myys4lv] {
    cursor: pointer;
}

.att-item--selection-mode:hover[b-kr5myys4lv] {
    box-shadow: 0 2px 10px rgba(132, 204, 22, .35);
}

.att-item--selected[b-kr5myys4lv] {
    outline: 2px solid #84cc16;
    outline-offset: -2px;
    position: relative;
}

.att-item--selected[b-kr5myys4lv]::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(132, 204, 22, .12);
    pointer-events: none;
    border-radius: inherit;
}

/* Badge 'Sesión eliminada' — attachment que sobrevive al borrado de su sesión. */
.att-session-deleted-badge[b-kr5myys4lv] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.70rem;
    font-weight: 500;
    color: #fbbf24;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .3);
    border-radius: 10px;
    white-space: nowrap;
}

.att-session-deleted-badge i[b-kr5myys4lv] {
    font-size: 0.75rem;
}

/* Punto discreto en modo compacto (cuando no hay espacio para texto). */
.att-session-deleted-dot[b-kr5myys4lv] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    background: rgba(0, 0, 0, .55);
    border-radius: 50%;
    font-size: 0.65rem;
    pointer-events: auto;
    z-index: 2;
}

/* /Components/Admin/Attachments/AttachmentLightbox.razor.rz.scp.css */
.lightbox-backdrop[b-76r0tcylw4] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content[b-76r0tcylw4] {
    background: #111;
    color: white;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

.lightbox-header[b-76r0tcylw4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #000;
    border-bottom: 1px solid #222;
}

.lightbox-title[b-76r0tcylw4] {
    font-weight: 600;
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-actions[b-76r0tcylw4] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lightbox-btn[b-76r0tcylw4] {
    background: #222;
    color: white;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    font-family: inherit;
}

.lightbox-btn:hover[b-76r0tcylw4] {
    background: #2e2e2e;
}

.lightbox-body[b-76r0tcylw4] {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 200px;
    background: #0a0a0a;
}

.lightbox-body img[b-76r0tcylw4] {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.lightbox-iframe[b-76r0tcylw4] {
    width: 80vw;
    height: 75vh;
    background: white;
    border: 0;
}

.lightbox-body video[b-76r0tcylw4],
.lightbox-body audio[b-76r0tcylw4] {
    max-width: 100%;
    max-height: 75vh;
}

.lightbox-fallback[b-76r0tcylw4] {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lightbox-fallback a[b-76r0tcylw4] {
    color: #84cc16;
    text-decoration: underline;
}

/* ─── Slice 13c: lightbox audio 2 columnas ─── */
.lightbox-content--audio[b-76r0tcylw4] {
    width: 860px;
    max-width: 92vw;
}

.lightbox-content--audio .lightbox-body[b-76r0tcylw4] {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    min-height: 280px;
    background: #0f172a;
}

.lightbox-audio-layout[b-76r0tcylw4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}

.lightbox-audio-left[b-76r0tcylw4] {
    padding: 22px 20px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #111827;
}

.lightbox-audio-title[b-76r0tcylw4] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.lightbox-audio-title i[b-76r0tcylw4] {
    color: #60a5fa;
    font-size: 18px;
}

.lightbox-audio-meta[b-76r0tcylw4] {
    color: #94a3b8;
    font-size: 12px;
}

.lightbox-audio-player[b-76r0tcylw4] {
    width: 100%;
    margin-top: 8px;
}

.lightbox-audio-right[b-76r0tcylw4] {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0f172a;
    max-height: 62vh;
    overflow-y: auto;
}

.lightbox-audio-panel-head[b-76r0tcylw4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lightbox-audio-panel-title[b-76r0tcylw4] {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.lightbox-audio-conf[b-76r0tcylw4] {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.lightbox-audio-text[b-76r0tcylw4] {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.55;
    padding: 10px 12px;
    border-left: 3px solid rgba(96, 165, 250, .55);
    background: rgba(15, 23, 42, .6);
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-word;
}

.lightbox-audio-empty[b-76r0tcylw4] {
    color: #64748b;
    font-size: 13px;
    font-style: italic;
    padding: 10px 0;
}

.lightbox-audio-actions[b-76r0tcylw4] {
    display: flex;
    justify-content: flex-end;
}

.lightbox-audio-copy[b-76r0tcylw4] {
    background: rgba(96, 165, 250, .12);
    border: 1px solid rgba(96, 165, 250, .3);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 120ms ease;
}

.lightbox-audio-copy:hover[b-76r0tcylw4] {
    background: rgba(96, 165, 250, .22);
}

@media (max-width: 720px) {
    .lightbox-audio-layout[b-76r0tcylw4] {
        grid-template-columns: 1fr;
    }
    .lightbox-audio-left[b-76r0tcylw4] {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
}
/* /Components/Admin/Attachments/AttachmentUploader.razor.rz.scp.css */
/* --- Botón clip + label --- */
.att-upload-wrap[b-kbyjh5g71a] {
    display: inline-flex;
    align-items: center;
}

.att-upload-btn[b-kbyjh5g71a] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #cbd5e1;
    cursor: pointer;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    font-size: 12px;
    transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

    .att-upload-btn:hover:not(:disabled)[b-kbyjh5g71a] {
        background: rgba(255, 255, 255, .06);
        color: #e2e8f0;
        border-color: rgba(255, 255, 255, .22);
    }

    .att-upload-btn:disabled[b-kbyjh5g71a] {
        opacity: .4;
        cursor: not-allowed;
    }

.att-upload-label[b-kbyjh5g71a] {
    font-weight: 500;
    white-space: nowrap;
}

/* --- Modal de confirmación --- */
.att-confirm-backdrop[b-kbyjh5g71a] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.att-confirm-panel[b-kbyjh5g71a] {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    min-width: 340px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.att-confirm-header[b-kbyjh5g71a] {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-weight: 600;
}

.att-confirm-body[b-kbyjh5g71a] {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.att-confirm-list[b-kbyjh5g71a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.att-confirm-preview[b-kbyjh5g71a] {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, .03);
    padding: 8px;
    border-radius: 6px;
    position: relative;
}

    .att-confirm-preview img[b-kbyjh5g71a] {
        max-width: 72px;
        max-height: 72px;
        border-radius: 4px;
        object-fit: cover;
    }

.att-confirm-remove[b-kbyjh5g71a] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 120ms ease, color 120ms ease;
}

    .att-confirm-remove:hover:not(:disabled)[b-kbyjh5g71a] {
        background: rgba(239, 68, 68, .2);
        color: #f87171;
    }

    .att-confirm-remove:disabled[b-kbyjh5g71a] {
        opacity: .4;
        cursor: not-allowed;
    }

.att-confirm-icon[b-kbyjh5g71a] {
    font-size: 32px;
    color: #94a3b8;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .04);
    border-radius: 4px;
}

.att-confirm-doc-badge[b-kbyjh5g71a] {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .5px;
    border-radius: 6px;
    -webkit-user-select: none;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 1px 2px rgba(0, 0, 0, .15);
    flex-shrink: 0;
}

.att-confirm-meta[b-kbyjh5g71a] {
    flex: 1;
    min-width: 0;
}

.att-confirm-name[b-kbyjh5g71a] {
    font-weight: 500;
    word-break: break-all;
}

.att-confirm-size[b-kbyjh5g71a] {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.att-confirm-caption[b-kbyjh5g71a] {
    width: 100%;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 13px;
    resize: vertical;
    min-height: 60px;
}

.att-confirm-footer[b-kbyjh5g71a] {
    padding: 12px 18px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #0f172a;
    border-radius: 0 0 8px 8px;
}

.att-btn[b-kbyjh5g71a] {
    padding: 7px 14px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 13px;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}

    .att-btn:disabled[b-kbyjh5g71a] {
        opacity: .5;
        cursor: not-allowed;
    }

.att-btn--ghost[b-kbyjh5g71a] {
    background: transparent;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, .15);
}

    .att-btn--ghost:hover:not(:disabled)[b-kbyjh5g71a] {
        background: rgba(255, 255, 255, .06);
    }

.att-btn--primary[b-kbyjh5g71a] {
    background: #2563eb;
    color: #fff;
}

    .att-btn--primary:hover:not(:disabled)[b-kbyjh5g71a] {
        background: #1d4ed8;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-dt44ukqpvl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-dt44ukqpvl] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-058afs5vqw] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-058afs5vqw] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-058afs5vqw] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-058afs5vqw] {
    font-size: 1.1rem;
}

.bi[b-058afs5vqw] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-058afs5vqw] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-058afs5vqw] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-058afs5vqw] {
        padding-bottom: 1rem;
    }

    .nav-item[b-058afs5vqw]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-058afs5vqw]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-058afs5vqw]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-058afs5vqw] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-058afs5vqw] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-058afs5vqw] {
        display: none;
    }

    .nav-scrollable[b-058afs5vqw] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.bi-person-lines-fill-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-lines-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5zm.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1h-4zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z'/%3E%3C/svg%3E");
}

.bi-shield-check-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-shield-check' viewBox='0 0 16 16'%3E%3Cpath d='M5.338 1.59a61.44 61.44 0 0 0-2.837.856.481.481 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.725 10.725 0 0 0 2.287 2.233c.346.244.652.42.893.533.12.057.218.095.293.118a.55.55 0 0 0 .101.025.615.615 0 0 0 .1-.025c.076-.023.174-.061.294-.118.24-.113.547-.29.893-.533a10.726 10.726 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.775 11.775 0 0 1-2.517 2.453c-.386.273-.744.482-1.048.625-.28.132-.581.24-.829.24s-.548-.108-.829-.24a12.482 12.482 0 0 1-1.048-.625 11.777 11.777 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 62.456 62.456 0 0 1 5.072.56z'/%3E%3Cpath d='M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.bi-hdd-network-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-hdd-network' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0'/%3E%3Cpath d='M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8.5v3a1.5 1.5 0 0 1 1.5 1.5h5.5a.5.5 0 0 1 0 1H10A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5H.5a.5.5 0 0 1 0-1H6A1.5 1.5 0 0 1 7.5 10V7H2a2 2 0 0 1-2-2zm1 0v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1m6 7.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5'/%3E%3C/svg%3E");
}

.bi-file-earmark-code-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-file-earmark-code' viewBox='0 0 16 16'%3E%3Cpath d='M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5z'/%3E%3Cpath d='M8.646 6.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 9 8.646 7.354a.5.5 0 0 1 0-.708m-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 9l1.647-1.646a.5.5 0 0 0 0-.708'/%3E%3C/svg%3E");
}

.bi-tools-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-tools' viewBox='0 0 16 16'%3E%3Cpath d='M1 0 0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.27 3.27a.997.997 0 0 0 1.414 0l1.586-1.586a.997.997 0 0 0 0-1.414l-3.27-3.27a1 1 0 0 0-1.023-.242L10.5 9.5l-.96-.96 2.68-2.643A3.005 3.005 0 0 0 16 3q0-.405-.102-.777l-2.14 2.141L12 4l-.364-1.757L13.777.102a3 3 0 0 0-3.675 3.68L7.462 6.46 4.793 3.793a1 1 0 0 1-.293-.707v-.071a1 1 0 0 0-.419-.814zm9.646 10.646a.5.5 0 0 1 .708 0l2.914 2.915a.5.5 0 0 1-.707.707l-2.915-2.914a.5.5 0 0 1 0-.708M3 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026z'/%3E%3C/svg%3E");
}

.bi-lightning-charge-nav-menu[b-058afs5vqw] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-lightning-charge' viewBox='0 0 16 16'%3E%3Cpath d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09zM4.157 8.5H7a.5.5 0 0 1 .478.647L6.11 13.59l5.732-6.09H9a.5.5 0 0 1-.478-.647L9.89 2.41z'/%3E%3C/svg%3E");
}
