.user-profile-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* GDFooter (from GD.BlazorUI) must never appear on the profile page. */
body:has(.user-profile-page) .GD-footer {
    display: none !important;
}

/* The page content (avatar + checkboxes + logout) fits within the viewport once the fixed
   elements are accounted for above; prevent the outer page from becoming scrollable. */
body:has(.user-profile-page) {
    overflow: hidden;
}

.user-profile-avatar-band {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110%;
    height: 104px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
    background: #4444440D;
}

.user-profile-avatar.mud-avatar {
    width: 5rem !important;
    height: 5rem !important;
    border: 2px dashed #334E93;
}

.user-profile-posts-title {
    width: 100%;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    color: color-mix(in srgb, var(--darkerBlue) 70%, white 30%) !important;
}

.user-profile-private-posts-checkbox {
    width: 100%;
    margin-top: 0 !important;
}

.user-profile-private-posts-checkbox .mud-typography {
    font-family: "Inter", sans-serif !important;
    font-size: 10px !important;
    color: var(--mud-palette-light-gray) !important;
}

.user-profile-private-posts-checkbox .mud-icon-button {
    padding: 0 !important;
    padding-right: 0.25rem !important;
}

.user-profile-private-posts-checkbox .mud-ripple {
    background-color: transparent !important;
}

.user-profile-private-posts-checkbox .mud-ripple::after {
    display: none !important;
}

.user-profile-posts-divider {
    flex-grow: 1;
    width: 110% !important;
    margin-left: -1rem !important;
    margin-top: 0.75rem !important;
}

.user-profile-logout-section {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: calc(0.75rem + 3.5rem + 0.75rem);
    z-index: 100;
}

.user-profile-logout-divider {
    flex-grow: 1;
    width: 120% !important;
    margin-left: -2rem !important;
}

.user-profile-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0;
    cursor: pointer;
}

.user-profile-logout-icon {
    color: var(--mud-palette-light-gray) !important;
    font-size: 0.75rem !important;
}

.user-profile-logout-text {
    font-family: "Inter", sans-serif !important;
    font-size: 10px !important;
    color: var(--mud-palette-light-gray) !important;
}

