/* ===== Interest Rate Calculator Specific Styles ===== */
.interest-calculator-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.interest-calculator-container h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

#irCalculatorForm .form-group {
    margin-bottom: 1.2rem;
}

#irCalculatorForm input[type="number"] {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.tenure-container {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
}

#ir_tenureType {
    padding: 0.5rem;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    background: #ffffff;
}

/* Results specific to interest calculator */
.interest-results #ir_interestRate {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.2rem;
}

.interest-results .result-item.total {
    background: #27ae60;
    color: white;
}

/* ===== Common Styles (for both calculators) ===== */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.calculate-btn {
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    width: 100%;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.result-item span:first-child {
    color: #4a5568;
}

.result-item span:last-child {
    font-weight: 500;
    color: #2d3748;
}