/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-tt06ll9n1b] {
    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-tt06ll9n1b] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-iu2vbhhost],
.components-reconnect-repeated-attempt-visible[b-iu2vbhhost],
.components-reconnect-failed-visible[b-iu2vbhhost],
.components-pause-visible[b-iu2vbhhost],
.components-resume-failed-visible[b-iu2vbhhost],
.components-rejoining-animation[b-iu2vbhhost] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-retrying[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-failed[b-iu2vbhhost],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-iu2vbhhost] {
    display: block;
}


#components-reconnect-modal[b-iu2vbhhost] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-iu2vbhhost 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-iu2vbhhost 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-iu2vbhhost 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-iu2vbhhost]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-iu2vbhhost 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-iu2vbhhost {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-iu2vbhhost {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-iu2vbhhost {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-iu2vbhhost] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-iu2vbhhost] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-iu2vbhhost] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-iu2vbhhost] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-iu2vbhhost] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-iu2vbhhost] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-iu2vbhhost] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-iu2vbhhost 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-iu2vbhhost] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-iu2vbhhost {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/MergePDF.razor.rz.scp.css */
/* ── Upload Area ───────────────────────────────────────── */
.upload-container[b-h933zf3irz] {
    display: block; /* <label> is inline by default; override it */
    cursor: pointer;
    border: 2px dashed #7c6dfa;
    border-radius: 12px;
    padding: 40px 20px;
    margin-bottom: 25px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s ease;
    user-select: none;
}

    .upload-container:hover[b-h933zf3irz] {
        border-color: #5548e8;
        background: #f0eeff;
    }

    .upload-container.drag-active[b-h933zf3irz] {
        border-color: #5548e8;
        background: #ede9fe;
        transform: scale(1.02);
    }

.upload-input[b-h933zf3irz] {
    display: none; /* hidden; <label> click activates it natively */
}

.upload-icon[b-h933zf3irz] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-h933zf3irz] {
    display: flex; /* <span> is inline by default — override so children stack */
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-h933zf3irz] {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-h933zf3irz] {
        font-size: 13px;
        color: #888;
    }

.upload-count[b-h933zf3irz] {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #7c6dfa;
    font-weight: 500;
}

/* ── File List ─────────────────────────────────────────── */
.file-list[b-h933zf3irz] {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    max-width: 640px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ── File Item ─────────────────────────────────────────── */
.file-item[b-h933zf3irz] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    cursor: grab;
    transition: background-color 0.15s;
    user-select: none;
}

    .file-item:last-child[b-h933zf3irz] {
        border-bottom: none;
    }

    .file-item:hover[b-h933zf3irz] {
        background-color: #f5f3ff;
    }

    .file-item.drag-over[b-h933zf3irz] {
        background-color: #ede9fe;
        border-left: 3px solid #7c6dfa;
    }

    .file-item.dragging[b-h933zf3irz] {
        opacity: 0.35;
        cursor: grabbing;
    }

    .file-item.is-previewing[b-h933zf3irz] {
        background-color: #ede9fe;
        border-left: 3px solid #7c6dfa;
    }

.drag-handle[b-h933zf3irz] {
    color: #c4bbfc;
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

.file-name[b-h933zf3irz] {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── File Action Buttons ───────────────────────────────── */
.file-actions[b-h933zf3irz] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.preview-btn[b-h933zf3irz] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
}

    .preview-btn:hover[b-h933zf3irz] {
        background-color: #7c6dfa;
        border-color: #7c6dfa;
        color: white;
    }

.remove-btn[b-h933zf3irz] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

    .remove-btn:hover[b-h933zf3irz] {
        background-color: #e53935;
        border-color: #e53935;
        color: white;
    }

/* ── PDF Preview Pane ──────────────────────────────────── */
.preview-pane[b-h933zf3irz] {
    display: block;
    padding: 0;
    background: #1e1e2e;
    border-bottom: 1px solid #f0f0f0;
    animation: slideDown-b-h933zf3irz 0.2s ease;
}

.preview-embed[b-h933zf3irz] {
    display: block;
    width: 100%;
    height: 520px;
    border: none;
}

@keyframes slideDown-b-h933zf3irz {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Merge Options ─────────────────────────────────────── */
.merge-options[b-h933zf3irz] {
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-h933zf3irz] {
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
}

    .filename-input:focus[b-h933zf3irz] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124, 109, 250, 0.15);
    }

/* ── Merge Button ──────────────────────────────────────── */
.merge-btn[b-h933zf3irz] {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    background-color: #7c6dfa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

    .merge-btn:hover[b-h933zf3irz] {
        background-color: #5548e8;
    }

    .merge-btn:active[b-h933zf3irz] {
        transform: scale(0.98);
    }
/* /Components/PDFTabs.razor.rz.scp.css */
/* Tabs container */
.tabs-container[b-gd953tgtu9] {
    width: 100%;
    margin-top: 20px;
}

/* Tab header */
.tab-header[b-gd953tgtu9] {
    display: flex;
    list-style: none;
    padding: 0;
    border-bottom: 2px solid #ccc;
    margin-bottom: 15px;
}

    .tab-header li[b-gd953tgtu9] {
        padding: 10px 20px;
        cursor: pointer;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        background-color: #eee;
        margin-right: 5px;
        transition: background-color 0.2s;
    }

        .tab-header li.active[b-gd953tgtu9] {
            background-color: #4caf50;
            color: white;
            font-weight: bold;
        }

        .tab-header li:hover[b-gd953tgtu9] {
            background-color: #45a049;
            color: white;
        }

/* Tab body */
.tab-body[b-gd953tgtu9] {
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    background-color: #f9f9f9;
}
