.emi-calculator-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.emi-calculator-container h3 {
    margin-top: 0;
    color: #2c3e50;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.emi-calculator-container h3 i {
    margin-right: 10px;
    color: #3498db;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-group label i {
    margin-right: 8px;
    width: 20px;
    color: #3498db;
}

.form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.tenure-container {
    display: flex;
}

.tenure-container input[type="number"] {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.tenure-container select {
    width: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #fff;
    font-size: 16px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    flex: 1;
}

.emi-calculate-btn {
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.emi-calculate-btn:hover {
    background-color: #2980b9;
}

.emi-calculate-btn i {
    margin-right: 8px;
}

.emi-reset-btn {
    padding: 12px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.emi-reset-btn:hover {
    background-color: #c0392b;
}

.emi-reset-btn i {
    margin-right: 8px;
}

.emi-results-container {
    margin-top: 25px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.emi-results-container h4 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.emi-results-container h4 i {
    margin-right: 10px;
    color: #27ae60;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: #7f8c8d;
}

.result-value {
    font-weight: 700;
    color: #27ae60;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .emi-calculator-container {
        padding: 15px;
    }
    
    .button-group {
        flex-direction: column;
    }
}