/* ============================================================
   mockups.css — phone + browser device frames & UI
   ============================================================ */

/* ---------------- PHONE ---------------- */
.phone {
  position: relative;
  width: 300px;
  background: #0A180C;
  border-radius: 42px;
  padding: 11px;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.25), var(--shadow-deep);
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 24px; background: #0A180C; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  position: relative;
  background: var(--paper);
  border-radius: 32px;
  overflow: hidden;
  height: 600px;
  display: flex; flex-direction: column;
}
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 6px; font-size: 12px; font-weight: 600; color: var(--ink);
}
.ph-sig, .ph-bat { display: inline-block; background: var(--ink); border-radius: 2px; }
.ph-sig { width: 16px; height: 10px; -webkit-mask: linear-gradient(#000 0 0); }
.ph-bat { width: 22px; height: 11px; border-radius: 3px; }
.ph-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ph-logo { width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--green-900); border-radius: 7px; }
.ph-doc {
  flex: 1; margin: 16px; padding: 20px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
}
.doc-title { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink);
  text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.doc-lines { display: flex; flex-direction: column; gap: 7px; }
.doc-lines > div { height: 6px; border-radius: 3px; background: var(--paper-2); }
.doc-stampzone {
  position: relative; align-self: flex-end; margin: 4px 6px;
  width: 74px; height: 74px; display: grid; place-items: center;
  border: 1.5px dashed var(--line); border-radius: 8px;
}
.doc-hint { position: absolute; font-size: 9.5px; color: #B9AE94; letter-spacing: .12em; }
.doc-impression { opacity: 0; transition: opacity .3s ease; }
.doc-impression.show { opacity: 1; }
.ph-action { padding: 14px 16px 22px; }
.ph-stampbtn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--foil-soft); color: var(--green-900);
  font-weight: 700; font-size: 14px; padding: 14px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(168,134,47,.3);
}
.ph-done {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(201,168,76,.16); color: var(--gold-deep);
  font-weight: 700; font-size: 14px; padding: 14px; border-radius: 8px;
}
.ph-meta { text-align: center; font-size: 10.5px; color: var(--ink-soft); margin-top: 9px; letter-spacing: .04em; }

/* ---------------- BROWSER ---------------- */
.browser {
  width: 100%; max-width: 720px;
  background: var(--paper); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.18), var(--shadow-deep);
}
.br-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-900); padding: 11px 16px;
}
.br-dots { display: flex; gap: 7px; }
.br-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(232,201,122,.3); }
.br-dots i:first-child { background: rgba(232,201,122,.55); }
.br-url {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: var(--gold-light);
  font-size: 12px; padding: 7px 14px; border-radius: 100px; letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lock-dot { width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--gold-light); border-bottom: none;
  position: relative; }
.br-body { display: flex; min-height: 440px; }
.br-side {
  width: 180px; background: var(--green-900); padding: 18px 14px;
  display: flex; flex-direction: column; gap: 20px;
}
.br-brand { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-weight: 700; font-size: 15px; padding: 0 6px; white-space: nowrap; }
.br-side nav { display: flex; flex-direction: column; gap: 3px; }
.br-side nav a {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(240,226,187,.55); padding: 9px 12px; border-radius: 6px; white-space: nowrap;
}
.br-side nav a.active { background: rgba(201,168,76,.14); color: var(--gold-light); font-weight: 600; }
.nv-i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .8; }
.br-main { flex: 1; padding: 22px 24px; background: var(--paper); overflow: hidden; }
.br-h { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.br-eyebrow { font-size: 10.5px; letter-spacing: .24em; color: var(--gold-deep); font-weight: 600; margin-bottom: 5px; }
.br-h h4 { font-size: 18px; font-weight: 700; color: var(--ink); }
.br-new { background: var(--green-800); color: var(--gold-light); font-size: 12px; font-weight: 600;
  padding: 9px 15px; border-radius: 6px; white-space: nowrap; }
.seal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.seal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 10px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-soft);
}
.sc-name { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.sc-type { font-size: 10.5px; color: var(--ink-soft); }
.sc-foot { display: flex; justify-content: space-between; width: 100%; margin-top: 8px;
  padding-top: 8px; border-top: 1px solid var(--line); font-size: 10px; }
.sc-live { display: flex; align-items: center; gap: 4px; color: var(--green-600); font-weight: 600; }
.sc-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); }
.sc-uses { color: var(--ink-soft); }
.br-log { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-soft); }
.log-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.log-row { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 0.6fr; gap: 8px; align-items: center;
  font-size: 11.5px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.log-seal { font-weight: 600; color: var(--gold-deep); }
.log-doc { color: var(--ink); }
.log-time { text-align: right; }

@media (max-width: 560px) {
  .seal-grid { grid-template-columns: repeat(2, 1fr); }
  .br-side { display: none; }
  .log-row { grid-template-columns: 1fr 1fr 0.6fr; }
  .log-user { display: none; }
}
