.account-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 3rem);
    background: var(--bs-body-bg);
    align-items: center;
}

.account-shell__hero {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.5rem 3rem rgba(13, 110, 253, 0.25);
}

.account-shell__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.3), transparent 35%),
                radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.2), transparent 32%);
    pointer-events: none;
}

.account-shell__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.account-shell__brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.account-shell__heading {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.account-shell__lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

.account-shell__highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.account-shell__highlight {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.account-shell__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.account-shell__footnote {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.account-shell__panel {
    max-width: 540px;
    width: 100%;
    justify-self: center;
}

.account-shell__card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
}

.account-shell__card h2 {
    font-size: clamp(1.4rem, 2vw, 1.65rem);
}

.account-shell__card .form-control,
.account-shell__card .form-select {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
}

.account-shell__card .btn {
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
}

.account-shell__card .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
}

.account-shell__card .alert {
    border-radius: 0.85rem;
}

[data-bs-theme="dark"] .account-shell__card {
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .account-shell__hero::after {
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 35%),
                radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.12), transparent 32%);
}

@media (max-width: 767.98px) {
    .account-shell {
        padding: 1.25rem;
    }

    .account-shell__hero {
        order: 2;
    }

    .account-shell__panel {
        order: 1;
    }
}
