/* FAJN ZOO intranet — doplněk k Authelia (injekce přes nginx). Barvy dle portal_hub (#F37021). */
body {
  background: linear-gradient(165deg, #f0f2f5 0%, #e9ecef 55%, #fff4ec 100%) !important;
  margin: 0 !important;
}

.fzj-intranet-head {
  text-align: center;
  margin: 28px auto 12px;
  padding: 0 16px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.05;
  user-select: none;
}

.fzj-fajn {
  font-size: 3.2rem;
  font-weight: 800;
  color: #F37021;
  letter-spacing: 0.04em;
}

.fzj-zoo {
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a4d6e;
  letter-spacing: 0.04em;
}

.fzj-intranet {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a4d6e;
  letter-spacing: 0.42em;
  margin-top: 10px;
  padding-left: 0.42em;
}

/* Horní toolbar Authelia — ušetří místo */
#root .MuiAppBar-root {
  display: none !important;
}

/* Logo FajnSYS — jen obrázek (NE :has() na grid, to schovalo celý formulář) */
#root img[alt="Logo"] {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Patička Authelia */
#root a[href*="authelia.com"] {
  display: none !important;
}

#root .MuiTypography-root:has(a[href*="authelia.com"]) {
  display: none !important;
}

@media (max-height: 700px) {
  .fzj-fajn,
  .fzj-zoo {
    font-size: 2.5rem;
  }

  .fzj-intranet {
    font-size: 1.35rem;
    letter-spacing: 0.35em;
    margin-top: 6px;
  }

  .fzj-intranet-head {
    margin-top: 18px;
    margin-bottom: 8px;
  }
}

@media (max-height: 580px) {
  .fzj-fajn,
  .fzj-zoo {
    font-size: 2rem;
  }

  .fzj-intranet {
    font-size: 1.05rem;
    letter-spacing: 0.28em;
  }

  .fzj-intranet-head {
    margin-top: 12px;
  }
}

.MuiButton-containedPrimary {
  background-color: #F37021 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
}

.MuiButton-containedPrimary:hover {
  background-color: #d85c13 !important;
}

.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #F37021 !important;
}

.MuiInputLabel-root.Mui-focused {
  color: #d85c13 !important;
}

.MuiPaper-root {
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}
