/* Shared glass finish for web navigation and public map panels. */
:root {
  --ara-glass-background: rgba(21, 30, 50, 0.68);
  --ara-glass-blur: 14px;
  --ara-glass-border: rgba(255, 255, 255, 0.10);
}
.member-profile {
  box-sizing: border-box;
  width: min(27rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: clamp(.9rem, 3vw, 1.5rem);
  border: 1px solid var(--ara-glass-border);
  border-radius: 1rem;
  background: var(--ara-glass-background);
  color: #f1f5fb;
  -webkit-backdrop-filter: blur(var(--ara-glass-blur));
  backdrop-filter: blur(var(--ara-glass-blur));
  box-shadow: 0 12px 40px rgba(6,14,27,.36);
  text-align: left;
  scrollbar-width: none;
}
.member-profile::-webkit-scrollbar { display: none; }
.member-profile::backdrop { background: rgba(5,12,22,.64); }
.member-profile h2 { margin: 0; font: inherit; font-size: 1.4rem; font-weight: 650; line-height: 1.25; }
.member-profile p { margin: .45rem 0 .9rem; color: #d5deea; line-height: 1.45; }
.member-profile label { display: grid; gap: .25rem; min-width: 0; color: #ecf2fa; font-size: .9rem; font-weight: 600; }
.member-profile__names { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; margin-top: .7rem; }
.member-profile input {
  box-sizing: border-box; width: 100%; min-height: 44px; border: 1px solid #667e95; border-radius: .5rem; padding: .45rem .65rem;
  background: #152638; color: #f4f7fc; font: inherit; font-size: 1rem;
}
.member-profile .member-profile__error { color: #ffc7bf; margin: .7rem 0 0; }
.member-profile :focus-visible { outline: 2px solid #b8ddff; outline-offset: 2px; }
.member-profile__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.member-profile button {
  min-height: 44px; border: 1px solid #64798f; border-radius: .55rem; padding: .4rem .8rem;
  background: #213247; color: #eef5fc; font: inherit; font-weight: 600; cursor: pointer;
}
.member-profile button[type=submit] { background: #c3dffc; border-color: #c3dffc; color: #102332; }
.member-profile button[disabled] { opacity: .65; cursor: wait; }
@media (max-height: 450px) {
  .member-profile { padding: .65rem .85rem; }
  .member-profile p { margin: .25rem 0 .45rem; }
  .member-profile__names, .member-profile__actions { margin-top: .4rem; }
}

