#emi-calculator-marathi {
    font-family: 'Poppins', sans-serif;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.emc-header h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2rem;
}

.emc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.emc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emc-field {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.emc-field input[type="range"] {
    width: 100%;
    height: 7px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    margin: 10px 0;
}

.emc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.emc-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.emc-input {
    padding: 0.8rem 1rem;
    border: 2px solid #cfd9e0;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.3s;
}

.emc-input:focus {
    border-color: #3498db;
    outline: none;
}

.emc-select {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 2px solid #cfd9e0;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.emc-select:hover {
    border-color: #3498db;
}

.emc-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.emc-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.emc-result-item {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.emc-result-item span:first-child {
    color: #4a5568;
}

.emc-chart-container {
    position: relative;
    height: 250px;
    margin: 1rem 0;
}

.emc-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 100%;
}

.emc-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .emc-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .emc-field {
        margin-bottom: 1rem;
    }
    
    .emc-header h2 {
        font-size: 1.5rem;
    }
}