/**
 * Stylesheet: pdf-page-number-header-margin-cropper.css
 * Tool 14: PDF Page Number, Header/Footer & Margin Cropper Studio
 *
 * Strict 2-Column Desktop / 1-Column Mobile Layout
 * Modern Creative Studio Visual Identity
 */

/* ── Root Workspace ── */
.pnh-workspace {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.tool-workspace.pnh-workspace {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
}

@media (max-width: 1024px) {
    .tool-workspace.pnh-workspace {
        grid-template-columns: 1fr;
    }
}

/* ── Top Tool Header Banner ── */
.pnh-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.pnh-header-left {
    max-width: 760px;
}

.pnh-badge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-3);
}

.pnh-studio-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-heading);
    margin: 0 0 var(--space-3);
    letter-spacing: -0.025em;
}

.pnh-title-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pnh-studio-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.pnh-header-right {
    flex-shrink: 0;
}

.pnh-quick-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.pnh-pill-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 11px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pnh-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: pnhPulse 2s infinite;
}

@keyframes pnhPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── Upload Stage ── */
.pnh-upload-stage {
    margin: var(--space-4) 0 var(--space-8);
}

.pnh-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-14) var(--space-8);
    border: 2px dashed rgba(56, 189, 248, 0.35);
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.06), transparent 70%),
                rgba(15, 23, 42, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-2xl);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.pnh-dropzone:hover,
.pnh-dropzone.dragover {
    border-color: #38bdf8;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.12), transparent 70%),
                rgba(15, 23, 42, 0.75);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

.pnh-hidden-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.pnh-drop-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    margin-bottom: var(--space-5);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.pnh-glow-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
    animation: pnhGlowRing 3s ease-in-out infinite;
}

@keyframes pnhGlowRing {
    0%, 100% { opacity: 0.4; transform: scale(0.96); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.pnh-drop-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 var(--space-2);
}

.pnh-drop-desc {
    max-width: 620px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 var(--space-6);
}

.pnh-drop-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    z-index: 6;
}

.pnh-btn-browse,
.pnh-btn-sample {
    position: relative;
    z-index: 6;
}

.pnh-drop-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.pnh-drop-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Top Studio Status Bar ── */
.pnh-top-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-subtle);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pnh-toolbar-file {
    display: flex;
    align-items: center;
}

.pnh-file-pill {
    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: 5px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pnh-pill-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pnh-toolbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pnh-btn-nav {
    padding: 6px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.pnh-btn-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: #38bdf8;
    color: #38bdf8;
}

.pnh-btn-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pnh-nav-readout {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0 4px;
}

.pnh-nav-readout strong {
    color: var(--text-heading);
}

.pnh-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pnh-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   STRICT 2-COLUMN DESKTOP / 1-COLUMN MOBILE GRID
   ══════════════════════════════════════════════════════════ */
.pnh-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 440px);
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 1024px) {
    .pnh-grid-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Card Styling ── */
.pnh-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.pnh-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.pnh-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.pnh-step-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 8px;
    border-radius: 9999px;
}

/* ── Column 1: Canvas Viewport ── */
.pnh-stage-card {
    display: flex;
    flex-direction: column;
    min-height: 580px;
}

.pnh-stage-header {
    margin-bottom: var(--space-3);
}

.pnh-stage-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pnh-status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pnh-zoom-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pnh-zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s;
}

.pnh-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
}

.pnh-canvas-viewport {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    min-height: 480px;
    overflow: auto;
}

.pnh-page-wrapper {
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
    background: #ffffff;
    border-radius: 3px;
    transition: transform 0.15s ease-out;
}

.pnh-preview-canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ── Live Stamp Overlay Layer (Over Canvas) ── */
.pnh-stamp-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.pnh-anchor-box {
    position: absolute;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #374151;
    white-space: nowrap;
    padding: 2px 6px;
    border-radius: 2px;
    transition: all 0.15s;
    -webkit-user-select: none;
    user-select: none;
}

.pnh-anchor-tl { top: 30px; left: 30px; }
.pnh-anchor-tc { top: 30px; left: 50%; transform: translateX(-50%); }
.pnh-anchor-tr { top: 30px; right: 30px; }
.pnh-anchor-bl { bottom: 30px; left: 30px; }
.pnh-anchor-bc { bottom: 30px; left: 50%; transform: translateX(-50%); }
.pnh-anchor-br { bottom: 30px; right: 30px; }

/* Active preview highlight on selected stamp anchor */
.pnh-anchor-box.highlight {
    background: rgba(56, 189, 248, 0.15);
    border: 1px dashed rgba(56, 189, 248, 0.6);
    color: #0284c7;
    font-weight: 600;
}

/* ── Crop Overlay Guides ── */
.pnh-crop-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
}

