.account-page {
    display: block;
    max-width: 480px;
    margin: 2rem auto;
    padding: 1rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.account-page h1,
.account-page h2,
.account-page h3 {
    text-align: center;
    margin-bottom: 1rem;
}


.account-page .id-wrapper {
    font-size: .75rem;
    font-weight: 300;
    color: rgba(0,0,0,.75);
    cursor: pointer;
    text-align: center;
    margin: 2rem auto;
}

.account-page .id-wrapper .id-help {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

body.dark .account-page .id-wrapper {
    color: rgba(255,255,255,.75);
}

.account-page .id-wrapper input {
    display: block;
    border: 0;
    margin: 0 auto;
    padding: 0;
    width: 21em;
    font-size: inherit;
    cursor: pointer;
}
body.dark .account-page .id-wrapper input {
    background: transparent;
    color: inherit;
}

.login-page .login-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}
.login-page .sidebar-login-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-page #appleid-signin {
    width: 100% !important;
    max-width: 375px;
    height: 38px !important;
}
.login-page .sidebar-login-button-container {
    height: 38px;
    width: 100%;
}
.login-page .sidebar-login-button-wrapper > * {
    width: 100% !important;
}

.profile-benefits-page {
    padding: 2rem 1.25rem 3rem;
}

.profile-benefits__page-title {
    font-weight: 900;
    letter-spacing: -0.015em;
    color: #0c1e35;
}

body.dark .profile-benefits__page-title {
    color: #f6f7fb;
}

.premium-benefits {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #dbe7ff;
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 14px 40px rgba(15, 51, 105, 0.08);
    color: #0c1e35;
}

body.dark .premium-benefits {
    background: linear-gradient(135deg, #0e1524 0%, #0c111f 100%);
    border-color: #1f2d46;
    color: #f2f6ff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.premium-benefits a {
    color: #0f68e2;
    font-weight: 700;
}

body.dark .premium-benefits a {
    color: #7abbff;
    text-decoration: underline;
}

.premium-benefits__heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.premium-benefits__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e88e5, #0d64d6);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 22px rgba(14, 116, 224, 0.35);
}

.premium-benefits__eyebrow {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: #4d6b94;
}

body.dark .premium-benefits__eyebrow {
    color: #8ca9d6;
}

.premium-benefits__title {
    font-size: clamp(1.35rem, 2vw + 1rem, 2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-top: 0.1rem;
}

.premium-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

@media (min-width: 720px) {
    .premium-benefits__list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
    }
}

.premium-benefits__item {
    display: flex;
    gap: 0.9rem;
    padding: 0.95rem 1.05rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e6edfa;
    border-radius: 18px;
    align-items: flex-start;
    box-shadow: 0 10px 24px rgba(13, 52, 112, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.dark .premium-benefits__item {
    background: rgba(18, 26, 41, 0.85);
    border-color: #22324e;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.premium-benefits__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(11, 46, 100, 0.12);
    border-color: #c7d8ff;
}

body.dark .premium-benefits__item:hover {
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
    border-color: #2d4570;
}

.premium-benefits__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e7f0ff;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #0c4db8;
}

body.dark .premium-benefits__icon {
    background: rgba(54, 150, 233, 0.12);
    color: #8bc4ff;
}

.premium-benefits__item-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.premium-benefits__item-desc {
    font-size: 0.95rem;
    color: #394b63;
    line-height: 1.45;
}

body.dark .premium-benefits__item-desc {
    color: #c6d4eb;
}

body.dark .account-page input[type="text"] {
    background: #ccc;
    color: #181818;
}

body.dark .account-page input[type="text"]::placeholder {
    color: #4d4d4d;
}

.profile-rides {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.benefits-login-cta {
    display: flex;
    justify-content: center;
}

.benefits-purchase-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.benefits-purchase-btn {
    width: 100%;
    max-width: 420px;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 59, 131, 0.22);
    text-align: center;
}

body.dark .benefits-purchase-btn {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.profile-rides label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.profile-rides input[type="checkbox"] {
    accent-color: #1e88e5;
}

body.dark .profile-rides {
    color: #f0f0f0;
}

.profile-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.profile-primary-btn {
    width: 100%;
    max-width: 420px;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 59, 131, 0.22);
    text-align: center;
}

body.dark .profile-primary-btn {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.premium-upgrade {
    text-align: center;
    margin-top: 1.5rem;
}

.premium-upgrade__caption {
    margin-bottom: 0.5rem;
}

