/* === PutriPDF Custom Overrides === */

/* 1. Hide ONLY the left file sidebar */
.file-sidebar,
.file-sidebar-inner,
.file-sidebar-header,
.file-sidebar-file-list,
.file-sidebar-bottom-bar,
.file-sidebar-scroll,
.file-sidebar-empty,
.file-sidebar-files-section,
.file-sidebar-search-row,
.file-sidebar-section-header,
.file-sidebar-brand-text,
.file-sidebar-bottom-avatar,
.file-sidebar-bottom-name,
.file-sidebar-bottom-settings,
.file-sidebar-action-row,
.file-sidebar-loading {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* 2. Hide collapsed sidebar strip */
.tool-panel__collapsed-strip,
.tool-panel__collapsed-tools,
.tool-panel__collapsed-divider,
.tool-panel__collapsed-top,
.tool-panel__collapsed-tool-btn {
    display: none !important;
}

/* 3. HIDE the Stirling PDF landing title (logo/text) and REPLACE with PutriPDF */
.landing-title {
    position: relative !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
}

/* Hide any images/SVGs inside the title */
.landing-title img,
.landing-title svg,
.landing-title picture,
.landing-title span {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Show PutriPDF text instead */
.landing-title::after {
    content: "PutriPDF" !important;
    display: block !important;
    font-size: 3rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #dc2626 0%, #9333ea 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
    margin-top: 8px !important;
}

/* 4. Hide the animated sheets/stack illustration above title */
.landing-stack {
    display: none !important;
}

/* 5. Replace subtitle text */
.landing-subtitle {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}
.landing-subtitle::after {
    content: "Seret dan letakkan atau tambahkan PDF yang sudah ada untuk memulai." !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    display: block !important;
    color: var(--color-text-3, #64748b) !important;
    text-align: center !important;
}

/* 6. Hide header logo text if it shows Stirling */
.logo span,
.classic-logo span {
    font-size: 0 !important;
}
.logo span::after,
.classic-logo span::after {
    content: "PutriPDF" !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

/* 7. Also hide the small Stirling logo image in header */
.logo img[alt*="Stirling"],
.logo img[alt*="stirling"],
img[alt="Stirling PDF Logo"],
img[alt="Stirling logo"],
img[alt="Stirling PDF logo"],
img[alt="Stirling icon"] {
    display: none !important;
}
