.account-page { min-height: 100dvh; background: #171d22; }
.account-page::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, #14171618 32%, #13181980 100%), url("/media/vale-login.jpg") center / cover no-repeat; }
.account-page [hidden] { display: none !important; }
.account-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px, 4vw, 40px) clamp(18px, 6vw, 90px); background: linear-gradient(#131819bb, #13181900); }
.account-header > a:last-child { color: #f0e1c9; }
.account-layout { position: relative; z-index: 1; min-height: calc(100dvh - 110px); display: grid; justify-items: end; align-items: center; padding: 16px clamp(18px, 9vw, 140px) 64px; }
.account-panel { width: min(100%, 440px); padding: clamp(23px, 5vw, 41px); background: #171c1d; border: 1px solid #625541; border-top: 2px solid #bc9d66; box-shadow: 0 16px 45px #0007; }
.account-panel h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin-bottom: 14px; }
.account-panel p { white-space: normal; }
.account-panel > .eyebrow { margin-bottom: 11px; }
.account-panel form { display: grid; gap: 8px; margin-top: 22px; }
.account-panel label { font-size: .88rem; color: #efe6d9; }
.account-panel input { width: 100%; min-height: 44px; padding: 9px 11px; font: inherit; color: #f9efdf; background: #22292a; border: 1px solid #5c6564; border-radius: 0; margin-bottom: 8px; }
.account-panel input:focus-visible, .account-link:focus-visible { outline: 2px solid #d5ae72; outline-offset: 2px; }
.account-panel small { color: #c8beb2; margin-top: -10px; margin-bottom: 8px; }
.account-panel .button { cursor: pointer; margin-top: 9px; justify-self: stretch; justify-content: center; }
.account-panel .button:disabled { cursor: wait; opacity: .72; }
.account-panel form > a, .account-link { justify-self: center; margin-top: 8px; color: #e0c58f; font: inherit; font-size: .89rem; text-decoration: underline; }
.account-link { background: none; border: 0; cursor: pointer; }
#account-status { margin-block: 12px; padding: 10px 12px; border-left: 2px solid #b49b66; background: #272822; }
#account-status[data-error] { border-color: #ee9b87; color: #ffc9af; }
@media (max-width: 650px) {
  .account-header { font-size: .87rem; }
  .account-layout { justify-items: center; padding-bottom: 25px; min-height: calc(100dvh - 85px); }
}
