/* /Components/ComingSoon.razor.rz.scp.css */
.coming-soon-pane[b-rqnjyl1rpg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
}

.coming-soon-icon[b-rqnjyl1rpg] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #d0c9ff;
}

    .coming-soon-icon svg[b-rqnjyl1rpg] {
        width: 40px;
        height: 40px;
        stroke: currentColor;
        stroke-width: 1.5;
    }

.coming-soon-label[b-rqnjyl1rpg] {
    font-size: 16px;
    font-weight: 600;
    color: #7c6dfa;
    margin: 0;
}

.coming-soon-sub[b-rqnjyl1rpg] {
    font-size: 13px;
    color: #bbb;
    font-style: italic;
    margin: 0;
}
/* /Components/CompressPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-mllc8xvty9] {
    display: block;
    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-mllc8xvty9] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-mllc8xvty9] {
    display: none;
}

.upload-icon[b-mllc8xvty9] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-mllc8xvty9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-mllc8xvty9] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-mllc8xvty9] {
        font-size: 13px;
        color: #888;
    }

/* ── File Card ───────────────────────────────────────────── */
.cmp-file-card[b-mllc8xvty9] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cmp-file-icon[b-mllc8xvty9] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.cmp-file-details[b-mllc8xvty9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cmp-file-name[b-mllc8xvty9] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cmp-file-meta[b-mllc8xvty9] {
    font-size: 12px;
    color: #999;
}

.change-file-btn[b-mllc8xvty9] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-mllc8xvty9] {
        background-color: #e53935;
        color: white;
    }

/* ── Options Panel ───────────────────────────────────────── */
.cmp-panel[b-mllc8xvty9] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cmp-section[b-mllc8xvty9] {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cmp-label[b-mllc8xvty9] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.cmp-field-group[b-mllc8xvty9] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cmp-hint[b-mllc8xvty9] {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}

.cmp-option-item[b-mllc8xvty9] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
}

    .cmp-option-item input[type="checkbox"][b-mllc8xvty9] {
        width: 15px;
        height: 15px;
        accent-color: #7c6dfa;
        cursor: pointer;
        flex-shrink: 0;
    }

/* ── Result Card ─────────────────────────────────────────── */
.cmp-result-card[b-mllc8xvty9] {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

    .cmp-result-card.cmp-saved[b-mllc8xvty9] {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
    }

    .cmp-result-card.cmp-no-savings[b-mllc8xvty9] {
        background: #fafafa;
        border: 1px solid #e5e7eb;
    }

.cmp-result-row[b-mllc8xvty9] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cmp-result-label[b-mllc8xvty9] {
    color: #888;
    font-size: 12px;
}

.cmp-result-value[b-mllc8xvty9] {
    font-weight: 600;
    color: #333;
}

.cmp-result-divider[b-mllc8xvty9] {
    border-top: 1px solid #e5e7eb;
    margin: 2px 0;
}

.cmp-result-summary[b-mllc8xvty9] {
    font-weight: 600;
    color: #16a34a;
}

.cmp-result-card.cmp-no-savings .cmp-result-summary[b-mllc8xvty9] {
    color: #6b7280;
    font-weight: 400;
}

/* ── Error ───────────────────────────────────────────────── */
.cmp-error[b-mllc8xvty9] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}

/* ── Output Row ──────────────────────────────────────────── */
.cmp-output-row[b-mllc8xvty9] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.cmp-output-label[b-mllc8xvty9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-mllc8xvty9] {
    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-mllc8xvty9] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

/* ── Apply Button ────────────────────────────────────────── */
.cmp-apply-btn[b-mllc8xvty9] {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    background-color: #7c6dfa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s, transform 0.1s;
}

    .cmp-apply-btn:hover:not(:disabled)[b-mllc8xvty9] {
        background-color: #5548e8;
    }

    .cmp-apply-btn:active:not(:disabled)[b-mllc8xvty9] {
        transform: scale(0.98);
    }

    .cmp-apply-btn:disabled[b-mllc8xvty9] {
        opacity: 0.5;
        cursor: not-allowed;
    }
/* ── Quality Slider ──────────────────────────────────────── */
.cmp-section--quality[b-mllc8xvty9] {
    flex-direction: column;
    gap: 0.4rem;
}

.cmp-quality-header[b-mllc8xvty9] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.cmp-quality-value[b-mllc8xvty9] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary, #7c3aed);
    font-variant-numeric: tabular-nums;
}

