/* Main Container */
.professional-emi-calculator {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Header */
.calculator-header {
    background: #4361ee;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calculator-header i {
    font-size: 24px;
}

.calculator-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
}

/* Body */
.calculator-body {
    padding: 25px;
}

/* Input Groups */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: #4361ee;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.tenure-input {
    display: flex;
    gap: 10px;
}

.tenure-input input {
    flex: 1;
}

.tenure-input select {
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    min-width: 100px;
}

/* Button */
.calculate-btn {
    width: 100%;
    padding: 14px;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.calculate-btn:hover {
    background: #3a56d4;
}

.calculate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Results */
.results-container {
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    display: none;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item span:first-child {
    color: #4a5568;
    font-weight: 500;
}

.result-item span:last-child {
    color: #1a202c;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 480px) {
    .calculator-body {
        padding: 20px 15px;
    }
    
    .calculator-header {
        padding: 15px;
    }
    
    .tenure-input {
        flex-direction: column;
    }
    
    .tenure-input select {
        width: 100%;
        padding: 12px 15px;
    }
}