<script setup lang="ts">
import { RouterView } from 'vue-router'
</script>

<template>
  <main class="app">
    <section class="shell">
      <header class="header">
        <div class="header-icon">✚</div>
        <div>
          <h1>Triage-Fragen</h1>
          <p class="subtitle">Vorab-Erfassung für die Notaufnahme</p>
        </div>
      </header>

      <RouterView />
    </section>
  </main>
</template>

<style scoped>
.app {
  min-height: 100vh;
  margin: 0;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #f2f2f7;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  color: #111827;
}

.shell {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 1.75rem 1.5rem 2.1rem;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.header-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ff3b30, #ff6b5b);
  color: #ffffff;
  font-size: 1.2rem;
}

h1 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}

.subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}
</style>
