/* Wrapper layout */
#woo3d-wrapper {
    display: flex;
    gap: 10px;
    padding: 10px;
    position: relative;
    flex-wrap: wrap;
}

/* Sidebar */
#model-list {
    width: 250px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1;
}

/* Canvas container */
#3d-canvas {
    flex-grow: 1;
    height: 600px;
    min-height: 400px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

/* Controls - bottom center floating panel */
#controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Control buttons (zoom, rotate, reset) */
#controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

#controls button:hover {
    background: #f0f0f0;
}

/* PDF Upload */
#pdf-upload {
    display: block;
    margin-top: 5px;
    width: 100%;
    padding: 4px;
}

/* Remove PDF button */
#remove-pdf {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    background: #eee;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#remove-pdf:hover {
    background: #ddd;
}

/* Responsive layout */
@media(max-width: 768px) {
    #woo3d-wrapper {
        flex-direction: column;
    }

    #model-list {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    #3d-canvas {
        order: 1;
    }

    #controls {
        bottom: 15px;
        padding: 8px 12px;
    }

    #controls button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
