/* Gesamtwrapper */
.chgservice3d-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
.chgservice3d-wrapper h2 {
    text-align: center;
    color: #333;
}

/* Formular */
.chgservice3d-form {
    margin-bottom: 20px;
}
.chgservice3d-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}
.chgservice3d-form input[type="file"],
.chgservice3d-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.chgservice3d-form button {
    background-color: #0073aa;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.chgservice3d-form button:hover {
    background-color: #005f8d;
}

/* Ergebnisbereich */
.chgservice3d-result {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
/* 3D-Vorschau */
#viewer-container {
    flex: 2;
    min-width: 300px;
    height: 60vh;
    max-height: 500px;
    background: #f4f4f4;
    border: 1px solid #ccc;
}
/* Zusatzoptionen */
.additional-options {
    flex: 1;
    min-width: 260px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
}
.additional-options h3 {
    margin-top: 0;
    color: #333;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
}
.popup-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.popup-content th, .popup-content td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}