.pnh-crop-curtain {
    position: absolute;
    background: rgba(15, 23, 42, 0.65);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    transition: all 0.12s;
}

.pnh-curtain-top { top: 0; left: 0; right: 0; height: 0; }
.pnh-curtain-bottom { bottom: 0; left: 0; right: 0; height: 0; }
.pnh-curtain-left { top: 0; bottom: 0; left: 0; width: 0; }
.pnh-curtain-right { top: 0; bottom: 0; right: 0; width: 0; }

.pnh-crop-boundary {
    position: absolute;
    border: 2px dashed #f59e0b;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.pnh-crop-tag {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #f59e0b;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
    text-transform: uppercase;
}

/* ── Stage Footer ── */
.pnh-stage-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pnh-footer-tips {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pnh-inline-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.pnh-inline-checkbox input {
    display: none;
}

.pnh-check-pill {
    width: 32px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    position: relative;
    transition: background 0.2s;
}

.pnh-check-pill::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.pnh-inline-checkbox input:checked + .pnh-check-pill {
    background: #38bdf8;
}

.pnh-inline-checkbox input:checked + .pnh-check-pill::after {
    transform: translateX(14px);
}

/* ── Column 2: Controls Column ── */
.pnh-controls-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ── Tab Selector Strip ── */
.pnh-tabs-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 4px;
    border-radius: var(--radius-xl);
}

.pnh-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pnh-tab-btn:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.05);
}

.pnh-tab-btn.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ── 6-Anchor Visual Placement Grid ── */
.pnh-anchor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: var(--space-4);
}

.pnh-grid-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}

.pnh-grid-anchor:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.pnh-grid-anchor.active {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* ── Toggle Rows & Checkboxes ── */
.pnh-toggle-row {
    margin: var(--space-3) 0;
}

.pnh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.pnh-checkbox-label input {
    accent-color: #38bdf8;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Modern Studio Switch Pill ── */
.pnh-switch-pill {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.pnh-switch-pill input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.pnh-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.12);
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pnh-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #94a3b8;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.pnh-switch-pill input:checked + .pnh-switch-slider {
    background-color: #0284c7;
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.pnh-switch-pill input:checked + .pnh-switch-slider:before {
    transform: translateX(18px);
    background-color: #ffffff;
}

.badge-gray {
    background: rgba(148, 163, 184, 0.15) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    border-radius: 9999px;
    font-weight: 600;
}

.badge-cyan {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 9999px;
    font-weight: 600;
}

.pnh-subcard {
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pnh-subcard:hover {
    border-color: rgba(56, 189, 248, 0.25) !important;
}

.pnh-perm-desc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pnh-perm-desc strong {
    font-size: 0.88rem;
    color: var(--text-heading);
}

.pnh-perm-desc span {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pnh-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--space-4) 0;
}

/* ── Form Inputs & Selects ── */
.pnh-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-3);
}

.pnh-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pnh-select,
.pnh-text-input {
    width: 100%;
    padding: 9px 12px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.88rem;
    transition: all 0.18s;
}

.pnh-select:focus,
.pnh-text-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.pnh-inline-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.pnh-inline-grid-3 {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: var(--space-2);
}

.pnh-color-picker-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 4px 8px;
}

.pnh-color-input {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

#pnhColorHexReadout {
    font-size: 0.78rem;
    font-family: monospace;
    color: var(--text-secondary);
}

/* ── Sliders ── */
.pnh-slider-row {
    margin-top: var(--space-3);
}

.pnh-slider-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.pnh-range {
    width: 100%;
    accent-color: #38bdf8;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* ── Align Button Groups ── */
.pnh-align-btn-group {
    display: inline-flex;
    gap: 4px;
    margin-top: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pnh-align-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.18s;
}

.pnh-align-btn:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.08);
}

.pnh-align-btn.active {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

/* ── Margin Cropper Inputs ── */
.pnh-crop-inputs-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.pnh-crop-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pnh-crop-presets {
    margin-top: var(--space-2);
}

.pnh-preset-title {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pnh-preset-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pnh-btn-chip {
    padding: 5px 10px;
    font-size: 0.76rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s;
}

.pnh-btn-chip:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}

/* ── Action Card & Export ── */
.pnh-action-card {
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08), transparent 70%),
                rgba(15, 23, 42, 0.85);
    border-color: rgba(56, 189, 248, 0.25);
}

.pnh-action-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 2px;
}

.pnh-action-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 var(--space-4);
}

.pnh-btn-export {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
    cursor: pointer;
    transition: all 0.22s;
}

.pnh-btn-export:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.45);
}

.pnh-btn-export:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Progress Bar */
.pnh-progress-wrap {
    margin-bottom: var(--space-3);
}

.pnh-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.pnh-progress-bar-bg {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.pnh-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    transition: width 0.15s;
}

/* Trust Badge Footer */
.pnh-trust-footer-card {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}
