.emi-calculator-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.emi-calculator-container h3 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.tenure-options {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.tenure-options label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.emi-button {
    width: 100%;
    padding: 14px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.emi-button:hover {
    background: #2980b9;
}

.emi-results {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.result-item span:first-child {
    color: #7f8c8d;
}

.result-item span:last-child {
    font-weight: 600;
    color: #2c3e50;
}

.total-payable {
    font-size: 18px;
    padding-top: 15px;
    border-bottom: none !important;
    margin-top: 5px;
}

.total-payable span:last-child {
    color: #27ae60;
    font-size: 20px;
}

.result-note {
    margin-top: 15px;
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive design */
@media (max-width: 600px) {
    .emi-calculator-container {
        padding: 15px;
        margin: 15px;
    }
}