/* _content/LegalMeet.BlazorApp/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-715d4vak2h] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-715d4vak2h] {
    flex: 1;
}

.sidebar[b-715d4vak2h] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-715d4vak2h] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-715d4vak2h]  a, .top-row[b-715d4vak2h]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-715d4vak2h]  a:hover, .top-row[b-715d4vak2h]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-715d4vak2h]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-715d4vak2h] {
        justify-content: space-between;
    }

    .top-row[b-715d4vak2h]  a, .top-row[b-715d4vak2h]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-715d4vak2h] {
        flex-direction: row;
    }

    .sidebar[b-715d4vak2h] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-715d4vak2h] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-715d4vak2h]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-715d4vak2h], article[b-715d4vak2h] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-715d4vak2h] {
    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-715d4vak2h] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/LegalMeet.BlazorApp/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3oc2yzlz3y] {
    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-3oc2yzlz3y] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-3oc2yzlz3y] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-3oc2yzlz3y] {
    font-size: 1.1rem;
}

.bi[b-3oc2yzlz3y] {
    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-3oc2yzlz3y] {
    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-3oc2yzlz3y] {
    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-3oc2yzlz3y] {
    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-3oc2yzlz3y] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3oc2yzlz3y] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3oc2yzlz3y] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3oc2yzlz3y]  .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-3oc2yzlz3y]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-3oc2yzlz3y]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-3oc2yzlz3y] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-3oc2yzlz3y] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-3oc2yzlz3y] {
        display: none;
    }

    .nav-scrollable[b-3oc2yzlz3y] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/LegalMeet.BlazorApp/Components/Pages/Cases/CasesIndex.razor.rz.scp.css */

