/* ── Identity Bell ─────────────────────────────────── */
.identity-bell {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.identity-bell:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}
.identity-bell b {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff5a5a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

/* ── Identity Modal ────────────────────────────────── */
.identity-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem;
}
.identity-modal[aria-hidden="true"] {
  display: none;
}
.identity-dialog {
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  position: relative;
}
.identity-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
}
.identity-close:hover {
  color: #fff;
}

/* ── Identity Current ──────────────────────────────── */
.identity-current {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
}
.identity-current span {
  font-size: 0.75rem;
  opacity: 0.5;
}
.identity-current strong {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #f0c040;
}

/* ── Signin Card ───────────────────────────────────── */
.identity-signin-card {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.75rem;
}
.identity-signin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.identity-signin-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(80, 200, 120, 0.2);
  color: #50c878;
}
.identity-signin-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  cursor: pointer;
}
.identity-signin-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.identity-signin-meta,
.identity-signin-note {
  font-size: 0.8rem;
  opacity: 0.5;
  margin: 0.15rem 0;
}
.identity-signin-actions {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.identity-signin-status {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ── Status List ───────────────────────────────────── */
.identity-status-list {
  margin: 1rem 0;
}
.identity-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  border-left: 3px solid rgba(255, 255, 255, 0.1);
}
.identity-status-item.status-pending {
  border-left-color: #f0c040;
}
.identity-status-item.status-approved {
  border-left-color: #50c878;
}
.identity-status-item.status-rejected {
  border-left-color: #ff5a5a;
}
.identity-status-text {
  font-size: 0.85rem;
  flex: 1;
}
.identity-status-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.6;
}

/* ── Login Section ─────────────────────────────────── */
.identity-login-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.identity-login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.identity-login-head strong {
  font-size: 0.9rem;
}
.identity-login-head span {
  font-size: 0.75rem;
  opacity: 0.4;
}
.identity-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.identity-login-form label {
  font-size: 0.75rem;
  opacity: 0.5;
}
.identity-login-form input {
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}
.identity-login-form input:focus {
  border-color: rgba(255, 255, 255, 0.25);
}
.identity-login-status {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ── Account Card ──────────────────────────────────── */
.identity-account-card {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.identity-account-card div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.identity-account-card span {
  font-size: 0.75rem;
  opacity: 0.5;
}
.identity-account-card strong {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.identity-account-logout {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  cursor: pointer;
}
.identity-account-logout:hover {
  color: #ff5a5a;
}

/* ── Visitor ID Card (Hero) ────────────────────────── */
.visitor-id-card {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
.visitor-id-card span {
  opacity: 0.5;
}
.visitor-id-card strong {
  color: #f0c040;
  letter-spacing: 0.05em;
}
