.profile-widget-container {
    position: relative;
    height: 40px;
    display: block;
    width: 40px;
    float: right;
}

.profile-widget-container .profile-icon {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--fl-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    padding-top: 3px;
}

.profile-card {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 320px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.profile-header {
    margin-bottom: 20px;
    margin-top: 20px;
}

.profile-no-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;    
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin: 0 auto 10px auto;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.profile-name {
    font-size: 1.2em;
    font-weight: bold;
}

.profile-sync {
    margin: 20px 0;
}

.widget_profile_widget {
    position: relative;
}

.profile-picture-other-profiles {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    margin-right: 5px;
    display: grid;
    place-items: center;
    line-height: 1;     
}

.sync-button {
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 32px !important;
    cursor: pointer;
    text-decoration: none !important;
}

.profile-actions a {
    display: block;
    color: #4285f4;
    text-decoration: none;
    margin: 10px 0;
}

.other-profiles {
    margin-top: 20px;
}

.other-profiles p {
    font-weight: bold;
}

.profile-guest, .add-profile {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.add-profile i {
    width: 40px;
    text-align: center;
}

.profile-guest img, .add-profile img {
    width: 20px;
    margin-right: 10px;
}

.settings-section {
    text-align: left;
    margin-top: -20px;
    padding: 20px;
    max-height: 329px;
    overflow-y: auto;    
}

.settings-section a.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 45px !important;
    padding: 6px 6px 6px 10px !important;
    /*background-color: rgba(0, 0, 0, 0.12) !important;*/
}

.settings-section a .setting-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.profile-separator {
    margin-top: 0px;
    margin-bottom: 0;
}

.add-profile {
    padding: 0 10px;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
}

.add-profile:hover {
    text-decoration: none;
}



.profile-close-container {
    text-align: right;
    font-size: 18px;
    cursor: pointer;
    margin-right: 5px;
    margin-top: 5px;

    i {
        padding: 8px 10px;
        border-radius: 100%;
    }

    &:hover {
        i {
            background-color: rgba(0, 0, 0, 0.06) !important;
        }  
    }
}

/* WebKit Browsers */
.settings-section::-webkit-scrollbar {
    width: 8px;
}

.settings-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.settings-section::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.settings-section::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Firefox */
.settings-section {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Internet Explorer and Edge */
.settings-section {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
  
.auth-buttons {
    gap: 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: stretch;
}

.auth-buttons button {
    width: 170px;
}

.auth-buttons .button i.fas {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .auth-buttons {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        align-content: stretch;
        gap: 0;
        margin-bottom: 5px;
        margin-right: -40px;
    }
}
