<% content_for :title, "#{@payment_account.organization_name} - HCB" %>

<div class="container">
  <header class="page-header mb-6">
    <div class="flex items-center gap-4">
      <%= link_to "← Back", hcb_payment_accounts_path, class: "text-gray-500 hover:text-gray-700" %>
      <h1><%= @payment_account.organization_name %></h1>
    </div>
  </header>

  <div class="max-w-2xl">
    <article>
      <header>
        <h2>Organization Details</h2>
      </header>
      <div class="p-4">
        <dl class="grid grid-cols-2 gap-4">
          <div>
            <dt class="text-sm text-gray-500">Organization ID</dt>
            <dd class="font-mono text-sm"><%= @payment_account.organization_id %></dd>
          </div>
          <div>
            <dt class="text-sm text-gray-500">Added</dt>
            <dd><%= @payment_account.created_at.strftime("%B %d, %Y") %></dd>
          </div>
        </dl>
      </div>
    </article>
  </div>
</div>
