private function classes(): string
    {
        $classes = 'alert';

        if ($this->bg_color !== null) {
            $classes .= ' alert-' . $this->bg_color;
        }

        if ($this->text_color !== null) {
            $classes .= ' text-' . $this->text_color;
        }

        return $classes;
    }