@font-face {
    font-family: 'Dancing Script';
    src: url('dancing-script.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Caveat';
    src: url('caveat.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f6f8fb;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Dark Premium Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #0f172a;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 12px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-container {
    background: #fff7ed;
    padding: 10px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
    flex-shrink: 0;
}

.site-logo-text {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.15;
}

.site-logo-text span {
    display: block;
    color: #38bdf8;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.secure-tag {
    background: #14532d;
    color: #4ade80;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid #166534;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.secure-tag svg {
    flex-shrink: 0;
}

.secure-tag-text {
    text-align: left;
    line-height: 1.3;
}

.secure-tag span {
    display: block;
    font-size: 0.62rem;
    color: #86efac;
    font-weight: 400;
    letter-spacing: 0.3px;
}

@media (max-width: 640px) {
    header {
        padding: 12px 16px;
        gap: 10px;
    }
    .logo-container {
        padding: 6px;
    }
    .logo-container svg {
        width: 32px;
        height: 32px;
    }
    .site-logo-text {
        font-size: 1.5rem;
    }
    .site-logo-text span {
        font-size: 0.72rem;
    }
    .secure-tag {
        padding: 5px 10px;
        font-size: 0.66rem;
        gap: 5px;
    }
    .secure-tag svg {
        width: 12px;
        height: 12px;
    }
    .secure-tag span {
        display: none;
    }
}

/* Sponsored Ads Header Box
   Currently OFF (no AdSense approval yet): min-height, background, and
   border are commented out so this div takes up zero space and renders
   nothing. Once AdSense is approved and real ad code is placed inside
   the .adsense-top-banner div, uncomment the four lines below to restore
   the placeholder box's sizing/appearance for the real ad unit. */
.adsense-top-banner {
    width: calc(100% - 40px);
    max-width: 1200px;
    /* min-height: 120px; */
    margin: 24px auto;
    /* background: #f1f5f9; */
    /* border: 2px dashed #cbd5e1; */
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    contain: layout size style;
}

/* Main Core Container */
main.workspace-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 10px 24px 30px 24px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.04);
}

.section-container {
    margin-top: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.tools-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Premium Bulk Component Tiles */
.tool-tile-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;

    content-visibility: auto;
    contain-intrinsic-size: auto 220px;
    will-change: transform, opacity;
    transform: translateZ(0);

    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.2s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.2s ease;
}

.tool-tile-card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.bulk-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff1f2;
    color: #f43f5e;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid #fecdd3;
    letter-spacing: 0.3px;
}

.tool-icon-wrapper {
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    margin-bottom: 16px;
}

.bg-blue   { background: #eff6ff; }
.bg-purple { background: #faf5ff; }
.bg-orange { background: #fff7ed; }
.bg-green  { background: #f0fdf4; }
.bg-red    { background: #fef2f2; }
.bg-cyan   { background: #ecfeff; }

.tool-icon-wrapper svg {
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.tool-tile-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    line-height: 1.3;
    padding-right: 70px;
}

.tool-tile-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.45;
}

/* PREMIUM DYNAMIC CONFIGURATION OVERLAY MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-window h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.modal-window p {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.format-select-dropdown {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.format-select-dropdown:focus {
    border-color: #38bdf8;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

.btn-convert {
    background: #f97316;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-convert:hover {
    background: #ea580c;
}

#bulkFileEngineInput {
    display: none;
}

/* Loading Spinner Overlay Styling */
.processing-spinner-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.processing-spinner-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    border-top-color: #f97316;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Mega PDF Editor grid */
.mega-editor-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    min-height: 220px;
}
.mega-page-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    padding: 8px;
    cursor: grab;
    text-align: center;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.mega-page-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.mega-page-card.dragging {
    opacity: 0.35;
}
.mega-page-thumb {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    margin-bottom: 6px;
    background: #ffffff;
}
.mega-page-thumb img {
    width: 100%;
    display: block;
}
.mega-page-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}
.mega-page-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
}
.mega-page-actions button {
    flex: 1;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.85rem;
}
.mega-page-actions button:hover {
    background: #eef2f7;
}
.mega-page-actions button.delete-btn {
    border-color: #fecdd3;
    background: #fef2f2;
    color: #dc2626;
}
.mega-page-actions button.delete-btn:hover {
    background: #fee2e2;
}

/* ============================================
   Tier 2: Signature tabs, watermark controls, form filling
   ============================================ */
.sig-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.sig-tab {
    flex: 1;
    padding: 10px 8px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.88rem;
    font-weight: 700;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease;
}
.sig-tab:hover {
    color: #475569;
}
.sig-tab.active {
    color: #f97316;
    border-bottom-color: #f97316;
}
.sig-label-small {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sig-color-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
    cursor: pointer;
}
.sig-style-btn {
    flex: 1;
    padding: 14px 8px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    color: #0f172a;
    transition: all 0.15s ease;
}
.sig-style-btn.active {
    border-color: #f97316;
    background: #fff7ed;
}
.sig-preview-box {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 16px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-align: center;
}
.sig-preview-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.wm-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.wm-color-swatch {
    width: 42px;
    height: 34px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    padding: 0;
}
.wm-color-swatch.active {
    border-color: #f97316;
}
.wm-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wm-slider-row input[type="range"] {
    flex: 1;
}
.wm-slider-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    min-width: 42px;
    text-align: right;
}
.wm-position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.wm-position-btn {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
}
.wm-position-btn.active {
    border-color: #f97316;
    background: #fff7ed;
    color: #ea580c;
}
.wm-preview-box {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: repeating-conic-gradient(#f1f5f9 0% 25%, #ffffff 0% 50%) 50% / 20px 20px;
    height: 160px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}
.wm-preview-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    color: #64748b;
    white-space: nowrap;
    pointer-events: none;
}
.wm-preview-content img {
    max-width: 140px;
    max-height: 100px;
    display: block;
}

.form-fields-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 2px;
}
.form-field-row label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}
.form-field-row .field-type-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-left: 6px;
}
.form-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.redaction-page-container {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-y: auto;
    background: #f1f5f9;
    flex: 1;
    min-height: 300px;
    max-height: 55vh;
    touch-action: none;
    cursor: crosshair;
}
.redaction-page-container img {
    width: 100%;
    display: block;
    user-select: none;
    pointer-events: none;
}
.redaction-marks-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.redaction-mark-box {
    position: absolute;
    background: rgba(15, 23, 42, 0.75);
    border: 2px solid #0f172a;
    box-sizing: border-box;
}
.redaction-nav-btn {
    padding: 8px 16px;
}

