/**
 * Wall Art Configurator - Use Case Specific Styles
 * Multi-panel wall art with individual smart object configuration
 */

/* ===== Wall Art Layout ===== */
.wallart-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    min-height: 500px;
}

/* ===== Wall Art Preview ===== */
.wallart-preview {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f5f5f4 0%, #e7e5e4 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    min-height: 400px;
    box-shadow: var(--shadow);
}

.wallart-frame {
    width: 180px;
    height: 240px;
    background: var(--surface);
    border: 3px solid #1a1a1a;
    border-radius: var(--radius-sm);
    box-shadow:
        var(--shadow-lg),
        inset 0 0 0 8px #f5f5f4;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.wallart-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        var(--shadow-xl),
        inset 0 0 0 8px #f5f5f4;
}

.wallart-frame.dragover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.wallart-frame.has-artwork {
    background-size: cover;
    background-position: center;
}

.frame-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 16px;
    transition: opacity 0.2s ease;
}

.frame-number {
    width: 32px;
    height: 32px;
    background: var(--surface-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.frame-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Panel Controls ===== */
.wallart-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-config {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.panel-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.upload-small {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
}

.upload-small:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.upload-small svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.upload-small span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .wallart-content {
        grid-template-columns: 1fr;
    }

    .wallart-controls {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .panel-config {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .wallart-preview {
        flex-direction: column;
        padding: 24px;
    }

    .wallart-frame {
        width: 140px;
        height: 180px;
    }
}
