:root {
    --account-green: #9de63f;
    --account-dark: #111817;
    --account-cyan: #29d6ff;
    --account-gold: #ffb740;
    --account-panel: rgba(255, 255, 255, 0.05);
    --account-border: rgba(255, 255, 255, 0.1);
    --account-copy: #bdc9c5;
}

.account-body {
    min-height: 100vh;
    color: #f7fbf5;
    background:
        radial-gradient(circle at top left, rgba(255, 205, 98, 0.22), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(41, 214, 255, 0.18), transparent 26%),
        linear-gradient(180deg, #eff5f0 0%, #e5ece6 44%, #dce4de 100%);
    font-family: "Outfit", sans-serif;
}

.account-page-main {
    padding: 0 0 72px;
}

.account-hero {
    padding: 34px 0 18px;
}

.account-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 22px;
    align-items: stretch;
}

.account-hero__copy,
.account-hero__panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(7, 10, 12, 0.15);
    backdrop-filter: blur(14px);
}

.account-hero__copy {
    padding: clamp(26px, 4vw, 38px);
    color: #fff;
    background:
        linear-gradient(160deg, rgba(9, 13, 16, 0.76), rgba(17, 24, 28, 0.84)),
        radial-gradient(circle at top right, rgba(36, 216, 255, 0.16), transparent 28%),
        linear-gradient(rgba(8, 12, 14, 0.12), rgba(8, 12, 14, 0.12)),
        var(--account-hero-image) center/cover no-repeat,
        radial-gradient(circle at bottom left, rgba(255, 183, 64, 0.14), transparent 32%),
        linear-gradient(160deg, rgba(13, 18, 21, 0.92), rgba(22, 31, 35, 0.88));
}

.account-hero__title {
    margin: 14px 0 12px;
    color: #fff;
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.95rem, 5vw, 3.1rem);
    line-height: 1.04;
}

.account-hero__lead {
    max-width: 52ch;
    margin: 0;
    color: rgba(245, 247, 244, 0.84);
    font-size: 1.03rem;
    line-height: 1.7;
}

.account-hero__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: rgba(245, 247, 244, 0.7);
    font-size: 0.92rem;
}

.account-hero__breadcrumbs strong {
    color: #fff;
}

.account-hero__panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    align-content: center;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(159, 225, 40, 0.16), transparent 24%),
        linear-gradient(155deg, rgba(15, 22, 21, 0.92), rgba(24, 35, 32, 0.88));
}

.account-hero__panel-label {
    color: var(--account-green);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-hero__panel strong {
    font-family: "Bungee", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.1;
}

.account-hero__panel p {
    margin: 0;
    color: rgba(245, 247, 244, 0.8);
    line-height: 1.65;
}

.account-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.account-hero__actions .button {
    min-width: 170px;
}

.account-section {
    padding-top: 4px;
}

.account-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 0 64px;
}

