/* Portal penulis WIDYRA */
.author-page { min-height: 100vh; }
.author-login-main { max-width: 480px; }
.author-login-card { margin-top: 8px; }
.author-name { font-size: 12px; color: var(--muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 32px;
}
.author-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.author-stat b { display: block; font: 28px Georgia, serif; color: var(--navy); }
.author-stat span { color: var(--muted); font-size: 12px; }
.author-card-list { display: flex; flex-direction: column; gap: 12px; }
.author-book-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}
.author-book-card:hover { border-color: var(--gold); }
.author-book-card h3 { margin: 0 0 4px; font: 18px Georgia, serif; color: var(--navy); }
.author-book-card small { color: var(--muted); }
.author-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.author-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0ebe1;
  color: var(--navy);
}
.author-pill.ok { background: #e6f4ea; color: #1f6b45; }
.author-pill.warn { background: #fff4e0; color: #8a5a00; }
.author-pill.err { background: #fde8e8; color: #a33; }
.author-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.author-table th, .author-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.author-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.author-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-author {
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
}
.btn-author.ghost { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.btn-author.ok { background: #1f6b45; }
.btn-author.danger { background: #a33; }
.author-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) {
  .author-stats { grid-template-columns: 1fr; }
  .author-grid-2 { grid-template-columns: 1fr; }
  .author-book-card { flex-direction: column; align-items: flex-start; }
}
