/* Currency Formatting Styles */

/* Price label */
.price-label {
    display: block;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Currency selector container */
.currency-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Currency selector dropdown */
#currency-select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    font-size: 0.875rem;
    color: #1f2937;
    cursor: pointer;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 150px;
}

#currency-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Price display with currency */
.price-with-currency {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.currency-symbol {
    font-weight: normal;
    font-size: 0.8em;
    opacity: 0.8;
}

/* Styling for POA (Price on Application) */
.poa {
    font-weight: 700;
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .currency-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #currency-select {
        margin-top: 0.25rem;
    }
}

/* Animation for price change */
@keyframes price-highlight {
    0% { background-color: rgba(99, 102, 241, 0.2); }
    100% { background-color: transparent; }
}

.price-changed {
    animation: price-highlight 1s ease-out;
}
