@font-face {
  font-family: 'Fira Sans';
  src: url('../../Fonts/FiraSans-Regular.ttf') format('truetype');
}

#modalOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999;
}

#sideModalPanel {
    display: none;
    position: fixed;
    top: 55px;
    right: 0;
    width: 376px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 9999;
}

#sideModalTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    flex: 0 0 48px;
}

    #sideModalTitle h2 {
        margin: 0;
        font-size: 1.25em;
    }

#closeSideModal {
    background: none;
    border: none;
    font-size: 1.25em;
    cursor: pointer;
}

#sideModalContent {
    display: flex;
    flex-direction: column;
    min-height: calc(100% - 107px);
}

.profile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
}

.top {
    padding: 16px;
}

.user_info {
    text-align: center;
}

.user_info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 16px;
}

.user_info h3 {
    margin: 0;
    font-size: 16px;
}

.user_info p {
    margin: 4px 0 16px;
    color: #757575;
    font-size: 14px;
}

.user_buttons {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 0px 16px 0px 0px;
}

.user_buttons span:not(:first-child) {
    font-size: 14px;
    color: #757575;
    padding-left: 8px;
}

.user_buttons span:first-child {
    color: #353535;
    font-size: 14px;
}

.user_buttons_logout {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #007ac2;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.user_buttons_logout img {
    width: 16px;
    height: 16px;
    margin-right: 8.5px;
}

.user_border {
    border-top: 1px solid #eee;
    margin: 16px 0;
}

.user_detail span:not(:first-child) {
    padding: 16px;
    color: #757575;
    padding-bottom: 8px;
}

.user_detail span {
    font-size: 14px;
    font-weight: 400;
}

.user_detail span:first-child {
    color: #353535;
}

.bottom {
    padding: 16px;
}

.community {
    color: #007ac2;
    font-size: 14px;
    display: flex;
    gap: 8.5px;
}

.community img {
    width: 16px;
    height: 16px;
    font-weight: 400;
}

/* Preferences section */
.preferences {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F6F6F6;
    border-top: 1px solid #eee;
    margin-top: auto;
    overflow-y: auto;
}

.preferences_detail {
    padding: 16px 16px 0px 16px;
}

.preferences_detail a {
    text-decoration: none;
}

.preferences_detail p {
    margin: 4px 0;
    font-size: 14px;
    color: #353535;
    padding-bottom: 24px;
}

.preferences_icons {
    padding-left: 16px;
    display: flex;
    gap: 16px;
}

.preferences_icons img {
    width: 16px;
    height: 16px;
    font-weight: 400;
}

.preferences_border {
    border-top: 1px solid #eee;
    margin: 16px 0;
}

.preferences_copyright {
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
}