.emi-calculator-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.emi-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slider-header label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.slider-header span {
    font-weight: 700;
    color: #3498db;
    font-size: 18px;
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #e0e7ff;
    border-radius: 10px;
    outline: none;
    margin: 15px 0;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: #3498db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.input-group input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    transition: border-color 0.3s;
}

.input-group input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
}

.tenure-inputs {
    display: flex;
    gap: 10px;
}

.tenure-inputs input[type="number"] {
    flex: 1;
}

.tenure-inputs select {
    padding: 0 15px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.tenure-inputs select:focus {
    border-color: #3498db;
    outline: none;
}

.emi-results {
    background: #f8faff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3498db;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #d6e4ff;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.result-item span:first-child {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-item span:last-child {
    color: #e74c3c;
    font-weight: 800;
    font-size: 20px;
}

.fa-rupee-sign, 
.fa-percentage, 
.fa-calendar-alt,
.fa-money-bill-wave, 
.fa-coins, 
.fa-receipt {
    color: #3498db;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .emi-calculator-container {
        padding: 20px;
    }
    
    .result-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .result-item span:last-child {
        font-size: 18px;
    }
}