/* PDF Annotator - shortcuts. Migrated from WP Coder export. */

/* ======================================================
   SHORTCUTS
   ====================================================== */

.pa-shortcuts{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(6px);
  z-index:999998;
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease;
}

.pa-shortcuts.is-open{
  opacity:1;
  visibility:visible;
}

.pa-shortcuts-card{
  background:#ffffff;
  border-radius:18px;
  padding:40px 48px;
  width:min(1100px,94vw);
  max-height:88vh;
  overflow-y:auto;
  box-shadow:0 24px 60px rgba(0,0,0,.25);
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  column-gap:56px;
  row-gap:36px;
}

.pa-shortcuts-card h4{
  grid-column:1/-1;
  margin:0;
  font-size:22px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:.4px;
}

.pa-shortcuts-section{
  display:flex;
  flex-direction:column;
}

.pa-shortcuts-section h5{
  margin:0 0 14px 0;
  font-size:13px;
  font-weight:600;
  letter-spacing:.9px;
  text-transform:uppercase;
  color:var(--brand-dark);
}

.pa-shortcuts-grid{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px 18px;
  align-items:start;
}

.pa-shortcuts-key{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:50px;
  padding:6px 12px;
  font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size:13px;
  font-weight:600;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.15);
  background:linear-gradient(#ffffff,#f1f3f5);
  color:#111;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 2px 4px rgba(0,0,0,.08);
  white-space:nowrap;
}

.pa-shortcuts-desc{
  font-size:14px;
  line-height:1.45;
  color:#111;
}

.pa-shortcuts-hint{
  grid-column:1/-1;
  margin-top:8px;
  padding-top:16px;
  border-top:1px solid rgba(0,0,0,.08);
  font-size:13px;
  color:var(--muted);
}
