* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F0F0F0;
  --bg-light: #fff;
  --bg-nav: #fff;
  --text: #333;
  --text-muted: #888;
  --text-light: #aaa;
  --border: #e0e0e0;
  --accent: rgb(217, 56, 30);
  --accent-hover: rgb(184, 24, 0);
  --book-bg: #f7f2e7;
  --cover-shadow: #96845d;
  --pages-factor: 0.04;
}

body {
  font-family: HarmonyOS, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ========== NAV ========== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 800px;
  margin: 0 auto;
}

.nav-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.logo {
  font-family: system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-create-btn:hover {
  background: var(--accent);
  color: white;
}

.nav-create-btn span {
  font-size: 1.1rem;
  font-weight: bold;
}

/* ========== LIBRARY / BOOKS GRID ========== */
.library {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  min-height: 100vh;
}

.books {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 1rem 0 2rem;
}

/* ========== 3D BOOK CARD ========== */
.book-card {
  --pages: 8px;
  --spine-1: #663300;
  --spine-2: #996633;
  --spine-3: #CCCCCC;
  display: inline-block;
  position: relative;
  background-color: var(--book-bg);
  border-radius: 3px;
  box-shadow: 0 1px 1px #999;
  cursor: pointer;
  filter: grayscale(0);
  left: 0;
  opacity: 1;
  transform: skewY(-2.5deg);
  transition: box-shadow .4s, filter .4s, left .2s, opacity .66s, transform .2s;
  margin-left: calc(0.6rem + var(--pages) * 1.618);
  margin-right: 10px;
  margin-top: calc(var(--pages) * 1.2);
  margin-bottom: 1rem;
  width: 120px;
}

.book-card::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 3px 3px 5px 15px;
  border-bottom: 1px solid #666;
  transform: skewY(45deg);
  transform-origin: right bottom;
  transition: opacity .2s;
  left: calc(-1 * (var(--pages) * 0.8));
  width: calc(var(--pages) * 0.8);
  background: linear-gradient(to bottom, var(--spine-1) 33%, var(--spine-2) 66%, var(--spine-3) 99%);
}

.book-card::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 3px 5px 5px 12px;
  transform: skewX(45deg);
  transform-origin: bottom left;
  transition: opacity 0.2s;
  height: calc(var(--pages) * 0.8);
  top: calc(-1 * (var(--pages) * 0.8));
  background:
    repeating-linear-gradient(0deg, transparent, transparent 1.5px, rgb(0 0 0 / 10%) 1.5px, rgb(0 0 0 / 10%) 3px),
    linear-gradient(to top, rgb(0 0 0 / 5%), rgb(0 0 0 / 10%));
}

.book-card:hover {
  transform: skewY(0deg) scale(1.1);
  left: calc(-1 * var(--pages) * 0.33);
  box-shadow: 0 4px calc(var(--pages) * 0.8) #0006;
  border-radius: 2px 2px 5px 5px;
  z-index: 50;
}

.book-card:hover::before,
.book-card:hover::after {
  opacity: 0;
}

.books:has(.book-card:hover) .book-card:not(:hover) {
  opacity: .66;
  filter: grayscale(1);
  transition: filter .3s, opacity .66s;
}

.note-tab {
  position: absolute;
  top: -18px;
  right: 10px;
  background: #fff79b;
  color: #666;
  width: 24px;
  font-size: 11px;
  font-family: system-ui, sans-serif;
  text-align: center;
  border-radius: 3px 3px 0 0;
  z-index: 10;
  line-height: 1.4em;
  padding: 2px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: top 0.2s ease-in-out, z-index 0.2s ease-in-out;
}

.book-card:hover .note-tab {
  top: -22px;
  z-index: 60;
}

.book-cover-container {
  position: relative;
  width: 100%;
  height: 169px;
  overflow: hidden;
  border-radius: 3px;
}

.book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card:hover .book-cover {
  transform: scale(1.02);
}

.detail-cover-card:hover .book-cover {
  transform: none;
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #d4c5a9 0%, #b8a88a 100%);
}

.book-info {
  padding: 0.5rem 0.3rem;
}

.book-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.book-tags {
  font-size: 0.65rem;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  color: var(--text-muted);
  gap: 1.5rem;
}

.empty-state p {
  font-size: 1.1rem;
  font-style: italic;
}

.empty-create-btn {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.empty-create-btn:hover {
  background: var(--accent);
  color: white;
}

/* ========== CREATE / EDIT PAGE ========== */
.create-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  min-height: 100vh;
}

