<template>
  <div class="auth-layout">
    <div class="auth-layout__container">
      <div class="auth-layout__header">
        <NuxtLink to="/" class="auth-layout__logo">
          <img src="/logo.svg" alt="Ял Арба" />
        </NuxtLink>
      </div>
      <main class="auth-layout__content">
        <slot />
      </main>
    </div>
  </div>
</template>

<style scoped>
.auth-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-gray);
  padding: 16px;
}

.auth-layout__container {
  width: 100%;
  max-width: 440px;
}

.auth-layout__header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-layout__logo img {
  height: 48px;
  margin: 0 auto;
}

.auth-layout__content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
</style>
