import { useIntl } from "react-intl"

import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"

import Caption from "@/components/TempDesignSystem/Text/Caption"

import styles from "./noPriceAvailable.module.css"

export default function NoPriceAvailableCard() {
  const intl = useIntl()
  return (
    <div className={styles.priceCard}>
      <div className={styles.noRooms}>
        <div>
          <MaterialIcon icon="error" color="Icon/Interactive/Accent" />
        </div>
        <Caption color="uiTextHighContrast">
          {intl.formatMessage({
            id: "There are no rooms available that match your request.",
          })}
        </Caption>
      </div>
    </div>
  )
}