.page-title {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.create-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.label-hint {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: normal;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Cover Upload */
.cover-upload {
  border: 2px dashed var(--border);
  border-radius: 8px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.cover-upload:hover {
  border-color: var(--accent);
}

.cover-upload.drag-over {
  border-color: var(--accent);
  background: rgba(217, 56, 30, 0.03);
}

.cover-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.cover-upload-placeholder svg {
  color: var(--text-light);
}

.cover-upload-placeholder p {
  font-size: 0.9rem;
}

.cover-hint {
  font-size: 0.75rem;
  color: var(--text-light);
}

.cover-preview {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cover-preview img {
  max-width: 100%;
  max-height: 250px;
  border-radius: 4px;
  object-fit: contain;
}

.cover-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cover-remove:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Q&A Pairs */
.qa-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qa-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
}

.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.qa-number {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.qa-remove {
  background: none;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.qa-remove:hover {
  background: #dc2626;
  color: white;
}

.qa-field {
  margin-bottom: 0.8rem;
}

.qa-field:last-child {
  margin-bottom: 0;
}

.qa-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.qa-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.qa-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.qa-add-btn {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  padding: 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.qa-add-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ========== DETAIL PAGE ========== */
.detail-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #fff;
  min-height: 100vh;
}

.detail-layout {
  display: flex;
  align-items: flex-start;
}

.detail-left {
  flex-shrink: 0;
  width: 170px;
}

.detail-cover-wrapper {
  margin-bottom: 1.5rem;
  margin-left: 0;
}

.detail-right {
  flex: 1;
  min-width: 0;
  margin-left: 15px;
}

.detail-cover-card {
  width: 170px;
  cursor: default;
  margin: 0;
}

.detail-cover-card .book-cover-container {
  height: 250px;
}

.detail-cover-card:hover {
  transform: skewY(-2.5deg);
  left: 0;
  box-shadow: 0 1px 1px #999;
}

.detail-cover-card:hover::before,
.detail-cover-card:hover::after {
  opacity: 1;
}

.detail-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.detail-actions .action-btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

.action-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.action-btn-danger:hover {
  border-color: #dc2626;
  color: #dc2626;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(217, 56, 30, 0.08);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.8rem;
  font-family: system-ui, sans-serif;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.detail-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Markdown Content */
.detail-content {
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  margin: 2rem 0 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.markdown-body h1 {
  font-size: 1.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.markdown-body h2 {
  font-size: 1.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.markdown-body h3 { font-size: 1.15rem; }
.markdown-body h4 { font-size: 1.05rem; }

.markdown-body p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.markdown-body strong {
  font-weight: 700;
  color: var(--text);
}

.markdown-body em {
  font-style: italic;
}

.markdown-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.markdown-body img {
  max-width: 100%;
  border-radius: 4px;
  margin: 1rem 0;
}

.markdown-body code {
  background: var(--bg);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  font-size: 0.88em;
  border: 1px solid var(--border);
}

.markdown-body pre {
  background: var(--bg);
  padding: 1.2rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  line-height: 1.6;
}

.markdown-body pre code {
  background: none;
  padding: 0;
  border: none;
  font-size: 0.9em;
}

.markdown-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.6rem 1rem;
  margin: 1.2rem 0;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 4px 4px 0;
}

.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 2rem;
  margin-bottom: 1.2rem;
}

.markdown-body ul {
  list-style-type: disc;
}

.markdown-body ol {
  list-style-type: decimal;
}

.markdown-body li {
  margin-bottom: 0.4rem;
  line-height: 1.8;
}

.markdown-body li > ul,
.markdown-body li > ol {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.markdown-body li > p {
  margin-bottom: 0.4rem;
}

.markdown-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.markdown-body a:hover {
  color: var(--accent-hover);
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.markdown-body table th,
.markdown-body table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.9rem;
  text-align: left;
}

.markdown-body table th {
  background: var(--bg-nav);
  font-weight: 600;
  color: var(--text);
}

.markdown-body table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.markdown-body table tr:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Q&A Display */
.detail-qa {}

.qa-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.qa-nav-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.qa-nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.qa-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qa-page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-width: 60px;
  text-align: center;
}

.qa-display {
  display: flex;
  flex-direction: column;
}

.qa-question-display {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.qa-answer-display {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
}

.qa-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
  font-family: system-ui, sans-serif;
}

.qa-text {
  line-height: 1.8;
  font-size: 1rem;
  white-space: pre-wrap;
}

.qa-answer-display {
  background: #fff;
}

.qa-answer-display .markdown-body {
  white-space: normal;
}

.qa-answer-display .markdown-body p {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.qa-answer-display .markdown-body li {
  margin-bottom: 0.3rem;
  line-height: 1.7;
}

.qa-answer-display .markdown-body li > p {
  margin-bottom: 0.3rem;
}

.qa-answer-display .markdown-body ul,
.qa-answer-display .markdown-body ol {
  margin-bottom: 1rem;
  padding-left: 1.8rem;
}

.qa-answer-display .markdown-body h1,
.qa-answer-display .markdown-body h2,
.qa-answer-display .markdown-body h3,
.qa-answer-display .markdown-body h4 {
  margin: 1.5rem 0 0.8rem;
}

/* More Conversations */
.detail-more {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.detail-more h3 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.more-covers {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.more-cover-item {
  width: 60px;
  height: 84px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.more-cover-item:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.more-cover-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== SHARED ========== */
.loading {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  width: 100%;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--accent);
}

.error a {
  color: var(--accent);
}

.hint {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.modal-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: none;
  border-color: var(--accent);
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.modal-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.modal-btn-cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.modal-btn-cancel:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.modal-btn-confirm {
  background: var(--accent);
  border: none;
  color: #fff;
}

.modal-btn-confirm:hover {
  background: var(--accent-hover);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .top-nav {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .book-card {
    width: 95px;
  }

  .book-cover-container {
    height: 134px;
  }

  .book-info {
    padding: 0.3rem 0.2rem;
  }

  .book-title {
    font-size: 0.7rem;
  }

  .detail-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .detail-left {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .detail-cover-card {
    width: 120px;
    flex-shrink: 0;
  }

  .detail-cover-card .book-cover-container {
    height: 169px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-title {
    font-size: 1.4rem;
  }

  .create-page {
    padding: 1.5rem 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