/* ============================================
   NEW: Individual Tool Landing Page Content
   (breadcrumb, hero, how-it-works, FAQ, related tools)
   ============================================ */

.breadcrumb-nav {
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 0 24px;
    font-size: 0.85rem;
    color: #64748b;
}
.breadcrumb-nav a {
    color: #64748b;
    text-decoration: none;
}
.breadcrumb-nav a:hover {
    color: #f97316;
}

.tool-page-hero {
    max-width: 900px;
    margin: 16px auto 0 auto;
    padding: 0 24px;
    text-align: center;
}
.tool-page-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    line-height: 1.2;
}
.tool-intro {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 28px auto;
}

.tool-cta-button {
    display: inline-block;
    background: #f97316;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    transition: all 0.2s ease;
}
.tool-cta-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
}
.tool-cta-subtext {
    display: block;
    margin-top: 14px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.how-it-works {
    max-width: 900px;
    margin: 56px auto 0 auto;
    padding: 0 24px;
}
.how-it-works h2,
.faq-section h2,
.related-tools h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    text-align: center;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff7ed;
    color: #f97316;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 12px;
}
.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.step-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.faq-section {
    max-width: 800px;
    margin: 56px auto 0 auto;
    padding: 0 24px;
}
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0;
}
.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

.related-tools {
    max-width: 900px;
    margin: 56px auto 60px auto;
    padding: 0 24px;
}
.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.related-tool-link {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.related-tool-link:hover {
    border-color: #f97316;
    color: #f97316;
    transform: translateY(-2px);
}

/* ============================================
   Site footer navigation (Privacy / About / Contact)
   ============================================ */
.site-footer {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 28px 24px 40px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.site-footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.site-footer-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}
.site-footer-links a:hover {
    color: #f97316;
}

/* ============================================
   Long-form content pages (Privacy Policy, About, Contact)
   ============================================ */
.policy-page {
    max-width: 760px;
    margin: 36px auto 0 auto;
    padding: 0 24px 40px 24px;
}
.policy-page h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
}
.policy-updated {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 32px;
}
.policy-page h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 38px;
    margin-bottom: 14px;
}
.policy-page p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 15px;
}
.policy-page ul {
    margin: 0 0 15px 22px;
    color: #334155;
    line-height: 1.7;
}
.policy-page li {
    margin-bottom: 7px;
}
.policy-page a {
    color: #ea580c;
    text-decoration: underline;
}
.policy-highlight-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 0.98rem;
    color: #14532d;
    line-height: 1.65;
}
.policy-highlight-box strong {
    color: #166534;
}
.contact-email-button {
    display: inline-block;
    background: #f97316;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    margin: 10px 0 8px 0;
}
.contact-email-button:hover {
    background: #ea580c;
}

/* ============================================
   Dark Mode Toggle Button
   ============================================ */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}
.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ============================================
   Dark Mode Theme
   Applied whenever <html data-theme="dark">. Purely additive — none of the rules
   above this point are modified, so light mode is guaranteed unaffected.
   ============================================ */
