/* ==========================================================================
   Drum page specific styles
   ========================================================================== */

/* Drum-specific header (flex layout with back link) */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    min-height: 50px; /* Prevent layout shift */
}

.header-logo {
    width: min(140px, 32vw);
    height: auto;
    min-height: 40px; /* Reserve space while loading */
    margin: 0;
    display: block;
    object-fit: contain;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    max-height: 280px;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #f8f8f8;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    height: 280px;
}

.carousel-track img {
    min-width: 100%;
    width: 100%;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.carousel-track img:hover {
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Collapsible Description */
.description-collapsible {
    margin-bottom: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
}

.description-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f8f8;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    transition: background 0.2s ease;
}

.description-toggle:hover {
    background: #f0f0f0;
}

.toggle-icon {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.description-collapsible.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.description-content {
    padding: 16px;
    color: #4c4c4c;
    font-size: 14px;
    line-height: 1.6;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.description-collapsible.collapsed .description-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.description-content p {
    margin: 0 0 12px 0;
}

.description-content p:last-of-type {
    margin-bottom: 0;
}

.description-content strong {
    color: #0a0a0a;
}

.description-content .description-note {
    font-size: 13px;
    color: #6b6b6b;
    font-style: italic;
}

.description {
    color: #4c4c4c;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.description p {
    margin: 0 0 12px 0;
}

.description p:last-of-type {
    margin-bottom: 0;
}

.description strong {
    color: #0a0a0a;
}

.description-note {
    font-size: 13px;
    color: #6b6b6b;
    font-style: italic;
}

.parts-link {
    display: inline-block;
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.parts-link:hover {
    background: #e8e8e8;
    text-decoration: none;
}

/* Two-column layout */
.layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 24px;
}

/* Panel header */
.panel-header {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    margin-bottom: 20px;
}

/* Sections */
.section {
    margin-bottom: 26px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #0a0a0a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 700;
}

/* File upload area */
.upload-area {
    border: 2px dashed #667eea;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9ff;
}

.upload-area:hover {
    background: #f0f2ff;
    border-color: #764ba2;
}

.upload-area.dragover {
    background: #e8ebff;
    border-color: #764ba2;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.upload-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.upload-hint {
    color: #999;
    font-size: 12px;
}

/* File info */
.file-info {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}

.file-info.show {
    display: block;
}

.file-info-text {
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
}

.file-name {
    font-weight: 600;
    color: #667eea;
    word-break: break-all;
}

/* Parameters grid */
.parameters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    min-height: 320px; /* Prevent layout shift while JS loads parameters */
}

/* Parameter groups */
.parameter-group {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow flex item to shrink */
}

.parameter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 6px;
    cursor: help;
    display: inline-block;
    transition: color 0.2s ease;
    position: relative;
}

.parameter-group label:hover {
    color: #0a0a0a;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* Label tooltip */
.label-tooltip {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 8px;
    background: #1c1c1c;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 280px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.label-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.label-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 16px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1c1c1c;
}

/* Parameter inputs */
.parameter-group input {
    padding: 10px 12px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    font-size: 13px;
    font-family: "IBM Plex Mono", "Menlo", monospace;
    transition: border-color 0.2s ease;
}

.parameter-group input:focus {
    outline: none;
    border-color: #0a0a0a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-with-unit input[type="text"] {
    flex: 1;
}

.input-with-unit.disabled {
    opacity: 0.5;
}

.input-with-unit.disabled input[type="text"] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

/* Optional/toggleable parameters (spans 2 columns) */
.optional-param {
    grid-column: span 2;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
}

.optional-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.optional-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.optional-toggle input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
    vertical-align: middle;
}

.optional-label {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 12px;
    line-height: 14px;
    vertical-align: middle;
    position: relative;
    cursor: help;
    display: inline-block;
}

.optional-label:hover {
    color: #0a0a0a;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.optional-label .label-tooltip {
    left: 0;
    top: 100%;
    white-space: normal;
    margin-top: 8px;
}

.optional-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.optional-input-row.hidden {
    display: none;
}

.optional-input-label {
    font-size: 12px;
    font-weight: 600;
    color: #1c1c1c;
    flex-shrink: 0;
}

.optional-input-row .input-with-unit {
    flex-shrink: 0;
}

.optional-input-row .input-with-unit input {
    width: 65px;
}

.optional-input-row .parameter-slider {
    flex: 1;
    min-width: 0;
}

.optional-range {
    font-size: 11px;
    color: #7a7a7a;
    flex-shrink: 0;
}

.unit-suffix {
    font-size: 13px;
    font-family: "IBM Plex Mono", "Menlo", monospace;
    color: #5a5a5a;
    width: 28px;
    text-align: left;
}

/* Parameter notes and errors */
.parameter-note {
    font-size: 11px;
    color: #7a7a7a;
    margin-top: 4px;
}

.parameter-error {
    font-size: 11px;
    color: #dc3545;
    margin-top: 4px;
    display: none;
}

.parameter-group.invalid input {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.parameter-group.invalid .parameter-error {
    display: block;
}

.parameter-group.invalid .parameter-note {
    display: none;
}

/* Validation summary */
.validation-summary {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    display: none;
}

.validation-summary.show {
    display: block;
}

/* Button group */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Drum page buttons */
button {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #0a0a0a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #0a0a0a;
    color: #ffffff;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-submit.loading,
.btn-secondary.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading::after,
.btn-secondary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading::after {
    border-top-color: #ffffff;
}

.btn-secondary.loading::after {
    border-top-color: #0a0a0a;
}

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

.btn-secondary {
    background: #ffffff;
    color: #0a0a0a;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

/* Preview frame */
.preview-frame {
    background: #f8f8f8;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 16px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-frame img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    display: none;
    background: #ffffff;
}

.preview-frame.has-image img {
    display: block;
}

.preview-empty {
    font-size: 13px;
    color: #6b6b6b;
    text-align: center;
    max-width: 220px;
}

.preview-actions {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12px;
    color: #6b6b6b;
}

.preview-actions span {
    flex: 1 1 220px;
    line-height: 1.4;
}

.preview-link {
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.preview-link:hover {
    text-decoration: underline;
}

/* Assembly Instructions Section */
.instructions-section {
    margin-top: 40px;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.instructions-header {
    text-align: center;
    margin-bottom: 32px;
}

.instructions-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 8px 0;
}

.instructions-header p {
    font-size: 14px;
    color: #6b6b6b;
    margin: 0;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.instruction-step {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.step-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.step-image {
    width: 100%;
    height: 160px;
    background: #e8e8e8;
    position: relative;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step-image img[src=""],
.step-image img:not([src]),
.step-image img[src*="placeholder"] {
    display: none;
}

.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 13px;
    text-align: center;
}

.step-image img:not([src=""]):not([src*="placeholder"]) + .placeholder-text {
    display: none;
}

.step-content {
    padding: 16px;
}

.step-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .instructions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .parameters-grid {
        grid-template-columns: 1fr;
        min-height: 640px; /* Taller for single column layout */
    }

    .optional-param {
        grid-column: span 1;
    }

    .button-group {
        flex-direction: column;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #667eea;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: lightbox-zoom-in 0.3s ease;
}

@keyframes lightbox-zoom-in {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
    max-width: 600px;
}

.lightbox-caption strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 600px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

.lightbox-caption span {
    color: #aaa;
}

.gallery-item img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   Parameter Sliders
   ========================================================================== */

.input-with-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0; /* Allow flex item to shrink below content size */
    padding-right: 8px; /* Room for slider thumb */
}

.input-with-slider .input-with-unit {
    flex-shrink: 0;
    width: 105px; /* Fixed width for consistent slider positioning */
}

.input-with-slider .input-with-unit input[type="text"] {
    width: 65px;
}

.parameter-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 4px;
    border-radius: 2px;
    background: #d6d6d6;
    outline: none;
    cursor: pointer;
}

.parameter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0a0a0a;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.parameter-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #333;
}

.parameter-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0a0a0a;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.parameter-slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: #d6d6d6;
}

/* Materials & Parts Section */
.materials-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e2e2;
}

.materials-header {
    text-align: center;
    margin-bottom: 24px;
}

.materials-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.materials-header p {
    font-size: 14px;
    color: #6b6b6b;
}

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

.material-item {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s ease;
}

.material-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.material-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 8px;
}

.material-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.material-info strong {
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0a;
}

.material-info span {
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.4;
}

/* Print Instructions Modal */
.instructions-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructions-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.instructions-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modal-slide-in 0.3s ease;
    position: relative;
}

@keyframes modal-slide-in {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.instructions-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #6b6b6b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.instructions-modal-close:hover {
    color: #0a0a0a;
}

.instructions-modal-content h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
}

.instructions-intro {
    color: #6b6b6b;
    margin-bottom: 24px;
    font-size: 14px;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.print-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.print-step-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 1px solid #0a0a0a;
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.print-step-content h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0a;
}

.print-step-content p {
    margin: 0;
    font-size: 13px;
    color: #6b6b6b;
    line-height: 1.5;
}

.instructions-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #0a0a0a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.instructions-modal-btn.primary {
    background: #0a0a0a;
    color: #fff;
}

.instructions-modal-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.instructions-modal-btn.secondary {
    background: #fff;
    color: #0a0a0a;
}

.instructions-modal-btn.secondary:hover {
    background: #f5f5f5;
}

.modal-button-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
