.login-entry {
  min-width: 78px;
}

.role-login-modal {
  width: min(480px, calc(100vw - 32px));
}

.admin-login-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e6ece7;
  color: #829087;
  font-size: 12px;
}

.admin-login-link {
  min-height: 44px;
  padding: 9px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #637269;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c7d2ca;
  text-underline-offset: 3px;
  transition: background-color .16s ease, color .16s ease;
}

.admin-login-link:hover {
  background: #f3f7f4;
  color: #0b5139;
}

.admin-login-link:active {
  background: #e9f1eb;
}

.admin-login-link:focus-visible {
  outline: 3px solid rgba(90, 150, 47, .28);
  outline-offset: 2px;
}

.login-role-notice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 16px 0 20px;
  padding: 13px 14px;
  border: 1px solid #d7e7b2;
  border-radius: 12px;
  background: #f7fce9;
}

.login-role-notice > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: #c5f64b;
  color: #0b5139;
  font-weight: 800;
}

.login-role-notice b,
.login-role-notice small {
  display: block;
}

.login-role-notice b {
  margin-bottom: 3px;
}

.login-role-notice small {
  color: #627067;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .login-entry {
    min-width: 72px;
  }

  .role-login-modal {
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding: 24px 20px;
  }

  .admin-login-entry {
    flex-wrap: wrap;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-login-link {
    transition: none;
  }
}
