#td-quote-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.td-card {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.td-card h3 { margin-top: 0; color: #fff; margin-bottom: 20px; }

.stl-upload-box {
    border: 2px dashed #444;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #252525;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.stl-upload-box.dragover { border-color: #0a2463; background: #2a2a2a; }
.folder-icon { font-size: 40px; color: #f1c40f; display: block; margin-bottom: 10px; }

.stl-preview {
    width: 100%;
    height: 250px;
    background: #111;
    border-radius: 8px;
    display: none;
    margin-bottom: 20px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #ccc;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.td-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.radio-group { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.radio-group label { cursor: pointer; margin: 0; }
.radio-group input { display: none; }
.radio-group span {
    display: block;
    padding: 8px 18px;
    background: #333;
    border-radius: 6px;
    transition: 0.3s;
    font-size: 14px;
}
.radio-group input:checked + span { background: #0a2463; color: white; }
.radio-group input:disabled + span { opacity: 0.2; cursor: not-allowed; }

.slider-container { margin: 20px 0; }
.kitoltes-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #444;
    outline: none;
    margin: 15px 0;
}
.kitoltes-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0a2463;
    cursor: pointer;
    border: 2px solid #fff;
}

.toggle-row { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}
.slider-toggle:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}
input:checked + .slider-toggle { background-color: #0a2463; }
input:checked + .slider-toggle:before { transform: translateX(86px); }

.toggle-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    pointer-events: none;
}
.label-kerem { color: transparent; transition: 0.3s; }
.label-nem { color: #fff; transition: 0.3s; }
input:checked + .slider-toggle .label-kerem { color: #fff; }
input:checked + .slider-toggle .label-nem { color: transparent; }

.td-action-buttons { display: flex; gap: 15px; margin-bottom: 30px; }
#add-model-btn, #submit-quote-btn {
    background: #0a2463; color: white; border: none; padding: 15px 20px;
    border-radius: 8px; cursor: pointer; font-weight: bold; flex: 2;
}
#reset-form-btn {
    background: #444; color: white; border: none; padding: 15px 20px;
    border-radius: 8px; cursor: pointer; flex: 1;
}

.remove-model { position: absolute; top: 15px; right: 15px; color: #ff4d4d; cursor: pointer; font-size: 24px; }
.gdpr-row { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0; font-size: 13px; }
.loader {
    border: 3px solid #f3f3f3; border-top: 3px solid #0a2463; border-radius: 50%;
    width: 18px; height: 18px; animation: spin 1s linear infinite; display: inline-block;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }