<!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 임직원 전용 업무 통합 포털입니다.<br>
            회사 Google Workspace 계정으로 인증 후 이용하실 수 있습니다.
          </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">
          <p class="form-eyebrow">DBX Corp</p>
          <h2 class="form-title">업무 포털 로그인</h2>
          <p class="form-subtitle">
            회사 Google Workspace 계정으로 로그인하세요.<br>
            허용된 계정만 접속할 수 있습니다.
          </p>

          <a class="btn-google" href="/login">
            <!-- Google G 아이콘 -->
            <svg width="20" height="20" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
              <path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/>
              <path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/>
              <path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/>
              <path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.18 1.48-4.97 2.31-8.16 2.31-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/>
            </svg>
            Google 계정으로 로그인
          </a>

          <div class="form-note">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none"
                 stroke="currentColor" stroke-width="2" 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>
            <span>
              <strong style="color: var(--text);">dbxcorp.co.kr</strong> 도메인 계정이며
              접속 허용 목록에 등록된 임직원만 이용할 수 있습니다.
            </span>
          </div>
        </div>
      </main>

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