.cases-page[b-tctkycqjs5] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cases-toolbar[b-tctkycqjs5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.cases-search[b-tctkycqjs5] {
    flex: 1;
    background: #fff;
    border: 1px solid #d9dee3;
    border-radius: 4px;
    padding: .55rem .75rem;
    font-size: .85rem;
}

.toolbar-right[b-tctkycqjs5] {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.status-filter[b-tctkycqjs5] {
    background: #fff;
    border: 1px solid #d9dee3;
    border-radius: 4px;
    padding: .45rem .6rem;
    font-size: .75rem;
}

.btn-new-case[b-tctkycqjs5] {
    background: #336799;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: .55rem .9rem;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-new-case:hover[b-tctkycqjs5] { background: #285075; }

.cases-content[b-tctkycqjs5] {
    /*display: grid;*/
    grid-template-columns: 1fr 340px;
    gap: 1.25rem;
    align-items: start;
}

.cases-list-area[b-tctkycqjs5] { display: flex; flex-direction: column; gap: .9rem; }
.case-details-wrapper[b-tctkycqjs5] { position: sticky; top: 0; }
.case-details-panel[b-tctkycqjs5] { background: #fff; border: 1px solid #e4e6e9; border-radius: 6px; padding: 1rem 1.1rem 1.4rem; min-height: 400px; }
.case-details-empty[b-tctkycqjs5] { text-align: center; padding: 3rem 1rem; color: #666; font-size: .8rem; }

.details-header[b-tctkycqjs5] { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.details-header h4[b-tctkycqjs5] { font-size: .85rem; margin: 0; font-weight: 600; }

.close-btn[b-tctkycqjs5] { background: none; border: none; font-size: 1rem; line-height: 1; cursor: pointer; color: #666; }

.details-tabs[b-tctkycqjs5] { display: flex; gap: 1rem; border-bottom: 1px solid #e1e4e8; margin: 0 -.5rem .9rem; padding: 0 .5rem; }
.details-tab[b-tctkycqjs5] { background: none; border: none; padding: .55rem 0; font-size: .65rem; font-weight: 600; cursor: pointer; position: relative; color: #555; }
.details-tab.active[b-tctkycqjs5] { color: #336799; }
.details-tab.active[b-tctkycqjs5]::after { content: ""; position: absolute; left:0; right:0; bottom:0; height:2px; background:#336799; border-radius: 2px 2px 0 0; }

.details-body[b-tctkycqjs5] { font-size: .7rem; }
.details-title[b-tctkycqjs5] { font-size: .8rem; font-weight: 600; margin: 0 0 .4rem; }
.badge-line[b-tctkycqjs5] { margin-bottom: .8rem; }

.field-grid[b-tctkycqjs5] { display: grid; grid-template-columns: repeat(2,1fr); gap: .8rem .9rem; margin-bottom: 1rem; }
.fg-item label[b-tctkycqjs5] { font-size: .55rem; text-transform: uppercase; letter-spacing: .5px; color: #6d7782; font-weight: 600; display: block; margin-bottom: .25rem; }
.fg-item .value[b-tctkycqjs5] { font-size: .7rem; color: #222; }
.fg-item.full-row[b-tctkycqjs5] { grid-column: 1 / -1; }
.tags-line[b-tctkycqjs5] { display: flex; gap: .35rem; flex-wrap: wrap; }

.btn-edit-case[b-tctkycqjs5] { width: 100%; background: #fff; border: 1px solid #336799; color: #336799; font-size: .7rem; padding: .55rem .75rem; font-weight: 600; border-radius: 4px; cursor: pointer; }
.btn-edit-case:hover[b-tctkycqjs5] { background: #336799; color: #fff; }

.placeholder[b-tctkycqjs5] { padding: .5rem 0; font-size: .7rem; color: #555; }

@media (max-width: 1050px) {
    .cases-content[b-tctkycqjs5] { grid-template-columns: 1fr; }
    .case-details-wrapper[b-tctkycqjs5] { position: static; }
}
/* _content/LegalMeet.BlazorApp/Components/Pages/Cases/Components/CaseAudio.razor.rz.scp.css */
.audio-cards[b-jurb3o963z] {
    display: flex;
    flex-direction: column;
    
}

.audio-card-body[b-jurb3o963z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: .9rem;*/
    min-width: 0;
}

.audio-left[b-jurb3o963z] {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    flex: 1;
    cursor: pointer;
}

.audio-icon[b-jurb3o963z] {
    width: 30px;
    height: 30px;
    background: #e3edff;
    color: #1d5282;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}

.audio-text[b-jurb3o963z] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.audio-file[b-jurb3o963z] {
    font-weight: 600;
    font-size: .72rem;
    color: #1d2227;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.audio-sub[b-jurb3o963z] {
    font-size: .6rem;
    color: #6d7782;
}

.audio-actions[b-jurb3o963z] {
    display: flex;
    gap: .4rem;
    flex-shrink: 0;
}

.audio-inline-player[b-jurb3o963z]{
    width:100%;
}
/* _content/LegalMeet.BlazorApp/Components/Pages/Cases/Components/CaseRowView.razor.rz.scp.css */
.case-card[b-wmqqet1jem] {
    background: #fff;
    border: 1px solid #e4e6e9;
    border-radius: 6px;
    padding: .95rem 1.1rem .85rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow .15s, border-color .15s;
}

    .case-card:hover[b-wmqqet1jem] {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .case-card.selected[b-wmqqet1jem] {
        border-color: #336799;
        box-shadow: 0 0 0 2px rgba(51,103,153,.15);
    }

.case-card-header[b-wmqqet1jem] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-title[b-wmqqet1jem] {
    font-size: .9rem;
    font-weight: 600;
}

.case-arrow[b-wmqqet1jem] {
    font-size: .9rem;
    color: #9aa0a6;
}

.case-badges-row[b-wmqqet1jem] {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.case-description[b-wmqqet1jem] {
    margin: 0;
    font-size: .7rem;
    line-height: 1.2rem;
    color: #2f3842;
}

.case-meta[b-wmqqet1jem] {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    font-size: .65rem;
    color: #555;
}

.meta-item[b-wmqqet1jem] {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.mi-icon[b-wmqqet1jem] {
    opacity: .7;
}

.badge[b-wmqqet1jem] {
    font-size: .6rem;
    border-radius: 20px;
    padding: .2rem .55rem;
    font-weight: 600;
    display: inline-block;
}
/* _content/LegalMeet.BlazorApp/Components/Pages/Cases/Components/CaseViewer.razor.rz.scp.css */
.files-container[b-kxz608pj9g] {
    max-height: 650px;
    overflow-y: auto;
    /* padding-right: 8px; */
}

/* Contenedor principal del panel (el panel externo ya define padding) */
.details-header[b-kxz608pj9g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .15rem 0 .4rem;
}

    .details-header h4[b-kxz608pj9g] {
        margin: 0;
        font-size: .9rem;
        font-weight: 600;
    }

/* ---------- Información del caso ---------- */
.info-section[b-kxz608pj9g] {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    font-size: .7rem;
}

.details-title[b-kxz608pj9g] {
    font-size: .8rem;
    font-weight: 600;
    margin: 0;
}

.badge-line[b-kxz608pj9g] {
    margin-top: .2rem;
}

.badge[b-kxz608pj9g] {
    font-size: .6rem;
    font-weight: 600;
    padding: .28rem .65rem .25rem;
    border-radius: 14px;
    display: inline-block;
    line-height: 1;
}

/* ---------- Grid de campos ---------- */
.field-grid[b-kxz608pj9g] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.4rem;
}

.fg-item[b-kxz608pj9g] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

    .fg-item label[b-kxz608pj9g] {
        font-size: .6rem;
    }

/* ---------- Botón Editar Caso ---------- */
.btn-edit-case[b-kxz608pj9g] {
    width: 100%;
    background: #fff;
    border: 1px solid #1d5282;
    color: #1d5282;
    font-size: .7rem;
    font-weight: 600;
    padding: .6rem .9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    box-shadow: 0 0 0 0 rgba(29,82,130,0);
    justify-content: center;
}

.btn-edit-case:hover[b-kxz608pj9g] {
    background: #1d5282;
    color: #fff;
}

.btn-edit-case:active[b-kxz608pj9g] {
    background: #174264;
    border-color: #174264;
}

.btn-edit-case.:focus-visible[b-kxz608pj9g] {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(29,82,130,.55);
}

/* Contenedor Documents */
.docs-container[b-kxz608pj9g] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.docs-header[b-kxz608pj9g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .2rem;
}

.docs-title[b-kxz608pj9g] {
    font-weight: 600;
    font-size: .72rem;
}

/* ====== AUDIOS ====== */
.audios-container[b-kxz608pj9g] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.audios-header[b-kxz608pj9g] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
}

.audios-title[b-kxz608pj9g] {
    font-weight: 600;
    font-size: .72rem;
}

.audios-empty[b-kxz608pj9g] {
    padding: 1rem .6rem;
    font-size: .65rem;
    color: #666;
    background: #f5f7fa;
    border: 1px dashed #d5dae0;
    border-radius: 6px;
    text-align: center;
}


/* _content/LegalMeet.BlazorApp/Components/Pages/Home.razor.rz.scp.css */
.i2-bd-primary[b-y5m8f1buxs] {
    background-color: var(--rz-primary) !important;
}
/* _content/LegalMeet.BlazorApp/Components/Shared/CaseChatCtrl.razor.rz.scp.css */
.chat-outer[b-rrwjnkm3qw] {
    display: flex;
    flex-direction: column;
    height: 650px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0.5rem;
}

.chat-history[b-rrwjnkm3qw] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.chat-bubble[b-rrwjnkm3qw] {
    max-width: 80%;
    margin-bottom: 12px;
    padding: 10px 16px;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    word-break: break-word;
}

    .chat-bubble.user[b-rrwjnkm3qw] {
        background: #e3f2fd;
        align-self: flex-end;
        margin-left: auto;
    }

    .chat-bubble.ai[b-rrwjnkm3qw] {
        background: #f1f8e9;
        align-self: flex-start;
        margin-right: auto;
    }

.chat-meta[b-rrwjnkm3qw] {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
}

.chat-content[b-rrwjnkm3qw] {
    font-size: 1em;
    color: #333;
}

.chat-input-row[b-rrwjnkm3qw] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.chat-empty[b-rrwjnkm3qw] {
    text-align: center;
    color: #aaa;
    margin-top: 2rem;
}
/* _content/LegalMeet.BlazorApp/Components/Shared/TagEditor.razor.rz.scp.css */
.tag-editor[b-rzj3sq5zwg] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tag-list[b-rzj3sq5zwg] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item[b-rzj3sq5zwg] {
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 16px;
    padding: 0.25rem 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: background 0.2s;
}

    .tag-item:hover[b-rzj3sq5zwg] {
        background: #bbdefb;
    }

.tag-remove[b-rzj3sq5zwg] {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

    .tag-remove:hover[b-rzj3sq5zwg] {
        color: #d32f2f;
    }

.tag-input[b-rzj3sq5zwg] {
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    width: 200px;
    margin-right: 0.5rem;
}

.tag-add[b-rzj3sq5zwg] {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

    .tag-add:hover[b-rzj3sq5zwg] {
        background: #1565c0;
    }
