* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0; background: #0f1115; color: #e6e6e6; }
header { display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; background: #171a21; border-bottom: 1px solid #262b36; }
header h1 { font-size: 18px; margin: 0; }
main { max-width: 900px; margin: 24px auto; padding: 0 16px; }
section { background: #171a21; border: 1px solid #262b36; border-radius: 8px;
  padding: 16px; margin-bottom: 20px; }
h2 { margin-top: 0; font-size: 15px; color: #9fb4d9; text-transform: uppercase; letter-spacing: .5px; }
.hint { color: #8ea0b6; font-size: 13px; margin-top: -4px; }
form.stacked { flex-direction: column; align-items: stretch; }
form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
form.stacked label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #9fb4d9; }
input, select, button {
  padding: 8px 10px; background: #0f1115; color: #e6e6e6;
  border: 1px solid #2a2f3a; border-radius: 6px; font: inherit;
}
input { min-width: 220px; }
button { cursor: pointer; background: #2a5cd6; border-color: #2a5cd6; color: #fff; }
button:hover { background: #3a6ce6; }
button.del { background: #6b1f1f; border-color: #6b1f1f; }
a { color: #7db1ff; }
.err { color: #ff8080; }
code { background: #0f1115; padding: 2px 6px; border-radius: 4px; font-size: 13px;
  font-family: ui-monospace, Consolas, monospace; }

/* Account cards no admin */
.account-card { background: #0f1115; border: 1px solid #262b36; border-radius: 8px;
  padding: 12px; margin-bottom: 12px; }
.acc-title { font-size: 15px; margin-bottom: 6px; }
.acc-row { font-size: 13px; margin: 4px 0; color: #c8ceda; }
.acc-row span { color: #8ea0b6; display: inline-block; width: 56px; }
.link-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.link-input { flex: 1 1 300px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.acc-actions { margin-top: 8px; display: flex; gap: 6px; }
.acc-actions button { padding: 4px 10px; font-size: 12px; }

/* Auditoria */
table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
th, td { padding: 6px 8px; border-bottom: 1px solid #262b36; text-align: left; font-size: 13px; }
th { color: #9fb4d9; font-weight: 600; }

/* Pagina do link publico */
.cred-row { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 8px 0; flex-wrap: wrap; }
.cred-row span:first-child { color: #8ea0b6; min-width: 60px; }
#code-box { padding: 12px 0; }
.code-line { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.code.big { font-family: ui-monospace, Consolas, monospace; font-size: 32px;
  letter-spacing: 4px; background: #0f1115; padding: 10px 18px; border-radius: 6px; color: #7ddc9e; }
.code-meta { color: #8ea0b6; font-size: 13px; line-height: 1.6; }
.ttl.expired b { color: #ff8080; }
.empty { color: #8ea0b6; }
.btns { margin-top: 10px; }
