/**
 * MetaoFly - Tool 12: PDF Deep Size Compressor & DPI Optimizer
 * CSS Stylesheet - Strict 2-Column Desktop / 1-Column Mobile Responsive Architecture
 */

/* ── Root Workspace Variables & Container ── */
.pdc-workspace {
    --pdc-accent: #10b981;
    --pdc-accent-glow: rgba(16, 185, 129, 0.25);
    --pdc-accent-hover: #059669;
    --pdc-bg-dark: #0b0f19;
    --pdc-card-bg: rgba(17, 24, 39, 0.75);
    --pdc-card-border: rgba(255, 255, 255, 0.08);
    --pdc-card-hover-border: rgba(16, 185, 129, 0.35);
    --pdc-text-main: #f8fafc;
    --pdc-text-muted: #94a3b8;
    --pdc-danger: #f43f5e;
    --pdc-success: #10b981;
    --pdc-radius: 16px;
    --pdc-radius-sm: 10px;

    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: var(--pdc-text-main);
}

.tool-workspace.pdc-workspace {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
}

@media (max-width: 1024px) {
    .tool-workspace.pdc-workspace {
        grid-template-columns: 1fr;
    }
}

/* ── Top Header Banner ── */
.pdc-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(6, 78, 59, 0.15) 100%);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.pdc-header-left {
    flex: 1;
}

.pdc-badge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pdc-studio-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 8px 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.pdc-title-gradient {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pdc-studio-subtitle {
    font-size: 0.95rem;
    color: var(--pdc-text-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 780px;
}

.pdc-quick-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdc-pill-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #cbd5e1;
    white-space: nowrap;
}

.pdc-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

/* ── Upload Stage & Dropzone ── */
.pdc-upload-stage {
    margin: 20px 0;
}

.pdc-dropzone {
    position: relative;
    padding: 56px 36px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.06) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 2px dashed rgba(52, 211, 153, 0.35);
    border-radius: var(--pdc-radius);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pdc-dropzone:hover,
.pdc-dropzone.pdc-dragover {
    border-color: #10b981;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.pdc-hidden-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.pdc-drop-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    margin-bottom: 20px;
}

.pdc-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.4) 0%, transparent 70%);
    animation: pdcPulse 3s infinite;
}

@keyframes pdcPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.pdc-drop-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.pdc-drop-desc {
    font-size: 0.95rem;
    color: var(--pdc-text-muted);
    max-width: 640px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.pdc-drop-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    position: relative;
    z-index: 6;
}

.pdc-btn-browse,
.pdc-btn-sample {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdc-btn-browse {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.pdc-btn-browse:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
    transform: translateY(-1px);
}

.pdc-btn-sample {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pdc-btn-sample:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.pdc-drop-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.pdc-drop-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ══════════════════════════════════════════════════════════
   TOP STUDIO TOOLBAR (Active when PDF loaded)
   ══════════════════════════════════════════════════════════ */
.pdc-top-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 20px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pdc-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.pdc-pill-meta {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--pdc-text-muted);
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pdc-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdc-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.pdc-btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pdc-btn-top-compress {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pdc-btn-top-compress:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* ══════════════════════════════════════════════════════════
   STRICT 2-COLUMN DESKTOP / 1-COLUMN MOBILE GRID
   ══════════════════════════════════════════════════════════ */
.pdc-studio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(380px, 440px);
    gap: 24px;
    align-items: start;
}

/* ── COLUMN 1: VISUAL QUALITY COMPARISON STAGE ── */
.pdc-stage-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdc-preview-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius-sm);
    flex-wrap: wrap;
    gap: 12px;
}

.pdc-preview-mode-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 8px;
}