.account-card {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--account-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(41, 214, 255, 0.1), transparent 28%),
        linear-gradient(160deg, rgba(29, 41, 39, 0.97), rgba(15, 22, 21, 0.98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.account-eyebrow,
.primary-next > span,
.account-hero-card__eyebrow,
.account-panel__eyebrow {
    color: var(--account-green);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-header__account--current {
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.18), rgba(54, 135, 255, 0.18));
    border-color: rgba(255, 203, 50, 0.28);
    color: #fff;
}

.site-header__account--current:hover,
.site-header__account--current:focus-visible {
    background: linear-gradient(135deg, rgba(255, 203, 50, 0.26), rgba(54, 135, 255, 0.24));
}

.account-lead,
.account-card p {
    color: var(--account-copy);
    line-height: 1.65;
}

.account-command-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 183, 64, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.account-command-bar__copy {
    max-width: 64ch;
}

.account-command-bar__copy h2 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.account-command-bar__copy p {
    margin: 0;
}

.account-command-bar__user {
    display: grid;
    gap: 4px;
    min-width: min(100%, 280px);
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(9, 14, 13, 0.68);
    text-align: right;
}

.account-command-bar__user strong {
    color: #fff;
    font-size: 1.08rem;
}

.account-command-bar__user span {
    color: #9fb0ab;
    word-break: break-word;
}

.account-subnav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.account-subnav__link {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.account-subnav__link span {
    color: #8fb29f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-subnav__link strong {
    color: #fff;
    font-size: 1rem;
}

.account-subnav__link:hover,
.account-subnav__link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(41, 214, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.account-subnav__link.is-active {
    border-color: rgba(255, 183, 64, 0.3);
    background:
        linear-gradient(135deg, rgba(255, 183, 64, 0.18), rgba(41, 214, 255, 0.16)),
        rgba(255, 255, 255, 0.08);
}

.account-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.account-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.account-form input {
    box-sizing: border-box;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: #0c1211;
    color: #fff;
    font: inherit;
}

.account-form input:focus {
    outline: 2px solid var(--account-cyan);
    outline-offset: 1px;
}

.account-form small {
    color: #8fa19b;
    font-weight: 500;
}

.password-wrap {
    display: flex;
}

.password-wrap input {
    border-radius: 12px 0 0 12px;
}

.password-wrap button {
    border: 0;
    border-radius: 0 12px 12px 0;
    padding: 0 14px;
    background: #273431;
    color: #fff;
    font-weight: 800;
}

.check {
    display: flex !important;
    grid-template-columns: auto 1fr !important;
    align-items: start;
    font-weight: 500 !important;
}

.check input {
    width: 20px;
    margin-top: 2px;
}

.account-card a {
    color: var(--account-cyan);
}

.account-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--account-green), #62ce55);
    color: #10200e !important;
    font: 800 1rem inherit;
    text-decoration: none;
    cursor: pointer;
}

.account-button:disabled {
    opacity: 0.55;
}

.notice {
    margin: 24px 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 105, 105, 0.35);
    border-radius: 14px;
    background: rgba(126, 24, 24, 0.18);
}

.notice p {
    margin: 0;
}

.notice--success {
    border-color: rgba(157, 230, 63, 0.4);
    background: rgba(87, 140, 30, 0.18);
}

