/* Minimal functional styling for Phase 1 - the real Ebukz template design
   gets applied here in Phase 2. This just makes the site usable/testable. */
* { box-sizing: border-box; }
body { font-family: -apple-system, Segoe UI, Roboto, sans-serif; margin: 0; color: #1f2937; background: #f9fafb; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.site-header { background: #fff; border-bottom: 1px solid #e5e7eb; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 20px; font-weight: 700; color: #4f46e5; text-decoration: none; }
.main-nav a, .nav-actions a { margin-left: 14px; text-decoration: none; color: #374151; font-size: 14px; }
.main-nav a:first-child, .nav-actions a:first-child { margin-left: 0; }
main { padding: 24px 16px 60px; min-height: 60vh; }
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.book-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; }
.book-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; background: #e5e7eb; }
.book-card h3 { font-size: 15px; margin: 8px 0 4px; }
.price { color: #4f46e5; font-weight: 700; }
.price del { color: #9ca3af; font-weight: 400; margin-right: 6px; }
.btn { display: inline-block; padding: 8px 16px; background: #4f46e5; color: #fff; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none; font-size: 14px; }
.btn.secondary { background: #e5e7eb; color: #374151; }
form.stacked label { display: block; margin-top: 12px; font-weight: 600; font-size: 14px; }
form.stacked input, form.stacked textarea, form.stacked select { width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #d1d5db; border-radius: 6px; }
table.data { width: 100%; border-collapse: collapse; margin-top: 16px; }
table.data th, table.data td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.site-footer { background: #111827; color: #9ca3af; padding: 20px 0; margin-top: 40px; text-align: center; font-size: 13px; }
.hero { text-align: center; padding: 60px 0; }
.hero h1 { font-size: 32px; margin-bottom: 10px; }
.section-title { margin-top: 40px; font-size: 22px; }
