/* Print Queue & Sheet Styles */
.step3-grid-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
}

#print-sheet-preview-box {
    background: #334155;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
    position: relative;
}

#a4-print-sheet-canvas {
    background: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 4px;
}

.print-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.print-sliders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* Download Format Modal */
#download-format-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#download-preview-canvas {
    max-width: 100%;
    max-height: 360px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.download-modal-btns {
    padding: 0 28px 24px;
    display: flex;
    gap: 12px;
}

/* Step 3 Top Header Bar */
.step3-top-bar {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    padding: 10px 16px;
    border-radius: 12px;
    color: #FFFFFF;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.2);
}

.step3-top-bar .btn-back-to-editor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    user-select: none;
}

.step3-top-bar .btn-back-to-editor:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-2px);
}

.step3-top-bar .btn-back-to-editor i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.step3-top-bar .btn-back-to-editor:hover i {
    transform: translateX(-2px);
}

.step3-protip {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
}

.step3-top-bar .btn-modal-close {
    color: #FFFFFF;
    opacity: 0.9;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.step3-top-bar .btn-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}