.account-links,
.account-switch,
.account-back {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.status-grid,
.future-grid {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-grid article,
.future-grid article,
.primary-next,
.account-panel,
.account-hero-card {
    padding: 20px;
    border: 1px solid var(--account-border);
    border-radius: 16px;
    background: var(--account-panel);
}

.status-grid span,
.status-grid small {
    display: block;
    color: #9baca7;
}

.status-grid strong {
    display: block;
    margin: 8px 0;
    color: #fff;
}

.status-grid__highlight {
    border-color: rgba(255, 183, 64, 0.35);
    background: linear-gradient(135deg, rgba(255, 183, 64, 0.16), rgba(255, 255, 255, 0.04));
}

.status-grid__highlight strong {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff6d5;
}

.primary-next {
    margin: 24px 0;
    border-color: rgba(157, 230, 63, 0.28);
}

.primary-next .account-button {
    margin-top: 12px;
}

.account-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.account-metric-card {
    padding: 20px;
    border: 1px solid var(--account-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 32%),
        rgba(255, 255, 255, 0.04);
}

.account-metric-card span,
.account-metric-card small {
    display: block;
}

.account-metric-card span {
    color: #a8b8b3;
}

.account-metric-card strong {
    display: block;
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.05;
}

.account-metric-card small {
    color: #98aba5;
    line-height: 1.55;
}

.account-metric-card--gold {
    border-color: rgba(255, 183, 64, 0.28);
    background:
        radial-gradient(circle at top right, rgba(255, 183, 64, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.account-metric-card--green {
    border-color: rgba(157, 230, 63, 0.28);
    background:
        radial-gradient(circle at top right, rgba(157, 230, 63, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.account-metric-card--red {
    border-color: rgba(255, 105, 105, 0.24);
    background:
        radial-gradient(circle at top right, rgba(255, 105, 105, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.account-metric-card--cyan {
    border-color: rgba(41, 214, 255, 0.24);
    background:
        radial-gradient(circle at top right, rgba(41, 214, 255, 0.13), transparent 34%),
        rgba(255, 255, 255, 0.04);
}

.account-hero-card {
    display: grid;
    gap: 16px;
    margin: 24px 0 28px;
    border-color: rgba(41, 214, 255, 0.24);
    background:
        radial-gradient(circle at top right, rgba(41, 214, 255, 0.13), transparent 36%),
        rgba(255, 255, 255, 0.04);
}

.account-hero-card h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    line-height: 1.05;
}

.account-hero-card p {
    margin: 0;
}

.account-hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #9baca7;
    font-size: 0.95rem;
}

.account-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0;
}

.account-panel {
    min-width: 0;
}

.account-panel__heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.account-panel__heading h3 {
    margin: 8px 0 0;
    font-size: 1.35rem;
}

.account-panel__intro {
    margin: 0 0 16px;
    color: #9fb0ab;
}

.account-empty {
    margin: 0;
    color: #9fb0ab;
}

.activity-list,
.order-list,
.link-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-list,
.order-list {
    display: grid;
    gap: 12px;
}

.activity-item,
.order-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(12, 18, 17, 0.72);
}

.activity-item--credit {
    border-color: rgba(157, 230, 63, 0.22);
}

.activity-item--debit {
    border-color: rgba(255, 105, 105, 0.28);
}

.activity-item--neutral {
    border-color: rgba(41, 214, 255, 0.22);
}

.activity-item__copy,
.order-item__copy {
    min-width: 0;
}

.activity-item__copy strong,
.order-item__copy strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
}

.activity-item__copy p,
.order-item__copy p {
    margin: 0 0 6px;
}

.activity-item__copy small,
.order-item__copy small,
.account-event-line span {
    color: #9baca7;
}

.activity-item__delta {
    flex-shrink: 0;
    min-width: 88px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    text-align: right;
    font-weight: 900;
}

.activity-item--credit .activity-item__delta {
    color: var(--account-green);
}

.activity-item--debit .activity-item__delta {
    color: #ff9f9f;
}

.activity-item--neutral .activity-item__delta {
    color: var(--account-cyan);
}

.order-item__badge {
    flex-shrink: 0;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-item__badge--success {
    background: rgba(157, 230, 63, 0.16);
    color: var(--account-green);
}

.order-item__badge--info {
    background: rgba(41, 214, 255, 0.14);
    color: var(--account-cyan);
}

.order-item__badge--warning {
    background: rgba(255, 183, 64, 0.15);
    color: #ffd27b;
}

.order-item__badge--danger {
    background: rgba(255, 105, 105, 0.15);
    color: #ff9f9f;
}

.order-item__badge--muted {
    background: rgba(255, 255, 255, 0.08);
    color: #c9d3d0;
}

.account-event-line {
    margin: 0;
}

.account-event-line + .account-event-line {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.link-steps {
    display: grid;
    gap: 18px;
    margin: 28px 0;
    counter-reset: steps;
}

.link-steps li {
    display: grid;
    gap: 7px;
    padding-left: 44px;
    position: relative;
}

.link-steps li:before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--account-green);
    color: #10200e;
    font-weight: 900;
}

.link-steps span {
    color: #aebdb8;
    line-height: 1.55;
}

.link-steps code {
    width: max-content;
    padding: 8px 13px;
    border-radius: 8px;
    background: #080c0b;
    color: var(--account-green);
    font-size: 1.05rem;
}

.link-code {
    text-align: center;
    font-family: ui-monospace, monospace !important;
    font-size: 1.35rem !important;
    letter-spacing: 0.14em;
}

.text-button {
    border: 0;
    background: transparent;
    color: #ffadad;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 760px) {
    .account-hero {
        padding-top: 20px;
    }

    .account-hero__content {
        grid-template-columns: 1fr;
    }

    .account-hero__copy,
    .account-hero__panel,
    .account-card {
        border-radius: 22px;
    }

    .account-hero__actions {
        flex-direction: column;
    }

    .account-hero__actions .button {
        width: 100%;
        min-width: 0;
    }

    .account-shell {
        padding-bottom: 44px;
    }

    .account-command-bar {
        padding: 18px;
    }

    .account-command-bar__user {
        min-width: 0;
        width: 100%;
        text-align: left;
    }

    .account-subnav,
    .account-metrics,
    .status-grid,
    .future-grid,
    .account-panels {
        grid-template-columns: 1fr;
    }

    .account-links {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .activity-item,
    .order-item {
        flex-direction: column;
    }

    .activity-item__delta,
    .order-item__badge {
        min-width: 0;
        text-align: left;
    }
}
