/* Main Container */
.wandio-config-container {
    max-width: 1200px;
    margin: 40px auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    min-height: 600px;
}

/* Steps Progress Bar */
.wc-steps {
    display: flex;
    justify-content: center;
    padding: 30px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.wc-step {
    padding: 10px 24px;
    font-weight: 600;
    color: #9ca3af;
    border-radius: 50px;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-step.active {
    color: #fff;
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.wc-step span.step-num {
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Content Area */
.wc-content {
    padding: 40px;
}

.wc-stage {
    display: none;
    animation: fadeIn 0.4s ease;
}

.wc-stage.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step 1: Upload */
.upload-zone {
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    padding: 80px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f9fafb;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: scale(1.01);
}

.upload-icon {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 16px;
}

.upload-text h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.upload-text p {
    color: #6b7280;
    margin: 0;
}

/* Step 2: Configuration Grid */
.config-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Preview Area */
.preview-area {
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.preview-image-wrapper {
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: width 0.3s, height 0.3s;
    background: #fff;
}

.preview-image-wrapper img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Sidebar Controls */
.config-controls h4 {
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.option-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.option-card:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.option-card.selected {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.option-name {
    display: block;
    font-weight: 600;
}

.option-price {
    display: block;
    font-size: 0.9em;
    opacity: 0.8;
}

/* DPI Warning */
.dpi-indicator {
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dpi-indicator.good { background-color: #dcfce7; color: #166534; }
.dpi-indicator.bad { background-color: #fee2e2; color: #991b1b; }

/* Buttons */
.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #1d4ed8;
}
