:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,.92);
  --text: #0f172a;
  --muted: rgba(15,23,42,.65);
  --border: rgba(15,23,42,.12);
  --primary: #3853A4;
  --primary2: #1b2d6b;
  --shadow: 0 18px 55px rgba(0,0,0,.20);
  --radius: 16px;
}

*{ box-sizing: border-box; }

body.slbs-public{
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 15% 0%, rgba(56,83,164,.22), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(240,235,30,.14), transparent 55%),
    linear-gradient(160deg, #060a14 0%, #0b1220 55%, #070b15 100%);
  min-height: 100vh;
}

.slbs-container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.slbs-topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,16,30,.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.slbs-topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.slbs-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
}

.slbs-brand__logo{
  width: 40px;
  height: 40px;
}

.slbs-brand__text{
  display: grid;
  line-height: 1.05;
}

.slbs-brand__name{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
  text-transform: uppercase;
}

.slbs-brand__tag{
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 3px;
}

.slbs-topbar__right{
  display: flex;
  align-items: center;
  gap: 10px;
}

.slbs-link{
  color: rgba(255,255,255,.80);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
}

.slbs-link:hover{
  border-color: rgba(255,255,255,.24);
  color: rgba(255,255,255,.92);
}

/* Flash message styling (safe fallback for Cake’s flash markup) */
.message{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--shadow);
  margin: 0 0 14px;
}

/* A simple “content card” utility you can use on public pages */
.slbs-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.40);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.slbs-footer{
  padding: 18px 0 28px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  text-align: center;
}

body.slbs-public{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.slbs-main{
  flex: 1;
  padding: 15px 0 10px;
}


