/* EMI Calculator Styles matching CashTree.pro theme */

.emi-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.emi-calculator-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.emi-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .emi-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.emi-panel {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.emi-results-panel {
    background-color: #f8fafc;
}

.emi-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #334155;
}

.emi-amount-input {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.emi-amount-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
    color: #475569;
}

.emi-amount-btn:hover {
    background: #e2e8f0;
}

.emi-amount-value {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 0;
    color: #0f172a;
}

.emi-interest-input {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.emi-interest-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
    color: #475569;
}

.emi-interest-btn:hover {
    background: #e2e8f0;
}

.emi-interest-value {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 0;
    color: #0f172a;
}

.emi-small-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.emi-terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.emi-term-btn {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.emi-term-btn.active {
    background: #0f766e;
    border-color: #0f766e;
    color: white;
    font-weight: 600;
}

.emi-term-btn:hover:not(.active) {
    background: #f1f5f9;
}

.emi-result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.emi-result-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.emi-result-label {
    font-size: 0.875rem;
    color: #64748b;
}

.emi-result-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: #0f172a;
}

.emi-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 1rem;
}