/* Currency Select Dropdown */
.currency-dropdown-container {
    position: relative;
    display: inline-block;
    font-family: var(--font-body);
}

/* Desktop: Show desktop-only, hide mobile-only */
.currency-dropdown-container.desktop-only {
    display: inline-block;
}

.currency-dropdown-container.mobile-only {
    display: none;
}

/* Mobile: Hide desktop-only, show mobile-only */
@media (max-width: 768px) {
    .currency-dropdown-container.desktop-only {
        display: none !important;
    }
    
    .currency-dropdown-container.mobile-only {
        display: block !important;
        margin-top: 15px;
        width: 100%;
        text-align: center;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
}

.currency-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Custom styled select */
.currency-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 32px 8px 16px; /* Right padding for arrow */
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    min-width: 80px;
}

.currency-select:hover {
    background-color: #ffffff;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.currency-select:focus {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Custom Arrow Icon */
.currency-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.currency-select:focus + .currency-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--md-sys-color-primary);
}

/* Option styling (limited browser support but good effort) */
.currency-select option {
    padding: 10px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-weight: 500;
}
