<!doctype html>
<html lang="ko">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>접속 불가 — DBX 업무 포털</title>
    <link rel="stylesheet" href="/static/styles.css" />
  </head>
  <body>
    <div class="auth-layout">

      <!-- 좌측: 브랜드 패널 -->
      <aside class="brand-panel">
        <div class="brand-logo">
          <div class="brand-logo-mark">
            <svg width="20" height="20" viewBox="0 0 24 24" fill="none"
                 stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
              <rect x="3" y="3" width="7" height="7" rx="1"/>
              <rect x="14" y="3" width="7" height="7" rx="1"/>
              <rect x="3" y="14" width="7" height="7" rx="1"/>
              <rect x="14" y="14" width="7" height="7" rx="1"/>
            </svg>
          </div>
          <span class="brand-name">DBX Corp</span>
        </div>

        <div class="brand-body">
          <p class="brand-tag">Internal Portal</p>
          <h1 class="brand-headline">업무 포털<br>시스템</h1>
          <p class="brand-desc">
            DBX Corp 임직원 전용 업무 통합 포털입니다.
          </p>
          <div class="brand-divider"></div>
        </div>

        <p class="brand-footer">© 2026 DBX Corp. All rights reserved.</p>
      </aside>

      <!-- 우측: 오류 패널 -->
      <main class="form-panel">
        <div class="form-box">
          <div class="form-error-badge">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none"
                 stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
              <circle cx="12" cy="12" r="10"/>
              <line x1="12" y1="8" x2="12" y2="12"/>
              <line x1="12" y1="16" x2="12.01" y2="16"/>
            </svg>
            접속 불가
          </div>

          <h2 class="form-title">접속할 수 없습니다</h2>
          <p class="form-subtitle" style="margin-bottom: 32px;">
            {{ reason }}
          </p>

          <a class="btn-primary" href="/login">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none"
                 stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
              <path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/>
              <polyline points="10 17 15 12 10 7"/>
              <line x1="15" y1="12" x2="3" y2="12"/>
            </svg>
            다른 Google 계정으로 로그인
          </a>

          <div class="form-note" style="margin-top: 20px;">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none"
                 stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
              <rect x="3" y="11" width="18" height="11" rx="2" ry="2"/>
              <path d="M7 11V7a5 5 0 0 1 10 0v4"/>
            </svg>
            <span>
              접속 권한이 필요하시면 시스템 관리자에게 문의하세요.
            </span>
          </div>
        </div>
      </main>

    </div>
  </body>
</html>
