.view-account{
  --panel-bg: rgba(255,255,255,.045);
  --panel-stroke: rgba(255,255,255,.06);
  --text-strong:#e9e6f7; --text-muted:#a5a1b2;
  --cta-start:#a558ff; --cta-mid:#b54fff; --cta-end:#d43fff;
  --cta-shadow:0 10px 28px rgba(166,88,255,.35);
  --row-h: 96px;
  color:var(--text-strong);
  padding-inline:clamp(16px,4vw,32px);
  overflow-x:hidden;
  position:relative;
}

.view-account .account__layout{
  display:block; grid-template-columns:1fr 1fr; gap:24px;
  max-width:1000px; margin:0 auto;
  align-items:start;
}
.view-account .account__left,
.view-account .account__right{ display:flex; flex-direction:column; gap:16px; }
.view-account .account__layout { padding-top: 100px; }

.view-account .card.info{
  background:var(--panel-bg);
  border-radius:12px; padding:16px 18px;
  box-shadow:inset 0 0 0 1px var(--panel-stroke);
  line-height:1.55; color:var(--text-strong);
  height:var(--row-h);
  box-sizing:border-box;
  display:flex; align-items:center;
}
.view-account .card.info .muted{ color:var(--text-muted); }

.view-account .actions{ display:flex; flex-direction:column; gap:16px; }

.view-account .actions > .btn{
  all:unset; width:100%; height:var(--row-h);
  box-sizing:border-box; padding:14px 16px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; text-transform:uppercase; font-weight:900; letter-spacing:.4px;
  color:#fff; border-radius:12px; cursor:pointer;
  background:var(--card);
  transition:transform .06s ease, box-shadow .12s ease, filter .12s ease;
}
.view-account .actions > .btn:focus{ outline:0; }
.view-account .actions > .btn:focus-visible{
  outline:0;
  box-shadow: var(--focus-ring);
}
.view-account .actions > .btn:active{ transform:translateY(1px); filter:brightness(.98); }

.view-account .btn-home{
  position:absolute; top:60px; left:110px;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:12px; font-size:14px; line-height:1;
  background:rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
  opacity:.9; cursor:pointer; transition:transform .08s, opacity .12s, box-shadow .12s;
  z-index:2; pointer-events:auto; outline:0;
}

.view-account .btn-home:focus-visible{
  opacity:1;
  box-shadow: var(--focus-ring), inset 0 0 0 1px rgba(255,255,255,.18);
}
.view-account .btn-home:active{ transform:translateY(1px); }

@media (max-width:980px){
  .view-account .account__layout{ grid-template-columns:1fr; }
  .view-account .card.info,
  .view-account .actions > .btn{ height:auto; min-height:72px; }
}

.view-account #accountUserStatus { display:block; margin-left:46px; }

.modal[hidden] { display:none !important; }

.modal-overlay{
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: auto; height: auto;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100; 
}

.modal{
  position: fixed; inset: 0;
  display: grid; place-items: center;
  z-index: 1110;
}
.modal__card{
  background:rgba(18,18,24,.98);
  border-radius:14px; padding:20px 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06);
  min-width: 420px; max-width: 86vw;
}
.modal__title{ margin:0 0 4px 0; }
.modal__msg{ margin:0 0 14px 0; color:#c9c7d6; }

.modal__actions{ display:flex; gap:12px; justify-content:flex-end; }
.modal__actions .btn{
  min-width: 140px; height:44px; padding:0 14px; border-radius:10px; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  border: none;
}
.modal__actions .btn:focus{ outline:0; }
.modal__actions .btn:focus-visible,
.modal__actions .btn.is-focus{
  box-shadow: var(--focus-ring);
}
