"use client";

import { ExclamationTriangleIcon } from "@heroicons/react/24/outline";

interface PlatinumNoticeProps {
  planName: string;
}

export function PlatinumNotice({ planName }: PlatinumNoticeProps) {
  if (!planName.toLowerCase().includes("platinum")) {
    return null;
  }

  return (
    <div className="bg-warning-soft border border-warning/25 rounded-lg p-4">
      <div className="flex items-start">
        <ExclamationTriangleIcon className="w-5 h-5 text-warning mt-0.5 flex-shrink-0" />
        <div className="ml-3">
          <h5 className="font-medium text-foreground">PLATINUM Plan Notice</h5>
          <p className="text-sm text-muted-foreground mt-1">
            Additional device subscription fees may apply. Contact support for details.
          </p>
        </div>
      </div>
    </div>
  );
}
