/* ===== Form Section ===== */
.form-section .section-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
    text-align: left;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-section .section-description {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-hint {
    color: #888;
    font-style: italic;
}

/* ===== Sliders ===== */
.slider-container {
    margin-top: 0.5rem;
    padding: 0 1rem;
}

.custom-slider {
    margin: 1rem 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

/* noUiSlider Customization */
.noUi-connect {
    background: #4CAF50;
}

.noUi-handle {
    width: 20px !important;
    height: 20px !important;
    right: -10px !important;
    top: -8px !important;
    border-radius: 50%;
    background: #4CAF50;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    transform: scale(1.1);
}

.noUi-target {
    border: none;
    box-shadow: none;
}

.noUi-base {
    background: #e0e0e0;
    border-radius: 2px;
}

.noUi-connects {
    border-radius: 2px;
}

/* ===== Max Throw Optional Interface ===== */
.max-throw-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-label {
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    user-select: none;
}

.max-throw-input-container {
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.max-throw-input-container.show {
    display: block !important;
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.max-throw-input-container.hide {
    display: none !important;
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
.form-section {
        margin-bottom: 1.5rem;
    }

.form-label {
        font-size: 0.9rem;
    }

.form-input {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}
