.form-compact {
    max-width: 800px;
}

.range-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.range-container:hover {
    background: #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.range-label {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-value {
    background: #007bff;
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.range-value.zero {
    background: #6c757d;
}

.custom-range {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #6c757d 0%, #28a745 20%, #ffc107 40%, #fd7e14 60%, #dc3545 100%);
}

.custom-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.custom-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-range::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.form-check {
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.form-check:hover {
    background: #f8f9fa;
}

.custom-control {
    cursor: pointer;
}

.custom-control:hover {
    background: #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-control-label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #495057;
    user-select: none;
}

.custom-control-input:checked ~ .custom-control-label {
    color: #007bff;
    font-weight: 500;
}

.custom-radio .custom-control-label::before {
    border-radius: 50%;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
    border-color: #007bff;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.info-text {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

h2 {
    color: #495057;
    margin-bottom: 30px;
}
