.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  margin-right: 0;
}

.rep-access-header-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.rep-access-header-btn:hover,
.rep-access-header-btn:focus-visible {
  background: #000000;
  transform: translateY(-1px);
}

.rep-access-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 26, 43, 0.56);
}

.rep-access-modal.is-open {
  display: flex;
}

.rep-access-modal__dialog {
  width: min(100%, 460px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(47, 86, 201, 0.14);
  box-shadow: 0 30px 60px rgba(15, 26, 43, 0.24);
  padding: 24px;
}

.rep-access-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rep-access-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #2f56c9;
}

.rep-access-modal__title {
  margin: 0;
  color: #0f1a2b;
  font-size: 1.55rem;
  line-height: 1.1;
}

.rep-access-modal__text {
  margin: 0 0 16px;
  color: rgba(15, 26, 43, 0.72);
  line-height: 1.55;
}

.rep-access-modal__close {
  appearance: none;
  border: none;
  background: #eef4ff;
  color: #1f3f99;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}

.rep-access-modal__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0f1a2b;
}

.rep-access-modal__password-wrap {
  position: relative;
}

.rep-access-modal__input {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1.5px solid rgba(47, 86, 201, 0.18);
  padding: 14px 56px 14px 16px;
  font: inherit;
}

.rep-access-modal__toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(15, 26, 43, 0.68);
  cursor: pointer;
}

.rep-access-modal__toggle:hover,
.rep-access-modal__toggle:focus-visible {
  background: rgba(47, 86, 201, 0.08);
  color: #2f56c9;
  outline: none;
}

.rep-access-modal__input:focus {
  outline: none;
  border-color: #2f56c9;
  box-shadow: 0 0 0 4px rgba(47, 86, 201, 0.12);
}

.rep-access-modal__error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #b42318;
  font-size: 0.92rem;
}

.rep-access-modal__submit {
  margin-top: 12px;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f56c9 0%, #1f3f99 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .rep-access-header-btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.9rem;
  }
}
