/* Layout only. Colours, type, buttons, inputs and cards live in fb.css so the shell looks
   like the Beratungswerkzeuge instead of an admin console. */

.hidden { display: none !important; }

.panel {
  max-width: 30rem;
  margin: 10vh auto;
  padding: 2rem;
  background: var(--fb-surface);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
}

#shell { display: flex; height: 100vh; }

aside {
  width: 16rem;
  flex: 0 0 16rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  color: #fff;
  background: var(--fb-navy);
}

.brand { font-weight: 700; letter-spacing: 0.04em; }
#who { font-size: 0.85rem; opacity: 0.85; }

nav a,
nav button.nav {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0.6rem;
  font: inherit;
  text-align: left;
  text-decoration: none;
  color: #fff;
  background: none;
  border: 0;
  border-radius: var(--fb-radius-sm);
  cursor: pointer;
}

nav a:hover,
nav button.nav:hover { background: #ffffff1a; }

a.open-app {
  display: block;
  padding: 0.55rem 0.7rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--fb-navy);
  background: var(--fb-gold);
  border-radius: var(--fb-radius-sm);
}

a.open-app:hover { filter: brightness(1.05); }

.nav-secondary {
  margin: 0;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  color: #fff;
  background: #ffffff1a;
  border: 1px solid #ffffff33;
  border-radius: var(--fb-radius-sm);
  cursor: pointer;
}

.nav-secondary:hover { background: #ffffff2b; }
.nav-secondary:disabled { opacity: 0.6; cursor: default; }

#logout {
  margin-top: auto;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff33;
  border-radius: var(--fb-radius-sm);
  cursor: pointer;
}

main { flex: 1; min-width: 0; background: var(--fb-bg); }
iframe { width: 100%; height: 100%; border: 0; background: var(--fb-surface); }

body.embed #shell aside { display: none; }

#invite-box { max-width: 32rem; }