.pdc-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: var(--pdc-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pdc-mode-pill.active {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.pdc-page-pager {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdc-btn-page-nav,
.pdc-btn-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.pdc-btn-page-nav:hover,
.pdc-btn-zoom:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pdc-page-readout {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.pdc-zoom-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdc-zoom-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pdc-text-muted);
    min-width: 40px;
    text-align: center;
}

/* Side-by-Side Comparison Container */
.pdc-side-by-side-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pdc-compare-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    padding: 14px;
    overflow: hidden;
}

.pdc-compare-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pdc-compare-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.pdc-tag-orig {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.pdc-tag-comp {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.pdc-compare-meta {
    font-size: 0.78rem;
    color: var(--pdc-text-muted);
}

.pdc-meta-success {
    color: #34d399;
    font-weight: 600;
}

.pdc-canvas-scroller {
    max-height: 560px;
    overflow: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pdc-preview-canvas {
    display: inline-block;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Split Slider View Container */
.pdc-split-slider-wrap {
    position: relative;
    background: #0f172a;
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.pdc-canvas-scroller {
    position: relative;
    width: 100%;
    max-height: 82vh;
    min-height: 480px;
    overflow: auto;
    background: #020617;
    border-radius: var(--pdc-radius-sm);
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.pdc-split-container {
    position: relative;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
}

.pdc-split-canvas-orig {
    display: block;
    background: #fff;
}

.pdc-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid #10b981;
}

.pdc-split-canvas-comp {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: #fff;
}

.pdc-split-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #10b981;
    cursor: ew-resize;
    z-index: 5;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.pdc-split-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Savings Scorecard Banner */
.pdc-savings-scorecard {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 14px 20px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius-sm);
    flex-wrap: wrap;
    gap: 12px;
}

.pdc-score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pdc-score-label {
    font-size: 0.75rem;
    color: var(--pdc-text-muted);
    margin-bottom: 2px;
}

.pdc-score-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
}

.pdc-text-emerald {
    color: #34d399;
}

.pdc-score-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 9999px;
    color: #34d399;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   COLUMN 2: CONTROLS PANEL & EXPORT
   ══════════════════════════════════════════════════════════ */
.pdc-controls-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdc-mode-tabs-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pdc-comp-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: var(--pdc-radius-sm);
    color: var(--pdc-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdc-comp-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.pdc-comp-tab.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Cards */
.pdc-card {
    background: var(--pdc-card-bg);
    border: 1px solid var(--pdc-card-border);
    border-radius: var(--pdc-radius);
    padding: 20px;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.pdc-card-header {
    margin-bottom: 16px;
}

.pdc-step-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.pdc-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.pdc-card-title-sm {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

/* Target Presets Grid */
.pdc-portal-presets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.pdc-preset-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pdc-preset-card:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-2px);
}

.pdc-preset-card.active {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.pdc-preset-size {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.pdc-preset-card.active .pdc-preset-size {
    color: #34d399;
}

.pdc-preset-desc {
    font-size: 0.72rem;
    color: var(--pdc-text-muted);
}

/* Custom Target Row */
.pdc-custom-target-row {
    margin-bottom: 14px;
}

.pdc-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.pdc-input-addon {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--pdc-card-border);
    border-radius: 8px;
    overflow: hidden;
}

.pdc-number-input {
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.pdc-number-input:focus {
    outline: none;
}

.pdc-addon-text {
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #34d399;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.pdc-solver-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 12px;
    border-radius: 8px;
}

/* DPI Buttons Row */
.pdc-dpi-presets-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.pdc-dpi-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #cbd5e1;
}

.pdc-dpi-btn strong {
    font-size: 0.88rem;
    color: #fff;
}

.pdc-dpi-btn span {
    font-size: 0.65rem;
    color: var(--pdc-text-muted);
}

.pdc-dpi-btn.active {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #34d399;
}

.pdc-dpi-btn.active strong {
    color: #34d399;
}

/* Slider Row */
.pdc-slider-row {
    margin-bottom: 8px;
}

.pdc-slider-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.pdc-range {
    width: 100%;
    accent-color: #10b981;
    cursor: pointer;
}

/* Booster Toggle Options */
.pdc-toggle-option {
    margin-bottom: 12px;
}

.pdc-toggle-option:last-child {
    margin-bottom: 0;
}

.pdc-switch-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.pdc-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.pdc-slider-round {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: 0.2s;
}

.pdc-slider-round:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.2s;
}

.pdc-switch-label input:checked + .pdc-slider-round {
    background-color: #10b981;
}

.pdc-switch-label input:checked + .pdc-slider-round:before {
    transform: translateX(18px);
}

.pdc-option-text strong {
    display: block;
    font-size: 0.85rem;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.pdc-option-text span {
    font-size: 0.75rem;
    color: var(--pdc-text-muted);
    line-height: 1.4;
}

/* Export & Progress Card */
.pdc-export-card {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(6, 78, 59, 0.2) 100%);
}

.pdc-progress-wrap {
    margin-bottom: 14px;
}

.pdc-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #34d399;
    margin-bottom: 6px;
    font-weight: 600;
}

.pdc-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.pdc-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 4px;
    transition: width 0.2s ease;
}

.pdc-btn-compress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.pdc-btn-compress:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.pdc-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 12px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Strict 1-Column Mobile Layout)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .pdc-studio-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .pdc-header-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .pdc-quick-badges {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pdc-top-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pdc-toolbar-actions {
        justify-content: space-between;
    }

    .pdc-side-by-side-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pdc-dropzone {
        padding: 36px 16px;
    }

    .pdc-studio-title {
        font-size: 1.45rem;
    }

    .pdc-drop-actions {
        flex-direction: column;
        width: 100%;
    }

    .pdc-btn-browse,
    .pdc-btn-sample {
        width: 100%;
        justify-content: center;
    }

    .pdc-portal-presets-grid {
        grid-template-columns: 1fr;
    }
}
