#product-currency-price-box {
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#product-currency-price-box h3 {
  font-size: 18px;
  margin: 0 0 20px;
  color: #143562;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}

.currency-options {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}

.currency-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.currency-options input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #143562;
}

#usd-price-box,
#eur-price-box {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: "IRANSansXFaNum", sans-serif !important;
}

#usd-price-box:hover,
#eur-price-box:hover {
  border-color: #143562;
  background: #f8f9fa;
}

#usd-price-box > div,
#eur-price-box > div {
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}

#usd-price-box strong,
#eur-price-box strong {
  color: #143562;
  font-size: 18px;
  font-weight: 700;
  background: #e8edf5;
  padding: 2px 6px;
  margin:0 5px;
  border-radius: 4px;
  font-family: "IRANSansXFaNum", sans-serif !important;
}

#usd-price-input,
#eur-price-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
  direction: ltr;
  text-align: left;
  font-family: "IRANSansXFaNum", sans-serif !important;
}

#usd-price-input:focus,
#eur-price-input:focus {
  border-color: #143562;
  box-shadow: 0 0 0 3px rgba(20, 53, 98, 0.1);
}

.currency-price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 10px 30px;
  background: #143562;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.currency-price-button:hover {
  background: #0d2847;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 53, 98, 0.3);
}

.currency-price-button:active {
  transform: translateY(0);
}

#currency-message {
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 15px !important;
  margin-top: 15px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: "IRANSansXFaNum", sans-serif !important;
}

.currency-options label,
#usd-price-box,
#eur-price-box,
#currency-message {
  direction: rtl;
}

#usd-price-input,
#eur-price-input {
  direction: ltr;
  text-align: left;
}

#usd-price-input::placeholder,
#eur-price-input::placeholder {
  direction: rtl;
  text-align: right;
}

@media (max-width: 768px) {
  .currency-options {
    flex-direction: column;
    gap: 12px;
  }

  .currency-price-button {
    width: 100%;
    justify-content: center;
  }
}
