/* Identity Profile - Hide sidebars and navbar */
.navbar,
.main-sidebar,
.secondary-sidebar,
footer {
    display: none !important;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--banner-image, url('/static/pfp/default-banner.jpg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    z-index: -1;
    transform: scale(1.1); /* Scale up slightly to avoid blur edges */
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--uw-white-1);
    position: relative;
    z-index: 1;
    border-radius: 26px;
}

/* UniWave Branding Advert */
.uniwave-branding {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--uw-white-1);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    padding: 10px 20px;
    transition: 0.1s;
}


.uniwave-branding-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--uw-text-1);
    transition: 0.1s;
    text-decoration: none;
}

.uniwave-branding-link:hover {
    color: var(--uw-blurple-1);
    
}

.uniwave-branding-images {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.uniwave-branding-profile-pic {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--uw-white-1);
    box-sizing: content-box;
}

.uniwave-branding-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--uw-white-1);
    margin-left: -8px;
    box-sizing: content-box;
}

.uniwave-branding-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--uw-text-1);
    font-family: "Roboto", sans-serif;
    white-space: nowrap;
}

/* Back to UW profile button - top right of banner (same spot as Slate on user_profile) */
/* When inside profile-banner-actions, back link stays in flex row (no absolute) */
.profile-banner-actions .banner-back-link {
    position: static;
}
.banner-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--uw-white-1);
    border-radius: 50px;
    text-decoration: none;
    transition: 0.1s;
}

.banner-back-link img {
    width: 16px;
    height: 16px;
}
.banner-back-link:hover {
    opacity: 0.8;
}
.banner-back-link img {
    display: block;
}

/* Username section on identity profile – top margin for display name */
body.identity-profile-page .username-section {
    margin-top: 10px !important;
}