.emi-calculator-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Arial', sans-serif;
}

.emi-calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.emi-calculator-header h3 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.emi-calculator-header i {
    margin-right: 10px;
}

.emi-calculator-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group label i {
    margin-right: 8px;
    color: #667eea;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5ee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.tenure-container {
    display: flex;
    gap: 10px;
}

.tenure-container input {
    flex: 2;
}

.tenure-container select {
    flex: 1;
}

.emi-calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.emi-calculate-btn:hover {
    transform: translateY(-2px);
}

.emi-calculate-btn:active {
    transform: translateY(0);
}

.emi-results {
    background: white;
    padding: 25px;
    border-radius: 10px;
    animation: fadeIn 0.5s ease-in;
}

.emi-results h4 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span {
    color: #666;
    font-size: 16px;
}

.result-item strong {
    color: #667eea;
    font-size: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .emi-calculator-container {
        margin: 10px;
        padding: 20px;
    }
    
    .emi-calculator-form,
    .emi-results {
        padding: 20px;
    }
}