/* _content/IxisGestion.Blazor.Server/Editors/FacturaGastoImportadaJsonEditor.razor.rz.scp.css */
/* NOTE: ::deep is a Blazor CSS isolation feature (not standard CSS). Some IDE analyzers report it as invalid. */
/* ReSharper disable CssInvalidPseudoSelector */
.ixis-json-editor-root[b-wsv4j673du] {
    width: 100%;
    /* Height is set inline via style attribute */
    min-height: 200px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.ixis-json-editor-splitter[b-wsv4j673du] {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

/* Force the DevExpress splitter panes to expand (DevExpress markup does not carry our CSS isolation scope). */
.ixis-json-editor-root[b-wsv4j673du]  .dxbl-splitter-pane {
    display: flex;
    flex-direction: column;
}

.ixis-json-editor-root[b-wsv4j673du]  .dxbl-splitter-pane-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ixis-json-editor-left[b-wsv4j673du],
.ixis-json-editor-right[b-wsv4j673du] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    background: rgba(255,255,255,0.6);
}

.ixis-json-editor-header[b-wsv4j673du] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ixis-json-editor-title[b-wsv4j673du] {
    font-weight: 600;
}

.ixis-json-editor-badge[b-wsv4j673du] {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
}

.ixis-json-editor-filename[b-wsv4j673du] {
    font-size: 12px;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ixis-json-editor-textarea[b-wsv4j673du] {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    resize: none;
    padding: 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.35;
    background: transparent;
}

.ixis-json-editor-frame[b-wsv4j673du] {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
}

/* While resizing the splitter, prevent the PDF iframe from swallowing pointerup events.
   This avoids the splitter getting "stuck" in a dragging state. */
.ixis-json-editor-root.ixis-json-editor-dragging .ixis-json-editor-frame[b-wsv4j673du],
.ixis-json-editor-root.ixis-json-editor-dragging .ixis-json-editor-image[b-wsv4j673du] {
    pointer-events: none;
}

.ixis-json-editor-image[b-wsv4j673du] {
    flex: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.ixis-json-editor-placeholder[b-wsv4j673du] {
    padding: 16px;
    opacity: 0.85;
}


/* _content/IxisGestion.Blazor.Server/ViewItems/FacturaGastoImportadaDetailSplitter.razor.rz.scp.css */
/* NOTE: ::deep is a Blazor CSS isolation feature (not standard CSS). Some IDE analyzers report it as invalid. */
/* ReSharper disable CssInvalidPseudoSelector */
.ixis-fgi-detail-split-root[b-evbcpenjzg] {
    width: 100%;
    /* Height is calculated dynamically via JavaScript to anchor bottom edge to viewport */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    /* Make the embedded JSON/PDF editor fill available space when hosted here. */
    --ixis-json-editor-height: 100%;
}

.ixis-fgi-detail-splitter[b-evbcpenjzg] {
    width: 100%;
    height: 100%;
}

.ixis-fgi-detail-pane[b-evbcpenjzg] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.ixis-fgi-detail-pane-body[b-evbcpenjzg] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0;
}

.ixis-fgi-detail-pane-header[b-evbcpenjzg] {
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ixis-fgi-detail-pane-bottom[b-evbcpenjzg] {
    padding-top: 4px;
}

/* DxTabs is a DevExpress component, so its rendered markup does NOT carry our CSS isolation scope attribute.
   Use ::deep to target it and ensure it stretches inside the splitter pane. */
.ixis-fgi-detail-pane-bottom[b-evbcpenjzg]  .ixis-fgi-detail-tabs {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* The content panel must grow and allow its children to shrink (min-height: 0). */
.ixis-fgi-detail-pane-bottom[b-evbcpenjzg]  .ixis-fgi-detail-tabs .dxbl-tabs-content-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

/* Active tab panel should also be a flex column that fills available space. */
.ixis-fgi-detail-pane-bottom[b-evbcpenjzg]  .ixis-fgi-detail-tabs .dxbl-tabs-content.dxbl-active {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.ixis-fgi-detail-tab-content[b-evbcpenjzg] {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ixis-fgi-detail-logs[b-evbcpenjzg] {
    gap: 12px;
}

.ixis-fgi-detail-logs-header[b-evbcpenjzg] {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.ixis-fgi-detail-logs-col[b-evbcpenjzg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

@media (max-width: 1024px) {
    .ixis-fgi-detail-logs-header[b-evbcpenjzg] {
        grid-template-columns: 1fr;
    }
}

.ixis-fgi-detail-log-block[b-evbcpenjzg] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    background: rgba(255,255,255,0.6);
}

.ixis-fgi-detail-log-title[b-evbcpenjzg] {
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ixis-fgi-detail-placeholder[b-evbcpenjzg] {
    padding: 12px;
    opacity: 0.85;
}

/* While resizing any splitter within this view, prevent iframes from swallowing pointerup events.
   This avoids the splitter getting "stuck" in a dragging state. */
.ixis-fgi-detail-split-root.ixis-fgi-detail-dragging[b-evbcpenjzg]  iframe,
.ixis-fgi-detail-split-root.ixis-fgi-detail-dragging[b-evbcpenjzg]  .ixis-json-editor-image {
    pointer-events: none;
}


