/* Currency conversion styles for Malaysia Stamp Duty Calculator */

.currency-converted {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: normal;
}

#exchange-rate-info {
    font-size: 0.8em;
}

#exchange-rate-info .text-success,
#exchange-rate-info .text-warning {
    font-size: 0.7em;
}

/* Currency selector styling */
#display-currency {
    border-color: #0d6efd;
}

#display-currency:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Results section improvements */
.card-body .row .col-4 {
    min-width: 120px;
}

/* Responsive currency display */
@media (max-width: 768px) {
    .currency-converted {
        font-size: 0.8em;
    }
    
    #exchange-rate-info {
        font-size: 0.75em;
    }
}

/* Loading state for exchange rates */
.exchange-rate-loading {
    color: #6c757d;
    font-style: italic;
}

.exchange-rate-error {
    color: #dc3545;
}

.exchange-rate-success {
    color: #198754;
}

/* Currency symbol styling */
.currency-symbol {
    font-weight: 600;
}

/* Highlight converted amounts */
.converted-amount {
    background-color: rgba(13, 110, 253, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}