@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap");

:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, 0.06);
  --primary: #2563eb;
  --primary2: #2b8cff;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--primary);
}

.btn.outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: grid;
  place-items: center;
  color: #1d4ed8;
  font-weight: 900;
}

.opac-cover {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.truncate-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-hidden {
  display: none !important;
}

.cursor-pointer {
  cursor: pointer;
}

/* Small utilities */
.text-muted {
  color: var(--muted);
}
.small {
  font-size: 0.85rem;
}
