<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>종량제 시스템</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&amp;display=swap" rel="stylesheet"/>
<script>
tailwind.config = {
  theme: {
    extend: {
      fontFamily: { sans: ['"Malgun Gothic"', '"Noto Sans KR"', 'sans-serif'] },
      colors: {
        'system-header': '#ffffff',
        'title-bar': '#2c3e50',
        'control-panel': '#f8f9fa',
        'btn-search': '#1c4e80',
        'btn-exit': '#d9534f',
      }
    }
  }
}
</script>
<style>body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }</style>
</head>
<body class="bg-gray-100 text-gray-800 flex flex-col h-screen font-sans antialiased">
<header class="bg-white border-b border-gray-300 h-12 flex items-center justify-between px-4 shrink-0">
  <?= view('components/header_brand') ?>
  <nav class="flex gap-4 text-sm font-medium text-gray-600">
    <a class="hover:text-blue-600" href="<?= base_url('login') ?>">로그인</a>
    <a class="hover:text-blue-600" href="<?= base_url('register') ?>">회원가입</a>
  </nav>
</header>
<div class="bg-title-bar text-white px-4 py-2 text-sm font-medium shrink-0">
  종량제 시스템
</div>
<main class="flex-grow bg-control-panel border-b border-gray-300 p-6 flex items-center justify-center">
  <section class="text-center max-w-lg">
    <p class="text-gray-700 mb-6">로그인 후 이용해 주세요.</p>
    <div class="flex gap-2 justify-center">
      <a href="<?= base_url('login') ?>" class="bg-btn-search text-white px-4 py-2 rounded-sm text-sm font-medium shadow hover:opacity-90 transition">로그인</a>
      <a href="<?= base_url('register') ?>" class="bg-white text-gray-700 border border-gray-300 px-4 py-2 rounded-sm text-sm shadow hover:bg-gray-50 transition">회원가입</a>
    </div>
  </section>
</main>
<footer class="bg-gray-200 border-t border-gray-300 px-4 py-1 text-xs text-gray-600 shrink-0">종량제 시스템</footer>
</body>
</html>
