* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-section label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-control {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2661c5 0%, #2d5a4f 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    background: linear-gradient(135deg, #2661c5 0%, #2d5a4f 100%);
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2661c5 0%, #2d5a4f 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
    background: linear-gradient(135deg, #2661c5 0%, #2d5a4f 100%);
    transform: scale(1.1);
}

.slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

#carPriceValue {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: rgba(102, 126, 234, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: #555;
}

.calculator-results {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e0e0e0;
}

.calculator-results h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.results-section {
    margin-bottom: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-item.total {
    background: linear-gradient(135deg, #2661c5 0%, #2d5a4f 100%);
    color: white;
    border-left: none;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 15px;
    padding: 15px;
}

.result-item.total .result-label,
.result-item.total .result-value {
    color: white;
}

.result-label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.result-value {
    font-weight: 600;
    color: #667eea;
    font-size: 1rem;
}

.total-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.info-note {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.info-note p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-note ul {
    margin-left: 20px;
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.info-note li {
    margin-bottom: 5px;
}

@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .calculator-wrapper {
        padding: 20px;
    }

    .result-item.total {
        font-size: 1.1rem;
    }
}

