/* 3D Limbowand Konfigurator Styles */

.limbowand-3d-wrapper {
    margin: 20px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#limbo-container {
    flex: 1;
    height: 500px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.limbowand-3d-controls {
    flex-shrink: 0;
    width: 200px;
    height: 500px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    order: -1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.limbowand-3d-controls h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 14px !important;
    line-height: 1.2;
    font-family: inherit;
    color: #333;
}

.limbowand-3d-controls label {
    display: inline-block;
    min-width: 70px;
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 14px !important;
    line-height: 1.2;
    font-family: inherit;
    color: #555;
}

.limbowand-3d-controls input[type="number"],
.limbowand-3d-controls select {
    width: 100%;
    padding: 5px 6px;
    margin-bottom: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px !important;
    line-height: 1.2;
    font-family: inherit;
    box-sizing: border-box;
}

.form-field {
    margin-bottom: 4px;
}

.limbowand-3d-controls .button-group {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.limbowand-3d-controls button {
    width: 100%;
    padding: 8px 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background 0.3s;
}

.limbowand-3d-controls button:hover {
    background: #005a87;
}

.limbowand-3d-controls button:active {
    background: #004050;
}

.limbowand-3d-controls button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.limbowand-3d-controls .btn-update {
    background: #0073aa;
}

.limbowand-3d-controls .btn-pdf {
    background: #d63638;
}

.limbowand-3d-controls .btn-pdf:hover {
    background: #a00;
}

.limbowand-3d-controls .btn-pdf:active {
    background: #800;
}

/* Loading State */
.limbowand-3d-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}

.limbowand-3d-loading.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .limbowand-3d-wrapper {
        flex-direction: column;
    }
    
    .limbowand-3d-controls {
        width: 100%;
        height: auto;
        order: -1;
        max-width: none;
    }
    
    #limbo-container {
        height: 400px;
        width: 100%;
        order: 1;
    }
}

@media (max-width: 480px) {
    #limbo-container {
        height: 300px;
    }
    
    .limbowand-3d-controls {
        padding: 10px;
        height: auto;
    }
    
    .limbowand-3d-controls h3 {
        margin-bottom: 4px;
        font-size: 16px !important;
    }
    
    .limbowand-3d-controls label {
        font-size: 13px !important;
        margin-bottom: 1px;
    }
    
    .limbowand-3d-controls input[type="number"],
    .limbowand-3d-controls select {
        font-size: 16px !important;
        padding: 8px;
        margin-bottom: 3px;
    }
    
    .form-field {
        margin-bottom: 3px;
    }
    
    .limbowand-3d-controls .button-group {
        margin-top: 6px;
        gap: 4px;
    }
    
    .limbowand-3d-controls button {
        min-height: 44px;
        font-size: 16px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .limbowand-3d-controls .button-group {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 320px) {
    #limbo-container {
        height: 250px;
    }
    
    .limbowand-3d-controls input[type="number"],
    .limbowand-3d-controls select,
    .limbowand-3d-controls label {
        font-size: 14px !important;
    }
}


