/* ITSK Forum – Gast-Sperre: leeres Forum-Gerüst + Overlay */

body.gast { overflow-x: hidden; }

/* Hintergrund: Forum-Gerüst ohne Inhalte, unscharf und abgedunkelt */
.gast-bg {
  filter: blur(2px) saturate(0.85);
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
  padding-top: 8px;
  max-height: calc(100vh - 140px);
  min-height: 640px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.gast-bg .gast-title { height: 26px; margin: 28px 0 22px; }
.gast-bg .forum-row:hover { background: var(--card); }

.sk {
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.12), rgba(255,255,255,0.07));
  margin-bottom: 9px;
}
.sk-round { background: rgba(255,255,255,0.1) !important; }

/* Overlay über dem Gerüst */
.gast-wrap { display: grid; }
.gast-wrap > .gast-bg,
.gast-wrap > .gast-overlay { grid-area: 1 / 1; }
.gast-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 16px 40px;
  background: radial-gradient(ellipse at 50% 30%, rgba(11,13,18,0.2), rgba(11,13,18,0.7) 75%);
}
.gast-card {
  width: 100%;
  max-width: 400px;
  background: var(--card, #181c25);
  border: 1px solid var(--border, #262b36);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  text-align: center;
}
.gast-lock {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(77,159,255,.12));
  color: var(--accent, #4d9fff);
}
.gast-lock svg { width: 28px; height: 28px; }
.gast-card h1 { font-size: 1.35rem; margin: 0 0 6px; }
.gast-card .gast-sub { color: var(--muted, #8e95a3); font-size: 0.92rem; margin: 0 0 20px; }
.gast-card form { text-align: left; }
.gast-card label.gast-field { display: block; font-size: 0.82rem; color: var(--muted, #8e95a3); margin: 0 0 4px; }
.gast-card input[type=text],
.gast-card input[type=email],
.gast-card input[type=password] { width: 100%; margin: 0 0 12px; }
.gast-card .gast-check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; color: var(--muted, #8e95a3); margin: 2px 0 10px; }
.gast-card .gast-check input { margin-top: 3px; }
.gast-card button[type=submit] { width: 100%; margin-top: 4px; padding: 11px; font-weight: 600; }
.gast-card .error { margin: 0 0 14px; text-align: center; }
.gast-links { margin-top: 16px; font-size: 0.88rem; color: var(--muted, #8e95a3); }
.gast-links a { color: var(--accent, #4d9fff); text-decoration: none; }
.gast-links a:hover { text-decoration: underline; }
.gast-foot { margin-top: 14px; font-size: 0.78rem; }
.gast-foot a { color: var(--muted, #8e95a3); }

@media (max-width: 640px) {
  .gast-overlay { padding-top: 40px; }
  .gast-card { padding: 22px 18px 20px; border-radius: 14px; }
  .gast-bg { min-height: 720px; }
}
