.account-page {
    min-height: 100vh;
    background: #f1eef7;
    color: #342d46;
}

.account-layout {
    display: grid;
    min-height: 100vh;
    padding: 28px 16px;
    place-items: center;
    background:
        radial-gradient(ellipse at 8% 8%, rgba(157, 125, 209, .13), transparent 34%),
        radial-gradient(ellipse at 92% 88%, rgba(86, 150, 180, .10), transparent 38%),
        #f1eef7;
}

.account-card {
    width: min(100%, 480px);
    padding: 32px;
    border: 1px solid rgba(108, 83, 151, .13);
    border-radius: 22px;
    background: rgba(251, 249, 254, .94);
    box-shadow: 0 18px 52px rgba(55, 39, 82, .13), 0 2px 8px rgba(55, 39, 82, .04);
}

.account-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 19px -5px;
}

.account-brand img {
    display: block;
    width: 160px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(19%) sepia(13%) saturate(1222%) hue-rotate(219deg) brightness(91%) contrast(91%);
}

.account-card h1 {
    margin: 0 0 6px;
    color: #332b45;
    font-size: clamp(25px, 5vw, 30px);
    letter-spacing: -.035em;
    line-height: 1.2;
}

.account-intro {
    margin: 0 0 14px;
    color: #6d6878;
    font-size: 14px;
    line-height: 1.5;
}

.account-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin: 0 0 19px;
    color: #655d75;
    font-size: 11px;
    font-weight: 650;
}
.account-benefits span { display: inline-flex; align-items: center; gap: 6px; }
.account-benefits i {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #eee8f8;
    color: #7655b2;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.account-status {
    margin: 0 0 14px;
    color: #48566c;
    font-size: 13px;
}
.account-status:empty { display: none; }
.account-status.is-success { color: #28674c; }
.account-status.is-error { color: #a03147; }

.provider-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 2px;
}

.provider-button {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid #e1dbea;
    border-radius: 11px;
    background: #fff;
    color: #39334a;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: border-color .16s ease, background .16s ease;
}
.provider-button:hover {
    border-color: #9b7bca;
    background: #f8f4fd;
    color: #39334a;
}
.provider-button[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }
.provider-button[aria-disabled="true"]:hover { border-color: #e1dbea; background: #fff; }
.provider-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.provider-help { margin: 8px 0 0; color: #8c4d32; font-size: 12px; }

.account-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 13px;
    color: #817b8c;
    font-size: 12px;
}
.account-divider::before,
.account-divider::after {
    height: 1px;
    flex: 1;
    background: #e8e4ed;
    content: "";
}

.account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: #efebf5;
}
.account-tabs button {
    min-height: 41px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #686276;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.account-tabs button.is-active {
    background: #fff;
    color: #6546a2;
    box-shadow: 0 1px 5px rgba(42, 31, 62, .12);
}

.account-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.account-form label {
    margin-top: 5px;
    color: #39334a;
    font-size: 13px;
    font-weight: 700;
}
.account-form input {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #d9d3e2;
    border-radius: 9px;
    background: #fff;
    color: #282439;
    font: inherit;
    font-size: 14px;
}
.account-form input::placeholder { color: #9b95a5; }
.account-form input:focus {
    border-color: #8b6ac3;
    outline: 3px solid rgba(139, 106, 195, .16);
}
.account-hint { margin: 1px 0 2px; color: #716b7d; font-size: 11px; }

.account-submit {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 9px;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(110deg, #7352ae, #8060bc);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
    cursor: pointer;
    transition: background .16s ease;
}
.account-submit:hover { background: linear-gradient(110deg, #63449b, #7151ab); color: #fff; }
.account-submit:disabled { cursor: wait; opacity: .68; }
.account-back {
    display: inline-flex;
    margin-top: 18px;
    color: #67489f;
    font-size: 13px;
    font-weight: 700;
}
.account-back:hover { text-decoration: underline; }

.member-panel { display: grid; justify-items: center; padding-top: 8px; text-align: center; }
.member-success-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    place-items: center;
    border-radius: 50%;
    background: #e4f3eb;
    color: #28734f;
    font-size: 26px;
    font-weight: 800;
}
.member-state { margin: 0 0 7px; color: #478166; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.member-panel h2 { margin: 0 0 9px; color: #352d48; font-size: 25px; }
.member-name { margin: 0 0 3px; color: #352d48; font-size: 17px; font-weight: 750; }
.member-email { margin: 0 0 7px; color: #6e687b; font-size: 13px; }
.member-note { margin: 0 0 12px; color: #686176; font-size: 13px; }
.member-builds { width: 100%; }
.account-logout { margin-top: 12px; padding: 8px 12px; border: 0; background: transparent; color: #954358; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.account-logout:hover { text-decoration: underline; }
.account-skip { position: fixed; z-index: 10; top: -60px; left: 20px; padding: 12px; border-radius: 8px; background: white; color: #352d48; }
.account-skip:focus { top: 12px; }

@media (max-width: 460px) {
    .account-layout { padding: 14px; }
    .account-card { padding: 24px 20px; border-radius: 18px; }
    .provider-options { grid-template-columns: 1fr; }
    .provider-button { justify-content: center; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
