{% extends "base.html" %}
{% import "macros/ui.html" as ui %}

{% block title %}{{ t(key="verify-sent-title", lang=lang | default(value='sk')) }}{% endblock title %}

{% block content %}
<div class="mx-auto mt-8 max-w-sm">
  <div
    class="rounded-radius border border-outline bg-surface-alt p-5 shadow-sm dark:border-outline-dark dark:bg-surface-dark-alt">
    <h1 class="text-xl font-bold text-on-surface-strong dark:text-on-surface-dark-strong">
      {{ t(key="verify-sent-title", lang=lang | default(value='sk')) }}
    </h1>
    <p class="mt-3 text-sm text-on-surface dark:text-on-surface-dark">
      {{ t(key="verify-sent-body", lang=lang | default(value='sk')) }}
      <span class="font-medium text-on-surface-strong dark:text-on-surface-dark-strong">{{ email }}</span>
    </p>
    {{ ui::button(label=t(key="nav-login", lang=lang | default(value='sk')), href="/login", variant="outline-primary", extra="mt-4 w-full") }}
  </div>
</div>
{% endblock content %}
