/* Profile Page Styles */
.window-profile .profile-cover {
    height: 145px;
    width: 100%;
    background: rgb(245, 245, 245);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.window-profile .profile-cover .banner {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
}

.window-profile .profile-avatar {
    height: 128px;
    width: 128px;
    margin: 130px 23px 0px;
    top: -20px;
    left: 0px;
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    background: rgb(217, 217, 217);
    border: 5px solid white;
}

.window-profile .profile-avatar .avatar-render {
    width: 171%;
    position: absolute;
    top: -6px;
    left: -12px;
    margin-top: -12%;
}

.window-profile .profile-infos ul {
    list-style-type: none;
    margin-left: -3px; 
    margin-top: 0px;
}

.window-profile .profile-infos {
    margin-top: 45px;
    height: 110px;
    width: 98%;
    border-radius: 10px;
    border: .1px solid #ececec;
    display: flex;
    align-items: center;
}

.window-profile .profile-status {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    top: 203px;
    left: 118px;
    border: 5px solid #ffffff;
    position: absolute;
}

.window-profile .profile-status.online {
    background: #44cf48;
}

.window-profile .profile-status.afk {
    background: #ffe81f;
}

.window-profile .profile-status.offline {
    background: #e03636;
}

.window-profile .profile-actions {
    height: 30px;
    display: flex;
    align-items: center;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 165px;
    padding-right: 20px;
}

.window-profile .horizontal-menu {
    height: 24px;
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.window-profile .horizontal-menu .tab {
    flex: 0 0 auto;
    min-width: 85px;
    height: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.window-profile .horizontal-menu .tab span {
    position: relative;
    padding: 0 10px;
}

.window-profile .horizontal-menu .tab span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background-color 0.3s, transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: center bottom;
    border-radius: 5px;
}

.window-profile .horizontal-menu .tab:hover span::after,
.window-profile .horizontal-menu .tab[selected] span::after {
    transform: scaleX(1);
    background-color: #ececec;
}

.window-profile .horizontal-menu .tab[selected] span::after {
    background-color: #dcdcdc;
}