.cmp-quality-row[b-mllc8xvty9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cmp-quality-range[b-mllc8xvty9] {
    flex: 1;
    max-width: 200px;
    accent-color: var(--color-primary, #7c3aed);
    cursor: pointer;
}

.cmp-preview-inline[b-mllc8xvty9] {
    white-space: nowrap;
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.cmp-preview-inline--loading[b-mllc8xvty9] {
    color: var(--text-muted, #888);
}

.cmp-preview-inline--saved[b-mllc8xvty9] {
    color: var(--success, #2e7d32);
    font-weight: 600;
}

.cmp-preview-inline--flat[b-mllc8xvty9] {
    color: var(--text-muted, #888);
}
.cmp-render-warning[b-mllc8xvty9] {
    margin: 0;
    font-size: 12px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 6px 10px;
    line-height: 1.4;
}
/* /Components/ImagesPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-8ismd8chix] {
    display: block;
    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-8ismd8chix] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-8ismd8chix] {
    display: none;
}

.upload-icon[b-8ismd8chix] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-8ismd8chix] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-8ismd8chix] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-8ismd8chix] {
        font-size: 13px;
        color: #888;
    }

.upload-limit[b-8ismd8chix] {
    font-size: 12px !important;
    color: #bbb !important;
}

.upload-spinner[b-8ismd8chix] {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.upload-text-inline[b-8ismd8chix] {
    font-size: 14px;
    color: #888;
}

/* ── File Card ───────────────────────────────────────────── */
.img-file-card[b-8ismd8chix] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.img-file-icon[b-8ismd8chix] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.img-file-details[b-8ismd8chix] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.img-file-name[b-8ismd8chix] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.img-file-meta[b-8ismd8chix] {
    font-size: 12px;
    color: #999;
}

.change-file-btn[b-8ismd8chix] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover:not(:disabled)[b-8ismd8chix] {
        background-color: #e53935;
        color: white;
    }

    .change-file-btn:disabled[b-8ismd8chix] {
        opacity: 0.4;
        cursor: not-allowed;
    }

/* ── Options Panel ───────────────────────────────────────── */
.img-panel[b-8ismd8chix] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.img-section[b-8ismd8chix] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f0ff;
}

    .img-section:last-child[b-8ismd8chix] {
        border-bottom: none;
    }

.img-section-label[b-8ismd8chix] {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    min-width: 80px;
    flex-shrink: 0;
}

/* ── Toggle Button Group (format + DPI) ──────────────────── */
.img-toggle-group[b-8ismd8chix] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.img-toggle-btn[b-8ismd8chix] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1.5px solid #e0d9ff;
    background: #faf9ff;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 72px;
}

    .img-toggle-btn:hover:not(:disabled)[b-8ismd8chix] {
        border-color: #7c6dfa;
        background: #f0eeff;
    }

    .img-toggle-btn:disabled[b-8ismd8chix] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.img-toggle-btn--active[b-8ismd8chix] {
    border-color: #7c6dfa !important;
    background: #ede9fe !important;
}

.img-toggle-name[b-8ismd8chix] {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.img-toggle-btn--active .img-toggle-name[b-8ismd8chix] {
    color: #5548e8;
}

.img-toggle-sub[b-8ismd8chix] {
    font-size: 10px;
    color: #aaa;
    margin-top: 1px;
}

/* ── Quality Slider ──────────────────────────────────────── */
.img-section--quality[b-8ismd8chix] {
    align-items: center;
}

.img-quality-row[b-8ismd8chix] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.img-quality-range[b-8ismd8chix] {
    flex: 1;
    accent-color: #7c6dfa;
    cursor: pointer;
}

    .img-quality-range:disabled[b-8ismd8chix] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.img-quality-value[b-8ismd8chix] {
    font-size: 13px;
    font-weight: 600;
    color: #5548e8;
    min-width: 38px;
    text-align: right;
}

/* ── Pre-flight Info Box ─────────────────────────────────── */
.img-preflight[b-8ismd8chix] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    margin-bottom: 12px;
    font-size: 13px;
    color: #166534;
}

.img-preflight--warn[b-8ismd8chix] {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.img-preflight-icon[b-8ismd8chix] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.img-dpi-hint[b-8ismd8chix] {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 12px;
    padding: 0 2px;
}

/* ── Error ───────────────────────────────────────────────── */
.img-error[b-8ismd8chix] {
    color: #e53935;
    font-size: 13px;
    margin: 0 0 12px;
    padding: 10px 14px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
}

/* ── Convert Button ──────────────────────────────────────── */
.img-convert-btn[b-8ismd8chix] {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #7c6dfa, #5548e8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: opacity 0.2s, transform 0.1s;
}

    .img-convert-btn:hover:not(:disabled)[b-8ismd8chix] {
        opacity: 0.92;
        transform: translateY(-1px);
    }

    .img-convert-btn:disabled[b-8ismd8chix] {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
    }

/* ── Progress Bar ────────────────────────────────────────── */
.img-progress-track[b-8ismd8chix] {
    height: 6px;
    background: #ede9fe;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 20px;
}

.img-progress-fill[b-8ismd8chix] {
    height: 100%;
    background: linear-gradient(90deg, #7c6dfa, #5548e8);
    border-radius: 99px;
    transition: width 0.3s ease;
    min-width: 4px;
}

/* ── Thumbnail Grid ──────────────────────────────────────── */
.img-grid[b-8ismd8chix] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.img-grid-item[b-8ismd8chix] {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s;
}

    .img-grid-item:hover[b-8ismd8chix] {
        box-shadow: 0 4px 14px rgba(124, 109, 250, 0.18);
    }

.img-thumb-wrap[b-8ismd8chix] {
    background: #f7f5ff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.img-thumb[b-8ismd8chix] {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.img-page-meta[b-8ismd8chix] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 6px;
}

.img-page-num[b-8ismd8chix] {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.img-page-dim[b-8ismd8chix] {
    font-size: 10px;
    color: #bbb;
}

.img-page-size[b-8ismd8chix] {
    font-size: 10px;
    color: #aaa;
}

.img-dl-page-btn[b-8ismd8chix] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 6px 8px 8px;
    padding: 6px 0;
    background: #f3f0ff;
    color: #5548e8;
    border: 1px solid #ddd6fe;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

    .img-dl-page-btn:hover[b-8ismd8chix] {
        background: #ede9fe;
        border-color: #7c6dfa;
    }

.img-dl-icon[b-8ismd8chix] {
    width: 13px;
    height: 13px;
}

/* ── Result Summary + ZIP Button ─────────────────────────── */
.img-result-summary[b-8ismd8chix] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.img-result-count[b-8ismd8chix] {
    font-weight: 600;
    color: #166534;
}

.img-result-total[b-8ismd8chix] {
    color: #888;
}

.img-zip-btn[b-8ismd8chix] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    background: #fff;
    color: #5548e8;
    border: 2px solid #7c6dfa;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    margin-bottom: 8px;
}

    .img-zip-btn:hover:not(:disabled)[b-8ismd8chix] {
        background: #7c6dfa;
        color: #fff;
    }

    .img-zip-btn:disabled[b-8ismd8chix] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.img-zip-icon[b-8ismd8chix] {
    width: 18px;
    height: 18px;
}
/* ── File Actions (preview + change buttons) ─────────────── */
.img-file-actions[b-8ismd8chix] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.preview-btn[b-8ismd8chix] {
    background: none;
    border: 1px solid #e0daf7;
    color: #aaa;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

    .preview-btn:hover[b-8ismd8chix], .preview-btn.is-active[b-8ismd8chix] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background-color: #f5f3ff;
    }

/* ── Source Preview Pane ─────────────────────────────────── */
.preview-pane[b-8ismd8chix] {
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preview-toolbar[b-8ismd8chix] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
    gap: 12px;
}

.preview-toolbar-name[b-8ismd8chix] {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-close-btn[b-8ismd8chix] {
    background: none;
    border: none;
    color: #aaa;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
    transition: color 0.15s;
}

    .preview-close-btn:hover[b-8ismd8chix] {
        color: #e53935;
    }

.preview-embed[b-8ismd8chix] {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}

/* ── Pages Input ─────────────────────────────────────────── */
.img-pages-group[b-8ismd8chix] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.filename-input[b-8ismd8chix] {
    padding: 8px 12px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

    .filename-input:focus[b-8ismd8chix] {
        border-color: #7c6dfa;
    }

    .filename-input:disabled[b-8ismd8chix] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.img-pages-hint[b-8ismd8chix] {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

.preview-embed-note[b-8ismd8chix] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
/* ── Page Mode Toggle (Type a range / Pick visually) ─────── */
.img-mode-toggle[b-8ismd8chix] {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.img-mode-btn[b-8ismd8chix] {
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1.5px solid #e0d9ff;
    border-radius: 6px;
    background: #faf9ff;
    color: #888;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

    .img-mode-btn:hover:not(:disabled)[b-8ismd8chix] {
        border-color: #7c6dfa;
        color: #7c6dfa;
    }

    .img-mode-btn:disabled[b-8ismd8chix] {
        opacity: 0.45;
        cursor: not-allowed;
    }

.img-mode-btn--active[b-8ismd8chix] {
    border-color: #7c6dfa;
    background: #ede9fe;
    color: #5548e8;
}
/* /Components/InspectPDF.razor.rz.scp.css */
/* ── Upload Area ──────────────────────────────────────────────────────── */
.upload-container[b-rs707tzoi8] {
    display: block;
    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-rs707tzoi8] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-rs707tzoi8] {
    display: none;
}

.upload-icon[b-rs707tzoi8] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-rs707tzoi8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-rs707tzoi8] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-rs707tzoi8] {
        font-size: 13px;
        color: #888;
    }

.upload-limit[b-rs707tzoi8] {
    font-size: 12px !important;
    color: #bbb !important;
}

.upload-spinner[b-rs707tzoi8] {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.upload-text-inline[b-rs707tzoi8] {
    font-size: 14px;
    color: #888;
}

/* ── Analysing spinner ─────────────────────────────────────────────────── */

.isp-analysing[b-rs707tzoi8] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.isp-spinner[b-rs707tzoi8] {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: isp-spin-b-rs707tzoi8 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes isp-spin-b-rs707tzoi8 {
    to {
        transform: rotate(360deg);
    }
}

/* ── Summary strip ─────────────────────────────────────────────────────── */

.isp-summary-strip[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.isp-doc-type-badge[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.isp-badge-icon[b-rs707tzoi8] {
    width: 0.85rem;
    height: 0.85rem;
}

.isp-pill[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-surface-2, #f0f0f0);
    color: var(--color-text);
    font-size: 0.78rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
}

.isp-pill--mono[b-rs707tzoi8] {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
}

.isp-pill--lang[b-rs707tzoi8] {
    background: var(--color-accent-subtle, #e8f4ff);
    border-color: var(--color-accent-border, #b3d7ff);
    color: var(--color-accent-text, #0063b1);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */

.isp-card[b-rs707tzoi8] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.85rem;
}

.isp-card-heading[b-rs707tzoi8] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin: 0 0 0.85rem 0;
}

.isp-card-icon[b-rs707tzoi8] {
    width: 0.9rem;
    height: 0.9rem;
}

/* ── Provenance dl ─────────────────────────────────────────────────────── */

.isp-dl[b-rs707tzoi8] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem 1rem;
    font-size: 0.875rem;
    margin: 0;
}

    .isp-dl dt[b-rs707tzoi8] {
        color: var(--color-muted);
        font-weight: 500;
        white-space: nowrap;
    }

    .isp-dl dd[b-rs707tzoi8] {
        margin: 0;
        color: var(--color-text);
        word-break: break-word;
    }

.isp-app-badge[b-rs707tzoi8] {
    display: inline-block;
    background: var(--color-surface-2, #f0f0f0);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 0.1rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ── Details grid (Structure + Content side by side) ───────────────────── */

.isp-details-grid[b-rs707tzoi8] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

@media (max-width: 580px) {
    .isp-details-grid[b-rs707tzoi8] {
        grid-template-columns: 1fr;
    }
}

/* ── Stat list ──────────────────────────────────────────────────────────── */

.isp-stat-list[b-rs707tzoi8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

    .isp-stat-list li[b-rs707tzoi8] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
    }

.isp-stat-label[b-rs707tzoi8] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text);
}

.isp-stat-icon[b-rs707tzoi8] {
    width: 0.85rem;
    height: 0.85rem;
    color: var(--color-muted);
    flex-shrink: 0;
}

.isp-stat-value[b-rs707tzoi8] {
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
}

.isp-stat-value--warn[b-rs707tzoi8] {
    color: var(--color-warning, #b45309);
}

/* ── Fonts ──────────────────────────────────────────────────────────────── */

.isp-fonts-wrap[b-rs707tzoi8] {
    margin-top: 0.85rem;
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
}

.isp-fonts-label[b-rs707tzoi8] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.isp-font-pills[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.isp-font-pill[b-rs707tzoi8] {
    display: inline-block;
    background: var(--color-surface-2, #f0f0f0);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 0.15rem 0.45rem;
    font-size: 0.75rem;
    font-family: var(--font-mono, monospace);
}

/* ── Permissions ────────────────────────────────────────────────────────── */

.isp-perm-row[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.isp-perm[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 500;
}

.isp-perm--ok[b-rs707tzoi8] {
    background: var(--color-success-subtle, #ecfdf5);
    color: var(--color-success, #065f46);
    border: 1px solid var(--color-success-border, #a7f3d0);
}

.isp-perm--no[b-rs707tzoi8] {
    background: var(--color-danger-subtle, #fff1f2);
    color: var(--color-danger, #be123c);
    border: 1px solid var(--color-danger-border, #fecdd3);
}

.isp-perm-icon[b-rs707tzoi8] {
    width: 0.9rem;
    height: 0.9rem;
}

/* ── Entity grid ────────────────────────────────────────────────────────── */

.isp-entity-grid[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.isp-entity-col[b-rs707tzoi8] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 120px;
}

.isp-entity-heading[b-rs707tzoi8] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.isp-entity-icon[b-rs707tzoi8] {
    width: 0.8rem;
    height: 0.8rem;
}

.isp-entity-value[b-rs707tzoi8] {
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 0.15rem 0;
    border-bottom: 1px solid var(--color-border);
}

    .isp-entity-value:last-child[b-rs707tzoi8] {
        border-bottom: none;
    }

/* ── Links ──────────────────────────────────────────────────────────────── */

.isp-link-list[b-rs707tzoi8] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.isp-link[b-rs707tzoi8] {
    font-size: 0.82rem;
    color: var(--color-accent);
    word-break: break-all;
    text-decoration: none;
}

    .isp-link:hover[b-rs707tzoi8] {
        text-decoration: underline;
    }

/* ── Honest notices ─────────────────────────────────────────────────────── */

.isp-honest[b-rs707tzoi8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}

.isp-honest--warn[b-rs707tzoi8] {
    background: var(--color-warning-subtle, #fffbeb);
    border: 1px solid var(--color-warning-border, #fde68a);
    color: var(--color-warning-text, #78350f);
}

.isp-honest--info[b-rs707tzoi8] {
    background: var(--color-info-subtle, #eff6ff);
    border: 1px solid var(--color-info-border, #bfdbfe);
    color: var(--color-info-text, #1e40af);
}

.isp-honest-icon[b-rs707tzoi8] {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.isp-honest p[b-rs707tzoi8] {
    margin: 0.25rem 0 0 0;
}

.isp-honest strong[b-rs707tzoi8] {
    display: block;
    font-weight: 700;
}

/* ── Error ──────────────────────────────────────────────────────────────── */

.isp-error[b-rs707tzoi8] {
    color: var(--color-danger, #be123c);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}
/* ── Headline ───────────────────────────────────────────────────────────── */

.isp-headline[b-rs707tzoi8] {
    font-size: 0.925rem;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0 0 0.85rem 0;
    font-style: italic;
}

/* ── Highlights ─────────────────────────────────────────────────────────── */

.isp-insights[b-rs707tzoi8] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.isp-insight-item[b-rs707tzoi8] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    line-height: 1.4;
}

.isp-insight-icon[b-rs707tzoi8] {
    width: 0.9rem;
    height: 0.9rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ── Tips ───────────────────────────────────────────────────────────────── */

.isp-tip-list[b-rs707tzoi8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.isp-tip[b-rs707tzoi8] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: var(--color-surface-2, #fafafa);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
}

.isp-tip--ok[b-rs707tzoi8] {
    background: var(--color-success-subtle, #ecfdf5);
    border-color: var(--color-success-border, #a7f3d0);
}

.isp-tip-icon[b-rs707tzoi8] {
    width: 0.9rem;
    height: 0.9rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.isp-tip--ok .isp-tip-icon[b-rs707tzoi8] {
    color: var(--color-success, #065f46);
}

.isp-tip-body[b-rs707tzoi8] {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.isp-tip-text[b-rs707tzoi8] {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.4;
}

.isp-tip-hint[b-rs707tzoi8] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-subtle, #ede9fe);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
}
/* ── Summary wrapper (strip + headline + highlights) ───────────────────── */

.isp-summary[b-rs707tzoi8] {
    background: #f8f7ff;
    border: 1px solid #ddd9ff;
    border-radius: 12px;
    padding: 1rem 1.25rem 0.5rem;
    margin-bottom: 1rem;
}

    /* strip has margin-top: 1.25rem by default — neutralise it inside the wrapper */
    .isp-summary .isp-summary-strip[b-rs707tzoi8] {
        margin-top: 0;
    }

    /* insights already have margin-bottom; wrapper's padding handles the gap */
    .isp-summary .isp-insights[b-rs707tzoi8] {
        margin-bottom: 0;
    }

    /* insight rows sit on the tinted background — keep them white so they read cleanly */
    .isp-summary .isp-insight-item[b-rs707tzoi8] {
        background: #fff;
    }

/* ── Inline-graphics note (appears under the image count stat row) ─────── */

.isp-stat-list li.isp-stat-note[b-rs707tzoi8] {
    display: block; /* overrides the flex justify-between applied to all li */
    margin-top: -0.2rem; /* pull it snug under the image count row above */
}

.isp-stat-note-text[b-rs707tzoi8] {
    font-size: 0.75rem;
    color: var(--color-muted);
    font-style: italic;
    padding-left: 1.25rem; /* align with the label text, past the icon */
}

/* ── Compress download button (inside tip row) ──────────────────────────── */

.isp-tip-action[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--color-accent, #7c6dfa);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

    .isp-tip-action:hover:not(:disabled)[b-rs707tzoi8] {
        background: #5548e8;
    }

    .isp-tip-action:disabled[b-rs707tzoi8] {
        opacity: 0.6;
        cursor: not-allowed;
    }

.isp-tip-action-icon[b-rs707tzoi8] {
    width: 0.8rem;
    height: 0.8rem;
}

/* ── Export & Read Aloud card ────────────────────────────────────────────── */

.isp-export-actions[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.isp-export-btn[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--color-surface-2, #f5f5ff);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}

    .isp-export-btn:hover:not(:disabled)[b-rs707tzoi8] {
        background: var(--color-accent-subtle, #ede9fe);
        border-color: var(--color-accent, #7c6dfa);
    }

    .isp-export-btn:disabled[b-rs707tzoi8] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.isp-export-btn--speak[b-rs707tzoi8] {
    background: var(--color-accent, #7c6dfa);
    border-color: var(--color-accent, #7c6dfa);
    color: #fff;
    font-weight: 600;
}

    .isp-export-btn--speak:hover:not(:disabled)[b-rs707tzoi8] {
        background: #5548e8;
        border-color: #5548e8;
    }

.isp-export-btn--stop[b-rs707tzoi8] {
    background: var(--color-danger, #be123c);
    border-color: var(--color-danger, #be123c);
}

    .isp-export-btn--stop:hover:not(:disabled)[b-rs707tzoi8] {
        background: #9f1239;
        border-color: #9f1239;
    }

.isp-export-icon[b-rs707tzoi8] {
    flex-shrink: 0;
}

/* ── Read Aloud row ─────────────────────────────────────────────────────── */

.isp-export-readaloud[b-rs707tzoi8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.isp-export-note[b-rs707tzoi8] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.isp-export-note--right[b-rs707tzoi8] {
    margin-left: auto;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-tt06ll9n1b] {
    color-scheme: light only;
    background: #1a1a2e;
    color: #f0f0f5;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 3rem 0.7rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
}

    #blazor-error-ui .reload[b-tt06ll9n1b] {
        color: #6b9ed2;
        font-weight: 600;
        margin-left: 0.4rem;
        text-decoration: underline;
    }

        #blazor-error-ui .reload:hover[b-tt06ll9n1b] {
            color: #9dc3e6;
        }

    #blazor-error-ui .dismiss[b-tt06ll9n1b] {
        cursor: pointer;
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.6;
        font-size: 1rem;
    }

        #blazor-error-ui .dismiss:hover[b-tt06ll9n1b] {
            opacity: 1;
        }
/* /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;
    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;
}

.upload-icon[b-h933zf3irz] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-h933zf3irz] {
    display: flex;
    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;
    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;
    }

    .preview-btn.is-active[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: #fff;
    border-bottom: 1px solid #f0f0f0;
    animation: slideDown-b-h933zf3irz 0.2s ease;
}

/* ── Preview Toolbar ───────────────────────────────────────── */
.preview-toolbar[b-h933zf3irz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #f5f3ff;
    border-bottom: 1px solid #ede9fe;
}

.preview-toolbar-name[b-h933zf3irz] {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.preview-close-btn[b-h933zf3irz] {
    background: none;
    border: none;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-left: 12px;
    transition: background-color 0.15s, color 0.15s;
}

    .preview-close-btn:hover[b-h933zf3irz] {
        background: #ede9fe;
        color: #5548e8;
    }

.preview-embed-note[b-h933zf3irz] {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    margin: 0;
    padding: 6px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}

.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);
    }

/* ── Error ─────────────────────────────────────────────────── */
.merge-error[b-h933zf3irz] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}
/* /Components/MetadataPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-7zpzls2wv5] {
    display: block;
    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-7zpzls2wv5] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-7zpzls2wv5] {
    display: none;
}

.upload-icon[b-7zpzls2wv5] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-7zpzls2wv5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-7zpzls2wv5] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-7zpzls2wv5] {
        font-size: 13px;
        color: #888;
    }

.upload-limit[b-7zpzls2wv5] {
    font-size: 11px;
    color: #bbb;
}

.upload-spinner[b-7zpzls2wv5] {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

.upload-text-inline[b-7zpzls2wv5] {
    display: block;
    font-size: 14px;
    color: #888;
}

/* ── File Card ───────────────────────────────────────────── */
.meta-file-card[b-7zpzls2wv5] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.meta-file-icon[b-7zpzls2wv5] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.meta-file-details[b-7zpzls2wv5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.meta-file-name[b-7zpzls2wv5] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta-file-size[b-7zpzls2wv5] {
    font-size: 12px;
    color: #999;
}

.meta-change-btn[b-7zpzls2wv5] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .meta-change-btn:hover[b-7zpzls2wv5] {
        background: #fff5f5;
    }

/* ── Honest-feedback notice ──────────────────────────────── */
.meta-notice[b-7zpzls2wv5] {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.meta-notice--warn[b-7zpzls2wv5] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.meta-notice--ok[b-7zpzls2wv5] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* ── Metadata Form ───────────────────────────────────────── */
.meta-panel[b-7zpzls2wv5] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.meta-field[b-7zpzls2wv5] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label[b-7zpzls2wv5] {
    font-size: 11px;
    font-weight: 700;
    color: #7c6dfa;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.meta-input[b-7zpzls2wv5] {
    border: 1px solid #e0daf8;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    box-sizing: border-box;
}

    .meta-input:focus[b-7zpzls2wv5] {
        outline: none;
        border-color: #7c6dfa;
        box-shadow: 0 0 0 3px rgba(124, 109, 250, 0.12);
    }

    .meta-input[b-7zpzls2wv5]::placeholder {
        color: #ccc;
    }

/* ── Output row ──────────────────────────────────────────── */
.meta-output-row[b-7zpzls2wv5] {
    margin-bottom: 16px;
}

.meta-output-label[b-7zpzls2wv5] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.meta-filename-input[b-7zpzls2wv5] {
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 13px;
    color: #555;
    background: #fafafa;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

    .meta-filename-input:focus[b-7zpzls2wv5] {
        outline: none;
        border-color: #7c6dfa;
    }

/* ── Apply button ────────────────────────────────────────── */
.meta-apply-btn[b-7zpzls2wv5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #7c6dfa;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
}

    .meta-apply-btn:hover:not(:disabled)[b-7zpzls2wv5] {
        background: #5548e8;
        transform: translateY(-1px);
    }

    .meta-apply-btn:disabled[b-7zpzls2wv5] {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ── Error ───────────────────────────────────────────────── */
.meta-error[b-7zpzls2wv5] {
    color: #e53935;
    font-size: 13px;
    margin: 12px 0;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 7px;
}
/* /Components/Pages/AdminDashboard.razor.rz.scp.css */
.adm-gate[b-shl67k6xx9],
.adm-loading[b-shl67k6xx9],
.adm-error[b-shl67k6xx9] {
    padding: 3rem;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
}

.adm-error[b-shl67k6xx9] {
    color: #c0392b;
}

.adm-page[b-shl67k6xx9] {
    max-width: 780px;
    margin: 2rem auto;
    padding: 0 1.5rem 4rem;
    font-family: inherit;
}

.adm-header[b-shl67k6xx9] {
    margin-bottom: 2.5rem;
}

    .adm-header h1[b-shl67k6xx9] {
        font-size: 1.6rem;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 .25rem;
    }

        .adm-header h1 span[b-shl67k6xx9] {
            font-weight: 300;
            color: #666;
        }

.adm-subtitle[b-shl67k6xx9] {
    font-size: .85rem;
    color: #999;
    margin: 0;
}

.adm-section[b-shl67k6xx9] {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

    .adm-section h2[b-shl67k6xx9] {
        font-size: 1rem;
        font-weight: 600;
        color: #333;
        margin: 0 0 1.25rem;
        display: flex;
        align-items: center;
        gap: .6rem;
    }

.adm-badge[b-shl67k6xx9] {
    font-size: .7rem;
    font-weight: 500;
    background: #f0f7f0;
    color: #3a7a3a;
    border-radius: 20px;
    padding: .2rem .55rem;
    letter-spacing: .02em;
}

.adm-table[b-shl67k6xx9] {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.adm-row[b-shl67k6xx9] {
    display: grid;
    grid-template-columns: 90px 1fr 50px 70px;
    align-items: center;
    gap: .75rem;
    font-size: .88rem;
}

.adm-tool[b-shl67k6xx9] {
    font-weight: 600;
    color: #222;
}

.adm-bar-wrap[b-shl67k6xx9] {
    background: #f4f4f4;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.adm-bar-fill[b-shl67k6xx9] {
    height: 100%;
    background: #4a90d9;
    border-radius: 4px;
    transition: width .4s ease;
    min-width: 2px;
}

.adm-count[b-shl67k6xx9] {
    font-weight: 700;
    color: #222;
    text-align: right;
}

.adm-count--error[b-shl67k6xx9] {
    color: #c0392b;
}

.adm-meta[b-shl67k6xx9] {
    font-size: .78rem;
    color: #999;
    text-align: right;
}

.adm-reason[b-shl67k6xx9] {
    color: #555;
    font-size: .84rem;
    grid-column: 2 / 4;
}

.adm-row--error .adm-tool[b-shl67k6xx9] {
    color: #c0392b;
}

.adm-empty[b-shl67k6xx9] {
    color: #999;
    font-size: .88rem;
    margin: 0;
}

.adm-all-clear[b-shl67k6xx9] {
    color: #3a7a3a;
}

.adm-total[b-shl67k6xx9] {
    font-size: .78rem;
    color: #aaa;
    margin: .9rem 0 0;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Page Shell ──────────────────────────────────────────── */
.home-page[b-t80zaboco2] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Hero ────────────────────────────────────────────────── */
.home-hero[b-t80zaboco2] {
    position: relative;
    text-align: center;
    padding: 20px 24px 16px;
    background: linear-gradient(160deg, #f5f3ff 0%, #fafafa 60%);
    border-bottom: 1px solid #ede9fe;
}

.back-link[b-t80zaboco2] {
    position: absolute;
    top: 14px;
    left: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7c6dfa;
    text-decoration: none;
    transition: color 0.2s;
}

    .back-link:hover[b-t80zaboco2] {
        color: #5548e8;
    }

.home-logo[b-t80zaboco2] {
    display: block;
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.home-title[b-t80zaboco2] {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.home-tagline[b-t80zaboco2] {
    font-size: 17px;
    color: #555;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ── Content ─────────────────────────────────────────────── */
.home-content[b-t80zaboco2] {
    flex: 1;
    width: 100%;
    max-width: 820px;
    margin: 24px auto;
    padding: 0 24px;
}

/* ── Footer ──────────────────────────────────────────────── */
.home-footer[b-t80zaboco2] {
    padding: 24px;
    border-top: 1px solid #ede9fe;
    text-align: center;
    background: #fafafa;
}

.footer-links[b-t80zaboco2] {
    margin-bottom: 10px;
}

    .footer-links a[b-t80zaboco2] {
        color: #aaa;
        text-decoration: none;
        margin: 0 16px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2px;
        transition: color 0.2s;
    }

        .footer-links a:hover[b-t80zaboco2] {
            color: #7c6dfa;
        }

.footer-copy[b-t80zaboco2] {
    font-size: 11px;
    color: #ccc;
    letter-spacing: 1px;
    margin: 0;
}

.home-sub[b-t80zaboco2] {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin: 6px 0 0;
    letter-spacing: 0.2px;
}
/* /Components/PDFTabs.razor.rz.scp.css */
/* ── Container ───────────────────────────────────────────── */
.tabs-container[b-gd953tgtu9] {
    width: 100%;
}

/* ── Tool Groups (home / no tool selected) ───────────────── */
.tool-groups[b-gd953tgtu9] {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 4px 0 8px;
}

.tool-group[b-gd953tgtu9] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-group-label[b-gd953tgtu9] {
    font-size: 10px;
    font-weight: 700;
    color: #b0a8e0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0eeff;
}

/* ── Tool Grid ───────────────────────────────────────────── */
.tool-grid[b-gd953tgtu9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
}

.tool-card[b-gd953tgtu9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px 22px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

    .tool-card:hover[b-gd953tgtu9] {
        border-color: #7c6dfa;
        box-shadow: 0 6px 20px rgba(124, 109, 250, 0.14);
        transform: translateY(-2px);
    }

/* ── Card Icon ───────────────────────────────────────────── */
.tool-card-icon[b-gd953tgtu9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #7c6dfa;
}

    .tool-card-icon svg[b-gd953tgtu9] {
        width: 30px;
        height: 30px;
        stroke: currentColor;
    }

/* ── Card Text ───────────────────────────────────────────── */
.tool-card-name[b-gd953tgtu9] {
    font-size: 11px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tool-card-desc[b-gd953tgtu9] {
    font-size: 11px;
    color: #aaa;
    line-height: 1.5;
}

/* ── Tool View (a tool is active) ────────────────────────── */
.tool-view[b-gd953tgtu9] {
    display: flex;
    flex-direction: column;
}

.tool-back-btn[b-gd953tgtu9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #7c6dfa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 0 20px 0;
    transition: color 0.15s;
}

    .tool-back-btn:hover[b-gd953tgtu9] {
        color: #5548e8;
    }

.back-icon[b-gd953tgtu9] {
    display: flex;
    align-items: center;
    width: 14px;
    height: 14px;
}

    .back-icon svg[b-gd953tgtu9] {
        width: 14px;
        height: 14px;
        stroke: currentColor;
    }
/* /Components/ProtectPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-fdgene2va1] {
    display: block;
    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-fdgene2va1] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-fdgene2va1] {
    display: none;
}

.upload-icon[b-fdgene2va1] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-fdgene2va1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-fdgene2va1] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-fdgene2va1] {
        font-size: 13px;
        color: #888;
    }

/* ── Options Panel ───────────────────────────────────────── */
.prt-panel[b-fdgene2va1] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.prt-section[b-fdgene2va1] {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f3ff;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

    .prt-section:last-child[b-fdgene2va1] {
        border-bottom: none;
    }

.prt-label[b-fdgene2va1] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.prt-optional[b-fdgene2va1] {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #bbb;
}

.prt-field-group[b-fdgene2va1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.prt-hint[b-fdgene2va1] {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}

/* ── Password Row ────────────────────────────────────────── */
.prt-password-row[b-fdgene2va1] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.prt-password-input[b-fdgene2va1] {
    flex: 1;
    min-width: 0;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
}

    .prt-password-input:focus[b-fdgene2va1] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.prt-toggle-btn[b-fdgene2va1] {
    background: none;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s, background-color 0.15s;
    line-height: 1;
}

    .prt-toggle-btn:hover[b-fdgene2va1] {
        border-color: #7c6dfa;
        background-color: #f5f3ff;
    }

/* ── Permissions ─────────────────────────────────────────── */
.prt-perms[b-fdgene2va1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prt-perm-item[b-fdgene2va1] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
}

    .prt-perm-item input[type="checkbox"][b-fdgene2va1] {
        width: 15px;
        height: 15px;
        accent-color: #7c6dfa;
        cursor: pointer;
        flex-shrink: 0;
    }

/* ── Error ───────────────────────────────────────────────── */
.prt-error[b-fdgene2va1] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}

/* ── Output Row ──────────────────────────────────────────── */
.prt-output-row[b-fdgene2va1] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.prt-output-label[b-fdgene2va1] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-fdgene2va1] {
    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-fdgene2va1] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

/* ── Apply Button ────────────────────────────────────────── */
.prt-apply-btn[b-fdgene2va1] {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    background-color: #7c6dfa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s, transform 0.1s;
}

    .prt-apply-btn:hover:not(:disabled)[b-fdgene2va1] {
        background-color: #5548e8;
    }

    .prt-apply-btn:active:not(:disabled)[b-fdgene2va1] {
        transform: scale(0.98);
    }

    .prt-apply-btn:disabled[b-fdgene2va1] {
        opacity: 0.5;
        cursor: not-allowed;
    }
/* /Components/RemovePDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-9833rv3qrj] {
    display: block;
    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-9833rv3qrj] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-9833rv3qrj] {
    display: none;
}

.upload-icon[b-9833rv3qrj] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-9833rv3qrj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-9833rv3qrj] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-9833rv3qrj] {
        font-size: 13px;
        color: #888;
    }

/* ── File Card ───────────────────────────────────────────── */
.rm-file-card[b-9833rv3qrj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rm-file-icon[b-9833rv3qrj] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.rm-file-details[b-9833rv3qrj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rm-file-name[b-9833rv3qrj] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rm-file-meta[b-9833rv3qrj] {
    font-size: 12px;
    color: #999;
}

.rm-file-actions[b-9833rv3qrj] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.preview-btn[b-9833rv3qrj] {
    background: none;
    border: 1px solid #e0daf7;
    color: #aaa;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

    .preview-btn:hover[b-9833rv3qrj], .preview-btn.is-active[b-9833rv3qrj] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background-color: #f5f3ff;
    }

.change-file-btn[b-9833rv3qrj] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-9833rv3qrj] {
        background-color: #e53935;
        color: white;
    }

/* ── Options Panel ───────────────────────────────────────── */
.rm-panel[b-9833rv3qrj] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rm-section[b-9833rv3qrj] {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rm-label[b-9833rv3qrj] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 10px;
}

.rm-field-group[b-9833rv3qrj] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.rm-hint[b-9833rv3qrj] {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* ── Feedback Card ───────────────────────────────────────── */
.rm-feedback[b-9833rv3qrj] {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.rm-feedback-ok[b-9833rv3qrj] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.rm-feedback-warn[b-9833rv3qrj] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* ── Preview Pane ────────────────────────────────────────── */
.preview-pane[b-9833rv3qrj] {
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preview-toolbar[b-9833rv3qrj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
    gap: 12px;
}

.preview-toolbar-name[b-9833rv3qrj] {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-close-btn[b-9833rv3qrj] {
    background: none;
    border: none;
    color: #aaa;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
    transition: color 0.15s;
}

    .preview-close-btn:hover[b-9833rv3qrj] {
        color: #e53935;
    }

.preview-embed[b-9833rv3qrj] {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}

/* ── Output & Actions ────────────────────────────────────── */
.rm-output-row[b-9833rv3qrj] {
    margin-bottom: 16px;
}

.rm-output-label[b-9833rv3qrj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filename-input[b-9833rv3qrj] {
    padding: 8px 12px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

    .filename-input:focus[b-9833rv3qrj] {
        border-color: #7c6dfa;
    }

.rm-action-row[b-9833rv3qrj] {
    display: flex;
    gap: 10px;
}

.rm-preview-btn[b-9833rv3qrj] {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: #fff;
    color: #7c6dfa;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #7c6dfa;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s;
}

    .rm-preview-btn:hover:not(:disabled)[b-9833rv3qrj] {
        background-color: #f5f3ff;
    }

    .rm-preview-btn:disabled[b-9833rv3qrj] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.rm-apply-btn[b-9833rv3qrj] {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #fa6d6d, #e84848);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .rm-apply-btn:hover:not(:disabled)[b-9833rv3qrj] {
        opacity: 0.9;
    }

    .rm-apply-btn:disabled[b-9833rv3qrj] {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ── Error ───────────────────────────────────────────────── */
.rm-error[b-9833rv3qrj] {
    color: #e53935;
    font-size: 13px;
    margin: 0 0 12px;
}
.preview-embed-note[b-9833rv3qrj] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
/* ── Input mode toggle ──────────────────────────────────────── */
.rm-mode-toggle[b-9833rv3qrj] {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.rm-mode-btn[b-9833rv3qrj] {
    padding: 5px 14px;
    border: none;
    background: #fafafa;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .rm-mode-btn + .rm-mode-btn[b-9833rv3qrj] {
        border-left: 1px solid #e0daf7;
    }

.rm-mode-btn--active[b-9833rv3qrj] {
    background: #ede9fe;
    color: #5548e8;
    font-weight: 600;
}
/* /Components/ReorderPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-l0zmyipqju] {
    display: block;
    cursor: pointer;
    border: 2px dashed #7c6dfa;
    border-radius: 12px;
    padding: 28px 20px;
    margin-bottom: 25px;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s ease;
    user-select: none;
}

    .upload-container:hover[b-l0zmyipqju] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-l0zmyipqju] {
    display: none;
}

.upload-icon[b-l0zmyipqju] {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    color: #7c6dfa;
}

.upload-text[b-l0zmyipqju] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-l0zmyipqju] {
        font-size: 15px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-l0zmyipqju] {
        font-size: 13px;
        color: #888;
    }

.upload-limit[b-l0zmyipqju] {
    font-size: 12px;
    color: #bbb;
}

/* ── File Card ───────────────────────────────────────────── */
.reo-file-card[b-l0zmyipqju] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reo-file-icon[b-l0zmyipqju] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.reo-file-details[b-l0zmyipqju] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.reo-file-name[b-l0zmyipqju] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reo-file-meta[b-l0zmyipqju] {
    font-size: 12px;
    color: #999;
}

.reo-file-actions[b-l0zmyipqju] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Shared interactive elements ─────────────────────────── */
.preview-btn[b-l0zmyipqju] {
    background: none;
    border: 1px solid #e0daf7;
    color: #aaa;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

    .preview-btn:hover[b-l0zmyipqju],
    .preview-btn.is-active[b-l0zmyipqju] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background-color: #f5f3ff;
    }

    .preview-btn:disabled[b-l0zmyipqju] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.change-file-btn[b-l0zmyipqju] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-l0zmyipqju] {
        background-color: #e53935;
        color: white;
    }

    .change-file-btn:disabled[b-l0zmyipqju] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.filename-input[b-l0zmyipqju] {
    padding: 8px 12px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

    .filename-input:focus[b-l0zmyipqju] {
        border-color: #7c6dfa;
    }

/* ── Source Preview Pane ─────────────────────────────────── */
.preview-pane[b-l0zmyipqju] {
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-toolbar[b-l0zmyipqju] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
    gap: 12px;
}

.preview-toolbar-name[b-l0zmyipqju] {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-close-btn[b-l0zmyipqju] {
    background: none;
    border: none;
    color: #aaa;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
    transition: color 0.15s;
}

    .preview-close-btn:hover[b-l0zmyipqju] {
        color: #e53935;
    }

.preview-embed[b-l0zmyipqju] {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}

/* ── Embed note ──────────────────────────────────────────── */
.reo-embed-note[b-l0zmyipqju] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}

/* ── Hint ────────────────────────────────────────────────── */
.reo-hint[b-l0zmyipqju] {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
}

/* ── Thumbnail grid ──────────────────────────────────────── */
.reo-grid[b-l0zmyipqju] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 4px 0 20px;
}

.reo-page-card[b-l0zmyipqju] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 8px 8px 6px;
    border: 2px solid #e8e4ff;
    border-radius: 8px;
    background: #fff;
    cursor: grab;
    user-select: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, transform 0.12s ease;
}

    .reo-page-card:hover[b-l0zmyipqju] {
        border-color: #7c6dfa;
        box-shadow: 0 2px 8px rgba(124, 109, 250, 0.18);
        transform: scale(1.06);
        z-index: 1;
    }

    .reo-page-card.reo-dragging[b-l0zmyipqju] {
        opacity: 0.3;
        cursor: grabbing;
        transform: none;
    }

    .reo-page-card.reo-drag-over[b-l0zmyipqju] {
        border-color: #5548e8;
        box-shadow: 0 0 0 3px rgba(85, 72, 232, 0.2);
        transform: scale(1.04);
    }

.reo-thumb[b-l0zmyipqju] {
    width: 100%;
    display: block;
    border-radius: 3px;
    background: #f0eeff;
}

.reo-page-num[b-l0zmyipqju] {
    margin-top: 6px;
    font-size: 11px;
    color: #999;
    font-variant-numeric: tabular-nums;
}

/* ── Error ───────────────────────────────────────────────── */
.reo-error[b-l0zmyipqju] {
    color: #e53935;
    font-size: 13px;
    margin: 0 0 12px;
}

/* ── Output filename ─────────────────────────────────────── */
.reo-output-row[b-l0zmyipqju] {
    margin: 4px 0 16px;
}

.reo-output-label[b-l0zmyipqju] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Action row ──────────────────────────────────────────── */
.reo-action-row[b-l0zmyipqju] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reo-reset-btn[b-l0zmyipqju] {
    padding: 10px 20px;
    border: 1px solid #d0c8ff;
    background: #f5f3ff;
    color: #5548e8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .reo-reset-btn:hover:not(:disabled)[b-l0zmyipqju] {
        background: #ede9fe;
        border-color: #7c6dfa;
    }

    .reo-reset-btn:disabled[b-l0zmyipqju] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.reo-apply-btn[b-l0zmyipqju] {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #7c6dfa, #5548e8);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .reo-apply-btn:hover:not(:disabled)[b-l0zmyipqju] {
        opacity: 0.9;
    }

    .reo-apply-btn:disabled[b-l0zmyipqju] {
        opacity: 0.6;
        cursor: not-allowed;
    }
.preview-embed-note[b-l0zmyipqju] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
/* /Components/RotatePDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-pu02nhwyvd] {
    display: block;
    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-pu02nhwyvd] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-pu02nhwyvd] {
    display: none;
}

.upload-icon[b-pu02nhwyvd] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-pu02nhwyvd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-pu02nhwyvd] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-pu02nhwyvd] {
        font-size: 13px;
        color: #888;
    }

/* ── File Card ───────────────────────────────────────────── */
.rot-file-card[b-pu02nhwyvd] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rot-file-icon[b-pu02nhwyvd] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.rot-file-details[b-pu02nhwyvd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rot-file-name[b-pu02nhwyvd] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rot-file-meta[b-pu02nhwyvd] {
    font-size: 12px;
    color: #999;
}

.change-file-btn[b-pu02nhwyvd] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-pu02nhwyvd] {
        background-color: #e53935;
        color: white;
    }

/* ── Options Panel ───────────────────────────────────────── */
.rot-panel[b-pu02nhwyvd] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rot-section[b-pu02nhwyvd] {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rot-label[b-pu02nhwyvd] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.rot-field-group[b-pu02nhwyvd] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.rot-divider[b-pu02nhwyvd] {
    height: 1px;
    background: #ede9fe;
    margin: 0;
}

/* ── Rotation Button Group ───────────────────────────────── */
.rot-btn-group[b-pu02nhwyvd] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rot-opt-btn[b-pu02nhwyvd] {
    padding: 7px 14px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    background: #fafafa;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

    .rot-opt-btn:hover[b-pu02nhwyvd] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background: #f5f3ff;
    }

    .rot-opt-btn.rot-opt-active[b-pu02nhwyvd] {
        border-color: #5548e8;
        background: #ede9fe;
        color: #5548e8;
        font-weight: 600;
    }

/* ── Page Selection ──────────────────────────────────────── */
.rot-option-item[b-pu02nhwyvd] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    user-select: none;
}

    .rot-option-item input[type="checkbox"][b-pu02nhwyvd] {
        width: 15px;
        height: 15px;
        accent-color: #7c6dfa;
        cursor: pointer;
        flex-shrink: 0;
    }

.rot-hint[b-pu02nhwyvd] {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* ── Output Row ──────────────────────────────────────────── */
.rot-output-row[b-pu02nhwyvd] {
    margin-bottom: 16px;
}

.rot-output-label[b-pu02nhwyvd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filename-input[b-pu02nhwyvd] {
    padding: 8px 12px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

    .filename-input:focus[b-pu02nhwyvd] {
        border-color: #7c6dfa;
    }

/* ── Action Button ───────────────────────────────────────── */
.rot-apply-btn[b-pu02nhwyvd] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #7c6dfa, #5548e8);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .rot-apply-btn:hover:not(:disabled)[b-pu02nhwyvd] {
        opacity: 0.9;
    }

    .rot-apply-btn:disabled[b-pu02nhwyvd] {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ── Error ───────────────────────────────────────────────── */
.rot-error[b-pu02nhwyvd] {
    color: #e53935;
    font-size: 13px;
    margin: 0 0 12px;
}

/* ── File Actions (preview toggle + change) ──────────────── */
.rot-file-actions[b-pu02nhwyvd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.preview-btn[b-pu02nhwyvd] {
    background: none;
    border: 1px solid #e0daf7;
    color: #aaa;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

    .preview-btn:hover[b-pu02nhwyvd],
    .preview-btn.is-active[b-pu02nhwyvd] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background-color: #f5f3ff;
    }

/* ── Source / Rotation Preview Pane ─────────────────────── */
.preview-pane[b-pu02nhwyvd] {
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preview-toolbar[b-pu02nhwyvd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
    gap: 12px;
}

.preview-toolbar-name[b-pu02nhwyvd] {
    font-size: 12px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-close-btn[b-pu02nhwyvd] {
    background: none;
    border: none;
    color: #aaa;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    padding: 0;
    transition: color 0.15s;
}

    .preview-close-btn:hover[b-pu02nhwyvd] {
        color: #e53935;
    }

.preview-embed[b-pu02nhwyvd] {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
}

/* ── Action Row (preview + download side by side) ────────── */
.rot-action-row[b-pu02nhwyvd] {
    display: flex;
    gap: 10px;
}

.rot-preview-btn[b-pu02nhwyvd] {
    flex: 0 0 auto;
    padding: 12px 18px;
    background: #fff;
    color: #7c6dfa;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #7c6dfa;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

    .rot-preview-btn:hover:not(:disabled)[b-pu02nhwyvd] {
        background-color: #f5f3ff;
    }

    .rot-preview-btn:disabled[b-pu02nhwyvd] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.rot-apply-btn[b-pu02nhwyvd] {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #7c6dfa, #5548e8);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .rot-apply-btn:hover:not(:disabled)[b-pu02nhwyvd] {
        opacity: 0.9;
    }

    .rot-apply-btn:disabled[b-pu02nhwyvd] {
        opacity: 0.6;
        cursor: not-allowed;
    }
.preview-embed-note[b-pu02nhwyvd] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
/* /Components/Routes.razor.rz.scp.css */
.err-page[b-85z44jhz45] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
}

.err-card[b-85z44jhz45] {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.1);
    padding: 2.5rem 3rem;
    max-width: 28rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.err-icon[b-85z44jhz45] {
    color: #b33a3a;
    line-height: 0;
}

.err-title[b-85z44jhz45] {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.err-body[b-85z44jhz45] {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.err-btn[b-85z44jhz45] {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.55rem 2rem;
    background: #1a1a2e;
    color: #fff;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s;
}

    .err-btn:hover[b-85z44jhz45] {
        background: #2e2e58;
    }
/* /Components/Shared/FileCard.razor.rz.scp.css */
/* ── Card ─────────────────────────────────────────────────── */
.fc-card[b-ryrujs4mlv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fc-icon[b-ryrujs4mlv] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.fc-details[b-ryrujs4mlv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fc-name[b-ryrujs4mlv] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-meta[b-ryrujs4mlv] {
    font-size: 12px;
    color: #999;
}

.fc-actions[b-ryrujs4mlv] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Preview toggle button ─────────────────────────────────── */
.fc-preview-btn[b-ryrujs4mlv] {
    background: none;
    border: 1px solid #e0daf7;
    color: #aaa;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

    .fc-preview-btn:hover[b-ryrujs4mlv],
    .fc-preview-btn--active[b-ryrujs4mlv] {
        border-color: #7c6dfa;
        color: #7c6dfa;
        background-color: #f5f3ff;
    }

    .fc-preview-btn:disabled[b-ryrujs4mlv] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ── Change button ─────────────────────────────────────────── */
.fc-change-btn[b-ryrujs4mlv] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .fc-change-btn:hover[b-ryrujs4mlv] {
        background-color: #e53935;
        color: white;
    }

    .fc-change-btn:disabled[b-ryrujs4mlv] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ── Preview pane ──────────────────────────────────────────── */
.fc-preview-pane[b-ryrujs4mlv] {
    margin-bottom: 20px;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fc-preview-toolbar[b-ryrujs4mlv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #f5f3ff;
    border-bottom: 1px solid #ede9fe;
}

.fc-preview-name[b-ryrujs4mlv] {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-preview-close[b-ryrujs4mlv] {
    background: none;
    border: none;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

    .fc-preview-close:hover[b-ryrujs4mlv] {
        background: #ede9fe;
        color: #5548e8;
    }

.fc-preview-note[b-ryrujs4mlv] {
    font-size: 11px;
    color: #aaa;
    margin: 6px 14px 0;
    font-style: italic;
}

.fc-preview-embed[b-ryrujs4mlv] {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}
/* /Components/Shared/LanguageSwitcher.razor.rz.scp.css */
/* ── Language switcher (prefix: lang-) ───────────────────────────────── */
.lang-switcher[b-kpfmqjjs68] {
    display: inline-flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

.lang-btn[b-kpfmqjjs68] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    font-family: inherit;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}

    .lang-btn:hover:not(:disabled)[b-kpfmqjjs68] {
        opacity: 0.85;
        transform: scale(1.08);
    }

.lang-btn--active[b-kpfmqjjs68] {
    opacity: 1;
    cursor: default;
}

.lang-flag[b-kpfmqjjs68] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid transparent;
    object-fit: cover;
    display: block;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-btn--active .lang-flag[b-kpfmqjjs68] {
    border-color: #7c6dfa;
    box-shadow: 0 0 5px rgba(124, 109, 250, 0.45);
}

.lang-label[b-kpfmqjjs68] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #bbb;
    line-height: 1;
    white-space: nowrap;
}

.lang-btn--active .lang-label[b-kpfmqjjs68] {
    color: #7c6dfa;
    letter-spacing: 0.2px;
}
/* /Components/Shared/PagePicker.razor.rz.scp.css */
/* ── Container ──────────────────────────────────────────────── */
.pp-container[b-nnh4cok2hc] {
    margin-bottom: 16px;
}

/* ── Toolbar ─────────────────────────────────────────────────── */
.pp-toolbar[b-nnh4cok2hc] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pp-select-btn[b-nnh4cok2hc] {
    padding: 4px 12px;
    border: 1px solid #e0daf7;
    border-radius: 6px;
    background: #fafafa;
    color: #7c6dfa;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

    .pp-select-btn:hover[b-nnh4cok2hc] {
        background-color: #f0eeff;
        border-color: #7c6dfa;
    }

.pp-count[b-nnh4cok2hc] {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

/* ── Grid ─────────────────────────────────────────────────────── */
.pp-grid[b-nnh4cok2hc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

/* ── Thumbnail card ───────────────────────────────────────────── */
.pp-item[b-nnh4cok2hc] {
    display: flex;
    flex-direction: column;
    border: 2px solid #e0daf7;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
    user-select: none;
}

    .pp-item:hover[b-nnh4cok2hc] {
        border-color: #7c6dfa;
        box-shadow: 0 2px 8px rgba(124,109,250,0.15);
    }

.pp-item--selected[b-nnh4cok2hc] {
    border-color: #5548e8;
    box-shadow: 0 0 0 2px rgba(85,72,232,0.2);
}

.pp-thumb[b-nnh4cok2hc] {
    display: block;
    width: 100%;
    aspect-ratio: 0.707;
    background: #f5f3ff;
}

/* ── Footer ───────────────────────────────────────────────────── */
.pp-item-footer[b-nnh4cok2hc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 6px;
    background: #fafafa;
    border-top: 1px solid #ede9fe;
}

    .pp-item-footer input[type="checkbox"][b-nnh4cok2hc] {
        width: 13px;
        height: 13px;
        accent-color: #5548e8;
        cursor: pointer;
        flex-shrink: 0;
    }

.pp-page-num[b-nnh4cok2hc] {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
/* /Components/SplitPDF.razor.rz.scp.css */
/* ── Upload Area (mirrors MergePDF pattern) ──────────────── */
.upload-container[b-op59uejrmu] {
    display: block;
    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-op59uejrmu] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-op59uejrmu] {
    display: none;
}

.upload-icon[b-op59uejrmu] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-op59uejrmu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-op59uejrmu] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-op59uejrmu] {
        font-size: 13px;
        color: #888;
    }

/* ── Loaded File Card ────────────────────────────────────── */
.split-file-card[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.split-file-icon[b-op59uejrmu] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.split-file-details[b-op59uejrmu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.split-file-name[b-op59uejrmu] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.split-file-meta[b-op59uejrmu] {
    font-size: 12px;
    color: #999;
}

.change-file-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-op59uejrmu] {
        background-color: #e53935;
        color: white;
    }

/* ── Ranges Panel ────────────────────────────────────────── */
.split-ranges-panel[b-op59uejrmu] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.split-ranges-header[b-op59uejrmu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafe;
}

.split-ranges-title[b-op59uejrmu] {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
}

.split-ranges-actions[b-op59uejrmu] {
    display: flex;
    gap: 8px;
}

.split-all-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .split-all-btn:hover[b-op59uejrmu] {
        background-color: #7c6dfa;
        color: white;
    }

.add-range-btn[b-op59uejrmu] {
    background: #7c6dfa;
    border: none;
    color: white;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

    .add-range-btn:hover[b-op59uejrmu] {
        background-color: #5548e8;
    }

.split-empty-hint[b-op59uejrmu] {
    padding: 24px 16px;
    font-size: 13px;
    color: #bbb;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* ── Range List ──────────────────────────────────────────── */
.range-list[b-op59uejrmu] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.range-item[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #f5f3ff;
}

    .range-item:last-child[b-op59uejrmu] {
        border-bottom: none;
    }

.range-label[b-op59uejrmu] {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}

.range-input[b-op59uejrmu] {
    width: 64px;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    color: #333;
    text-align: center;
    outline: none;
    transition: border-color 0.15s;
}

    .range-input:focus[b-op59uejrmu] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.range-sep[b-op59uejrmu] {
    font-size: 14px;
    color: #bbb;
}

.range-count[b-op59uejrmu] {
    font-size: 12px;
    color: #aaa;
    flex: 1;
}

.range-remove-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
}

    .range-remove-btn:hover[b-op59uejrmu] {
        background-color: #e53935;
        color: white;
    }

/* ── Output Row & Button ─────────────────────────────────── */
.split-output-row[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
}

.split-output-label[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-op59uejrmu] {
    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-op59uejrmu] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.split-output-hint[b-op59uejrmu] {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

.split-btn[b-op59uejrmu] {
    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;
}

    .split-btn:hover:not(:disabled)[b-op59uejrmu] {
        background-color: #5548e8;
    }

    .split-btn:active:not(:disabled)[b-op59uejrmu] {
        transform: scale(0.98);
    }

    .split-btn:disabled[b-op59uejrmu] {
        opacity: 0.6;
        cursor: not-allowed;
    }
/* ── Upload Area (mirrors MergePDF pattern) ──────────────── */
.upload-container[b-op59uejrmu] {
    display: block;
    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-op59uejrmu] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-op59uejrmu] {
    display: none;
}

.upload-icon[b-op59uejrmu] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-op59uejrmu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-op59uejrmu] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-op59uejrmu] {
        font-size: 13px;
        color: #888;
    }

/* ── Loaded File Card ────────────────────────────────────── */
.split-file-card[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.split-file-icon[b-op59uejrmu] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.split-file-details[b-op59uejrmu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.split-file-name[b-op59uejrmu] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.split-file-meta[b-op59uejrmu] {
    font-size: 12px;
    color: #999;
}

.split-preview-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .split-preview-btn:hover[b-op59uejrmu], .split-preview-btn.active[b-op59uejrmu] {
        background-color: #7c6dfa;
        border-color: #7c6dfa;
        color: white;
    }

.change-file-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-op59uejrmu] {
        background-color: #e53935;
        color: white;
    }

/* ── Preview Pane ────────────────────────────────────────── */
.preview-pane[b-op59uejrmu] {
    background: #1e1e2e;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    animation: slideDown-b-op59uejrmu 0.2s ease;
}

.preview-toolbar[b-op59uejrmu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #2a2a3e;
}

.preview-toolbar-name[b-op59uejrmu] {
    font-size: 12px;
    color: #a89ff5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.preview-close-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #5548e8;
    color: #a89ff5;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
    transition: background-color 0.15s, color 0.15s;
}

    .preview-close-btn:hover[b-op59uejrmu] {
        background-color: #5548e8;
        color: white;
    }

.preview-embed[b-op59uejrmu] {
    display: block;
    width: 100%;
    height: 520px;
    border: none;
}

@keyframes slideDown-b-op59uejrmu {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Ranges Panel ────────────────────────────────────────── */
.split-ranges-panel[b-op59uejrmu] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.split-ranges-header[b-op59uejrmu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafe;
}

.split-ranges-title[b-op59uejrmu] {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
}

.split-ranges-actions[b-op59uejrmu] {
    display: flex;
    gap: 8px;
}

.split-all-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .split-all-btn:hover[b-op59uejrmu] {
        background-color: #7c6dfa;
        color: white;
    }

.add-range-btn[b-op59uejrmu] {
    background: #7c6dfa;
    border: none;
    color: white;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

    .add-range-btn:hover[b-op59uejrmu] {
        background-color: #5548e8;
    }

.split-empty-hint[b-op59uejrmu] {
    padding: 24px 16px;
    font-size: 13px;
    color: #bbb;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* ── Range List ──────────────────────────────────────────── */
.range-list[b-op59uejrmu] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.range-item[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #f5f3ff;
}

    .range-item:last-child[b-op59uejrmu] {
        border-bottom: none;
    }

.range-label[b-op59uejrmu] {
    font-size: 13px;
    color: #888;
    flex-shrink: 0;
}

.range-input[b-op59uejrmu] {
    width: 64px;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    color: #333;
    text-align: center;
    outline: none;
    transition: border-color 0.15s;
}

    .range-input:focus[b-op59uejrmu] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.range-sep[b-op59uejrmu] {
    font-size: 14px;
    color: #bbb;
}

.range-count[b-op59uejrmu] {
    font-size: 12px;
    color: #aaa;
    flex: 1;
}

.range-remove-btn[b-op59uejrmu] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
}

    .range-remove-btn:hover[b-op59uejrmu] {
        background-color: #e53935;
        color: white;
    }

/* ── Output Row & Button ─────────────────────────────────── */
.split-output-row[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
}

.split-output-label[b-op59uejrmu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-op59uejrmu] {
    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-op59uejrmu] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.split-output-hint[b-op59uejrmu] {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

.split-btn[b-op59uejrmu] {
    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;
}

    .split-btn:hover:not(:disabled)[b-op59uejrmu] {
        background-color: #5548e8;
    }

    .split-btn:active:not(:disabled)[b-op59uejrmu] {
        transform: scale(0.98);
    }

    .split-btn:disabled[b-op59uejrmu] {
        opacity: 0.6;
        cursor: not-allowed;
    }
/* ── Error ───────────────────────────────────────────────── */
.split-error[b-op59uejrmu] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}
.preview-embed-note[b-op59uejrmu] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
/* ── Input mode toggle ──────────────────────────────────────── */
.split-mode-toggle[b-op59uejrmu] {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid #e0daf7;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.split-mode-btn[b-op59uejrmu] {
    padding: 6px 16px;
    border: none;
    background: #fafafa;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .split-mode-btn + .split-mode-btn[b-op59uejrmu] {
        border-left: 1px solid #e0daf7;
    }

.split-mode-btn--active[b-op59uejrmu] {
    background: #ede9fe;
    color: #5548e8;
    font-weight: 600;
}
/* /Components/UnlockPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-da2dtc4fhk] {
    display: block;
    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-da2dtc4fhk] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-da2dtc4fhk] {
    display: none;
}

.upload-icon[b-da2dtc4fhk] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-da2dtc4fhk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-da2dtc4fhk] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-da2dtc4fhk] {
        font-size: 13px;
        color: #888;
    }

/* ── Preflight Banner ────────────────────────────────────── */
.unl-preflight[b-da2dtc4fhk] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.unl-preflight--info[b-da2dtc4fhk] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* ── Options Panel ───────────────────────────────────────── */
.unl-panel[b-da2dtc4fhk] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.unl-section[b-da2dtc4fhk] {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.unl-label[b-da2dtc4fhk] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 120px;
    flex-shrink: 0;
    padding-top: 2px;
}

.unl-field-group[b-da2dtc4fhk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.unl-hint[b-da2dtc4fhk] {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}

/* ── Password Row ────────────────────────────────────────── */
.unl-password-row[b-da2dtc4fhk] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.unl-password-input[b-da2dtc4fhk] {
    flex: 1;
    min-width: 0;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
}

    .unl-password-input:focus[b-da2dtc4fhk] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.unl-toggle-btn[b-da2dtc4fhk] {
    background: none;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s, background-color 0.15s;
    line-height: 1;
}

    .unl-toggle-btn:hover[b-da2dtc4fhk] {
        border-color: #7c6dfa;
        background-color: #f5f3ff;
    }

/* ── Error ───────────────────────────────────────────────── */
.unl-error[b-da2dtc4fhk] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}

/* ── Output Row ──────────────────────────────────────────── */
.unl-output-row[b-da2dtc4fhk] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.unl-output-label[b-da2dtc4fhk] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-da2dtc4fhk] {
    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-da2dtc4fhk] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

/* ── Apply Button ────────────────────────────────────────── */
.unl-apply-btn[b-da2dtc4fhk] {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    background-color: #7c6dfa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s, transform 0.1s;
}

    .unl-apply-btn:hover:not(:disabled)[b-da2dtc4fhk] {
        background-color: #5548e8;
    }

    .unl-apply-btn:active:not(:disabled)[b-da2dtc4fhk] {
        transform: scale(0.98);
    }

    .unl-apply-btn:disabled[b-da2dtc4fhk] {
        opacity: 0.5;
        cursor: not-allowed;
    }
/* /Components/WatermarkPDF.razor.rz.scp.css */
/* ── Upload Area ─────────────────────────────────────────── */
.upload-container[b-cbhhe8mvbg] {
    display: block;
    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-cbhhe8mvbg] {
        border-color: #5548e8;
        background: #f0eeff;
    }

.upload-input[b-cbhhe8mvbg] {
    display: none;
}

.upload-icon[b-cbhhe8mvbg] {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #7c6dfa;
}

.upload-text[b-cbhhe8mvbg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .upload-text strong[b-cbhhe8mvbg] {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }

    .upload-text span[b-cbhhe8mvbg] {
        font-size: 13px;
        color: #888;
    }

/* ── File Card ───────────────────────────────────────────── */
.wm-file-card[b-cbhhe8mvbg] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wm-file-icon[b-cbhhe8mvbg] {
    width: 28px;
    height: 28px;
    color: #7c6dfa;
    flex-shrink: 0;
}

.wm-file-details[b-cbhhe8mvbg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wm-file-name[b-cbhhe8mvbg] {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wm-file-meta[b-cbhhe8mvbg] {
    font-size: 12px;
    color: #999;
}

.wm-toggle-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

    .wm-toggle-btn:hover[b-cbhhe8mvbg],
    .wm-toggle-btn.active[b-cbhhe8mvbg] {
        background-color: #7c6dfa;
        border-color: #7c6dfa;
        color: white;
    }

.change-file-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #ffcdd2;
    color: #e53935;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

    .change-file-btn:hover[b-cbhhe8mvbg] {
        background-color: #e53935;
        color: white;
    }

/* ── Preview Pane (source toggle + after result) ─────────── */
.wm-preview-pane[b-cbhhe8mvbg] {
    background: #1e1e2e;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    animation: slideDown-b-cbhhe8mvbg 0.2s ease;
}

.wm-preview-toolbar[b-cbhhe8mvbg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #2a2a3e;
}

.wm-preview-toolbar-name[b-cbhhe8mvbg] {
    font-size: 12px;
    color: #a89ff5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.wm-preview-close-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #5548e8;
    color: #a89ff5;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
    transition: background-color 0.15s, color 0.15s;
}

    .wm-preview-close-btn:hover[b-cbhhe8mvbg] {
        background-color: #5548e8;
        color: white;
    }

.wm-preview-embed[b-cbhhe8mvbg] {
    display: block;
    width: 100%;
    height: 520px;
    border: none;
}

@keyframes slideDown-b-cbhhe8mvbg {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Options Panel ───────────────────────────────────────── */
.wm-panel[b-cbhhe8mvbg] {
    background: #fff;
    border: 1px solid #ede9fe;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wm-section[b-cbhhe8mvbg] {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f3ff;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .wm-section:last-child[b-cbhhe8mvbg] {
        border-bottom: none;
    }

.wm-label[b-cbhhe8mvbg] {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 110px;
    flex-shrink: 0;
}

/* ── Text Input + Presets ────────────────────────────────── */
.wm-text-input[b-cbhhe8mvbg] {
    flex: 1;
    min-width: 160px;
    border: 1px solid #d0c9ff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.15s;
}

    .wm-text-input:focus[b-cbhhe8mvbg] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

.wm-presets[b-cbhhe8mvbg] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.wm-preset-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}

    .wm-preset-btn:hover[b-cbhhe8mvbg], .wm-preset-btn.active[b-cbhhe8mvbg] {
        background-color: #7c6dfa;
        border-color: #7c6dfa;
        color: white;
    }

/* ── Color Swatches + Picker ─────────────────────────────── */
.wm-colors[b-cbhhe8mvbg] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.wm-swatch[b-cbhhe8mvbg] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, box-shadow 0.15s;
    outline: none;
}

    .wm-swatch:hover[b-cbhhe8mvbg] {
        transform: scale(1.15);
    }

    .wm-swatch.active[b-cbhhe8mvbg] {
        border-color: #5548e8;
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5548e8;
    }

.wm-color-picker-wrap[b-cbhhe8mvbg] {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #d0c9ff;
    background: #f5f3ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

    .wm-color-picker-wrap:hover[b-cbhhe8mvbg] {
        transform: scale(1.15);
    }

    .wm-color-picker-wrap.active[b-cbhhe8mvbg] {
        border-color: #5548e8;
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #5548e8;
    }

.wm-color-picker-icon[b-cbhhe8mvbg] {
    font-size: 14px;
    font-weight: 700;
    color: #7c6dfa;
    pointer-events: none;
    line-height: 1;
    transition: opacity 0.15s;
}

.wm-color-picker[b-cbhhe8mvbg] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

/* ── Opacity Slider ──────────────────────────────────────── */
.wm-slider[b-cbhhe8mvbg] {
    flex: 1;
    min-width: 160px;
    max-width: 280px;
    accent-color: #7c6dfa;
    cursor: pointer;
}

/* ── Size & Pages Buttons ────────────────────────────────── */
.wm-size-group[b-cbhhe8mvbg] {
    display: flex;
    gap: 6px;
}

.wm-size-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 6px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .wm-size-btn:hover[b-cbhhe8mvbg], .wm-size-btn.active[b-cbhhe8mvbg] {
        background-color: #7c6dfa;
        border-color: #7c6dfa;
        color: white;
    }

/* ── Preview Action Row ──────────────────────────────────── */
.wm-preview-row[b-cbhhe8mvbg] {
    margin-bottom: 12px;
}

.wm-preview-btn[b-cbhhe8mvbg] {
    background: none;
    border: 1px solid #d0c9ff;
    color: #7c6dfa;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

    .wm-preview-btn:hover:not(:disabled)[b-cbhhe8mvbg] {
        background-color: #f0eeff;
        border-color: #7c6dfa;
    }

    .wm-preview-btn:disabled[b-cbhhe8mvbg] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ── Output Row ──────────────────────────────────────────── */
.wm-output-row[b-cbhhe8mvbg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #555;
}

.wm-output-label[b-cbhhe8mvbg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filename-input[b-cbhhe8mvbg] {
    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-cbhhe8mvbg] {
        border-color: #7c6dfa;
        box-shadow: 0 0 0 2px rgba(124,109,250,0.15);
    }

/* ── Apply Button ────────────────────────────────────────── */
.wm-apply-btn[b-cbhhe8mvbg] {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    background-color: #7c6dfa;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background-color 0.2s, transform 0.1s;
}

    .wm-apply-btn:hover:not(:disabled)[b-cbhhe8mvbg] {
        background-color: #5548e8;
    }

    .wm-apply-btn:active:not(:disabled)[b-cbhhe8mvbg] {
        transform: scale(0.98);
    }

    .wm-apply-btn:disabled[b-cbhhe8mvbg] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ── Error ───────────────────────────────────────────────── */
.wm-error[b-cbhhe8mvbg] {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
}
.wm-embed-note[b-cbhhe8mvbg] {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin: 0;
    padding: 4px 14px;
    background: #fafaff;
    border-bottom: 1px solid #ede9fe;
}
