/* Trustora public demo package */

.demo-site-notice{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:7px 16px;
  color:#dce9f2;
  background:#0a3148;
  font-size:.75rem;
}

.demo-site-notice strong{
  color:#7fe0c2;
}

.demo-site-notice a{
  color:#fff;
  font-weight:800;
}

.demo-front{
  width:min(100%,1450px);
  margin:
    28px auto
    8px;
  padding:
    26px
    clamp(18px,4vw,42px);
  border:
    1px solid rgba(11,35,69,.1);
  border-radius:24px;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(0,155,114,.12),
      transparent 25%
    ),
    #fff;
  box-shadow:
    0 18px 48px
    rgba(11,35,69,.1);
}

.demo-front-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.demo-front-heading h1{
  margin:7px 0 8px;
  color:var(--navy);
  font-size:
    clamp(1.55rem,3vw,2.3rem);
}

.demo-front-heading p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.demo-front-status{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}

.demo-visit-counter,
.demo-reset-counter{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border:
    1px solid var(--border);
  border-radius:999px;
  color:#657587;
  background:#f7fafc;
  font-size:.68rem;
  white-space:nowrap;
}

.demo-visit-counter strong,
.demo-reset-counter strong{
  color:var(--navy);
  font-size:.72rem;
}

.demo-warning{
  margin:18px 0;
  padding:12px 14px;
  border-left:
    4px solid #c99818;
  border-radius:11px;
  color:#725500;
  background:#fff7dc;
  font-size:.8rem;
  line-height:1.5;
}

.demo-account-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:13px;
}

.demo-account-card{
  position:relative;
  overflow:hidden;
  display:grid;
  align-content:space-between;
  gap:20px;
  min-height:315px;
  padding:20px;
  border:
    1px solid var(--border);
  border-radius:18px;
  background:#fff;
}

.demo-account-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:var(--navy);
}

.demo-account-emerald::before{
  background:var(--emerald);
}

.demo-account-gold::before{
  background:#d2a11c;
}

.demo-role-label{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  color:#45596c;
  background:#eef3f7;
  font-size:.66rem;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.demo-account-card h2{
  margin:12px 0 7px;
  color:var(--navy);
  font-size:1.16rem;
}

.demo-account-card p{
  margin:0;
  color:var(--muted);
  font-size:.81rem;
  line-height:1.55;
}

.demo-credentials{
  display:grid;
  gap:8px;
  margin:0;
}

.demo-credentials div{
  display:grid;
  gap:3px;
  padding:10px 11px;
  border:
    1px solid rgba(11,35,69,.08);
  border-radius:11px;
  background:#f8fafc;
}

.demo-credentials dt{
  color:#7a8a9a;
  font-size:.62rem;
  font-weight:850;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.demo-credentials dd{
  margin:0;
  overflow-wrap:anywhere;
  color:var(--navy);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size:.78rem;
  font-weight:750;
}

.demo-control-account-grid{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:10px;
}

.demo-control-account-grid>div{
  display:grid;
  gap:5px;
  padding:14px;
  border:
    1px solid var(--border);
  border-radius:13px;
}

.demo-control-account-grid span,
.demo-control-account-grid code{
  overflow-wrap:anywhere;
}

.demo-control-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.demo-cron-command{
  display:block;
  padding:14px;
  overflow-wrap:anywhere;
  border-radius:11px;
  color:#dce9f2;
  background:#071b36;
}

@media(max-width:900px){
  .demo-account-grid,
  .demo-control-account-grid{
    grid-template-columns:1fr;
  }

  .demo-account-card{
    min-height:0;
  }
}

@media(max-width:650px){
  .demo-site-notice{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }

  .demo-front{
    margin-top:16px;
    border-radius:18px;
  }

  .demo-front-heading{
    flex-direction:column;
  }

  .demo-front-status{
    justify-content:flex-start;
  }
}
