/* Step Progress */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-color, #e5e7eb);
    color: var(--text-muted, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}
.step-item.active .step-circle {
    background: var(--primary, #7c3aed);
    color: white;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary, #7c3aed) 20%, transparent);
}
.step-item.completed .step-circle {
    background: var(--accent, #059669);
    color: white;
}
.step-item span {
    color: var(--text-muted, #9ca3af);
    font-size: 12px;
    white-space: nowrap;
}
.step-item.active span {
    color: var(--primary, #7c3aed);
    font-weight: 600;
}
.step-item.completed span {
    color: var(--accent, #059669);
}

/* Model Option */
.model-option {
    transition: all 0.2s;
    border: 2px solid var(--border-color, #e5e7eb);
}
.model-option:hover {
    border-color: var(--primary, #c4b5fd);
    background: var(--primary-bg, #faf5ff);
}
.model-option.selected {
    border-color: var(--primary, #7c3aed);
    background: color-mix(in srgb, var(--primary, #7c3aed) 8%, white);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #7c3aed) 15%, transparent);
}
.model-option input:checked + div {
    color: var(--primary, #7c3aed);
}

/* Topping */
.topping-option {
    transition: all 0.2s;
    border: 2px solid var(--border-color, #e5e7eb);
}
.topping-option:hover {
    border-color: var(--primary, #c4b5fd);
}
.topping-option.selected {
    border-color: var(--primary, #7c3aed);
    background: color-mix(in srgb, var(--primary, #7c3aed) 8%, white);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #7c3aed) 15%, transparent);
}

/* Upload Zone */
#uploadZone.dragover {
    border-color: var(--primary, #7c3aed) !important;
    background: var(--primary-bg, #f5f3ff);
}

/* Preview Container */
#previewContainer {
    position: relative;
    background: var(--bg, #f3f4f6);
}
#previewCanvas {
    display: block;
    touch-action: none;
}
.camera-hole {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(239, 68, 68, 0.6);
    background: rgba(239, 68, 68, 0.08);
    pointer-events: none;
    z-index: 10;
}
.safe-area {
    position: absolute;
    border: 2px dashed rgba(34, 197, 94, 0.5);
    pointer-events: none;
    z-index: 9;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Order Success */
.success-check {
    animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
    .step-item span {
        display: none !important;
    }
    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