[data-theme="dark"] body {
    background-color: #0b1220;
    color: #e2e8f0;
}
[data-theme="dark"] header {
    background: #060a14;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .logo-container {
    background: #1e293b;
}
[data-theme="dark"] .site-logo-text {
    color: #ffffff;
}
[data-theme="dark"] .secure-tag {
    background: #0f2e1a;
    border-color: #14532d;
}
[data-theme="dark"] .adsense-top-banner,
[data-theme="dark"] .adsense-footer-container {
    background: #111827;
    border-color: #1f2937;
    color: #94a3b8;
}
[data-theme="dark"] main.workspace-container {
    background: #111827;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .section-header {
    border-bottom-color: #1f2937;
}
[data-theme="dark"] .section-header h2 {
    color: #f1f5f9;
}
[data-theme="dark"] .tool-tile-card {
    background: #1a2332;
    border-color: #2d3b52;
}
[data-theme="dark"] .tool-tile-card:hover {
    border-color: #475569;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .tool-tile-card h3 {
    color: #f1f5f9;
}
[data-theme="dark"] .tool-tile-card p {
    color: #94a3b8;
}
[data-theme="dark"] .bg-blue   { background: #17233a; }
[data-theme="dark"] .bg-purple { background: #241c38; }
[data-theme="dark"] .bg-orange { background: #2b1f14; }
[data-theme="dark"] .bg-green  { background: #14261c; }
[data-theme="dark"] .bg-red    { background: #2a1717; }
[data-theme="dark"] .bg-cyan   { background: #10262a; }
[data-theme="dark"] .bulk-badge {
    background: #2a1720;
    border-color: #4c1d2e;
}

[data-theme="dark"] .modal-window {
    background: #1a2332;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .modal-window h4 {
    color: #f1f5f9;
}
[data-theme="dark"] .modal-window p {
    color: #94a3b8;
}
[data-theme="dark"] .input-group label,
[data-theme="dark"] .sig-label-small {
    color: #cbd5e1;
}
[data-theme="dark"] .format-select-dropdown {
    background-color: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
[data-theme="dark"] .btn-cancel {
    background: #263349;
    color: #cbd5e1;
}
[data-theme="dark"] .btn-cancel:hover {
    background: #334155;
}
[data-theme="dark"] .form-fields-list .field-type-tag {
    color: #64748b;
}

[data-theme="dark"] .sig-tabs,
[data-theme="dark"] .wm-tabs {
    border-bottom-color: #263349;
}
[data-theme="dark"] .sig-tab {
    color: #64748b;
}
[data-theme="dark"] .sig-tab:hover {
    color: #cbd5e1;
}
[data-theme="dark"] .sig-style-btn,
[data-theme="dark"] .sig-preview-box,
[data-theme="dark"] .wm-position-btn {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}
[data-theme="dark"] .redaction-page-container {
    background: #0f172a;
    border-color: #334155;
}
[data-theme="dark"] .mega-page-card,
[data-theme="dark"] .mega-page-thumb {
    background: #0f172a;
    border-color: #334155;
}
[data-theme="dark"] .mega-page-label {
    color: #cbd5e1;
}
[data-theme="dark"] .mega-page-actions button {
    background: #1a2332;
    border-color: #334155;
    color: #cbd5e1;
}
[data-theme="dark"] .form-field-row label {
    color: #cbd5e1;
}

[data-theme="dark"] .breadcrumb-nav,
[data-theme="dark"] .breadcrumb-nav a {
    color: #64748b;
}
[data-theme="dark"] .tool-page-hero h1,
[data-theme="dark"] .how-it-works h2,
[data-theme="dark"] .faq-section h2,
[data-theme="dark"] .related-tools h2 {
    color: #f1f5f9;
}
[data-theme="dark"] .tool-intro {
    color: #94a3b8;
}
[data-theme="dark"] .step-card {
    background: #1a2332;
    border-color: #2d3b52;
}
[data-theme="dark"] .step-card h3 {
    color: #f1f5f9;
}
[data-theme="dark"] .step-card p {
    color: #94a3b8;
}
[data-theme="dark"] .faq-item {
    border-bottom-color: #263349;
}
[data-theme="dark"] .faq-item h3 {
    color: #f1f5f9;
}
[data-theme="dark"] .faq-item p {
    color: #94a3b8;
}
[data-theme="dark"] .related-tool-link {
    background: #1a2332;
    border-color: #2d3b52;
    color: #e2e8f0;
}
[data-theme="dark"] .related-tool-link:hover {
    border-color: #f97316;
    color: #f97316;
}
[data-theme="dark"] .site-footer {
    border-top-color: #1f2937;
    color: #64748b;
}
[data-theme="dark"] .site-footer-links a {
    color: #94a3b8;
}

[data-theme="dark"] .policy-page h1,
[data-theme="dark"] .policy-page h2 {
    color: #f1f5f9;
}
[data-theme="dark"] .policy-page p,
[data-theme="dark"] .policy-page ul {
    color: #cbd5e1;
}
[data-theme="dark"] .policy-highlight-box {
    background: #0f2e1a;
    border-color: #14532d;
    color: #86efac;
}
[data-theme="dark"] .policy-highlight-box strong {
    color: #4ade80;
}
