body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: #5891e1;
  color: #292929;
}

#root {
  background: #5891e1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hpHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: #5891e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hpHeader__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hpBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.hpBrand__text {
  font-size: 16px;
  opacity: 0.95;
  color: #1d0f5a;
  font-weight: 800;
}

.hpNav--desktop {
  display: none;
  align-items: center;
  gap: 14px;
}

.hpNav__hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.hpNav__hint--error {
  color: rgba(255, 180, 180, 0.95);
}

.hpLink {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: 0.2s;
}
.hpLink:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.hpLink.is-active {
  background: #ffffff;
  color: #ff0000;
}

.hpBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.08s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
}
.hpBtn:active {
  transform: translateY(1px);
}
.hpBtn--primary {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.95), rgba(14, 165, 233, 0.95));
  border: 0;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.18);
}
.hpBtn--block {
  width: 100%;
}

.hpBurger {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  cursor: pointer;
}
.hpBurger__line {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition: 0.2s ease;
}

/* Drawer */
.hpDrawer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  transition: 0.2s ease;
}
.hpDrawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.hpDrawer__panel {
  position: absolute;
  right: 12px;
  top: 12px;
  width: min(92vw, 360px);
  border-radius: 18px;
  background: rgba(10, 20, 35, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: translateY(-8px);
  transition: 0.2s ease;
}
.hpDrawer.is-open .hpDrawer__panel {
  transform: translateY(0);
}

.hpDrawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hpDrawer__title {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.hpDrawer__close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.hpDrawer__list {
  padding: 12px;
  display: grid;
  gap: 10px;
}
.hpDrawer__item {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.hpDrawer__item:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}
.hpDrawer__item.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hpDrawer__hint {
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 2px;
}
.hpDrawer__hint--error {
  color: rgba(255, 180, 180, 0.95);
}

.hpDrawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Desktop breakpoint */
@media (min-width: 980px) {
  .hpNav--desktop {
    display: inline-flex;
  }
  .hpBurger,
  .hpDrawer {
    display: none;
  }
}
.hpLink--logout {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
