@import "../template.css";
/* Stránka pro přístupové údaje Bitwarden (/pristup): minimalistická, jedna karta uprostřed okna na každé šířce.
   Styly widgetu sys_bitwardenAccess jsou tady, widget se používá jen v tomhle layoutu. */
.page-pristup {
  background: rgba(var(--greyLight), 1);
}
.page-pristup .pristup-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  box-sizing: border-box;
}
.page-pristup .pristup-card {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  padding: 32px;
  background: rgba(var(--light), 1);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.page-pristup .pristup-logos {
  display: flex;
  align-items: center;
  margin: 0 0 24px;
}
.page-pristup .pristup-logos img {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: auto;
}
.page-pristup .pristup-logo-nio {
  height: 40px;
}
.page-pristup .pristup-logo-bw {
  height: 24px;
}
.page-pristup .pristup-logos-sep {
  flex: 0 0 1px;
  height: 32px;
  margin: 0 20px;
  background: rgba(var(--grey), 1);
}
/* odkaz jádra „Změnit nastavení cookies“ (www_root/cookie/ob/consent.latte) → malá ikonka vlevo dole: nepřidává výšku
   (jinak svislý posuvník) a souhlas jde dál změnit. Selektor přes sourozence #wrapper.page-pristup = jen tahle stránka
   a přebije inline <style> jádra, který stojí v body za tímhle CSS. Text zůstává pro čtečky. */
#wrapper.page-pristup ~ #cm-cookie-change {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 0;
  background: transparent;
  font-size: 0;
  line-height: 0;
}
#wrapper.page-pristup ~ #cm-cookie-change a {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--light), 1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.5A9 9 0 1 1 11.5 3a3 3 0 0 0 3.5 3.5 3 3 0 0 0 3.5 3.5 3 3 0 0 0 2.5 2.5z'/%3E%3Ccircle cx='8.5' cy='10.5' r='.9' fill='%23666'/%3E%3Ccircle cx='13' cy='15.5' r='.9' fill='%23666'/%3E%3Ccircle cx='8.5' cy='15.5' r='.9' fill='%23666'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  opacity: 0.6;
  transition: opacity 0.2s;
}
#wrapper.page-pristup ~ #cm-cookie-change a:hover {
  opacity: 1;
}
#wrapper.page-pristup ~ #cm-cookie-change span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* widget sys_bitwardenAccess */
.bw-access .bw-access-instruction {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(var(--dark), 1);
}
.bw-access .bw-access-incomplete {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(var(--greyDark), 1);
}
.bw-access .bw-access-rows {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(var(--grey), 1);
}
.bw-access .bw-access-rows dt {
  font-weight: 400;
  color: rgba(var(--greyDark), 1);
}
.bw-access .bw-access-rows dd {
  margin: 0;
  font-weight: 700;
  color: rgba(var(--dark), 1);
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 575px) {
  .page-pristup .pristup-main {
    padding: 12px;
  }
  .page-pristup .pristup-card {
    padding: 20px;
    border-radius: 10px;
  }
  .page-pristup .pristup-logos {
    margin-bottom: 20px;
  }
  .page-pristup .pristup-logo-nio {
    height: 30px;
  }
  .page-pristup .pristup-logo-bw {
    height: 18px;
  }
  .page-pristup .pristup-logos-sep {
    height: 24px;
    margin: 0 14px;
  }
  .bw-access .bw-access-instruction,
  .bw-access .bw-access-incomplete {
    font-size: 1.05rem;
  }
  .bw-access .bw-access-rows {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .bw-access .bw-access-rows dt {
    font-size: 0.9rem;
  }
  .bw-access .bw-access-rows dd {
    margin-bottom: 10px;
  }
  .bw-access .bw-access-rows dd:last-child {
    margin-bottom: 0;
  }
}
