import React from "react";
import { TextBox } from "@/components/ui/TextBox";

interface AmountDisplayProps {
  amountDisplayValue: string;
}

const AmountDisplay: React.FC<AmountDisplayProps> = ({ amountDisplayValue }) => {
  return (
    <div className="group">
      <div className="relative">
        <TextBox
          label="Amount"
          placeholder="Auto-calculated"
          type="text"
          className="text-sm bg-gradient-to-r from-slate-50 to-slate-100/50 border-slate-300/50 font-semibold text-slate-700"
          value={amountDisplayValue}
          readOnly
          disabled={true}
        />
        <div className="absolute inset-0 pointer-events-none rounded-lg bg-gradient-to-br from-[#428B4D]/5 to-transparent"></div>
      </div>
    </div>
  );
};

export default AmountDisplay;
