.Sett_Settings {
    height: 100%;
}

.Sett_Settings input {
    color: var(--color-primary);
}

.Sett__UserProfile_BaseBottomSheet-headerSpacer {
    height: 4rem;
    width: 4rem;
}

.Sett_Settings .page-content {
    padding: 20px;
}

.Sett_Settings .page-content button + button {
    margin-left: 10px;
}

.Sett_Settings input[type='checkbox'] {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 15px 10px 0;
}

.Sett_Settings .control-label {
    padding: 10px 0;
}

.Sett_Settings_navigation {
    width: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    display: none;
}

.Sett_Settings_navigation--MenuOpen {
    display: block;
}

@media (min-width: 768px) {
    .Sett_Settings_navigation {
        width: 30%;
        display: block;
        border-right: 0.1rem solid var(--color-gray-300);
    }
}

.Sett_Settings_navigation button {
    display: block;
    padding: 0.8rem 1.6rem;
    color: var(--color-gray-700);
    font-size: 1.8rem;
    width: 100%;
    text-align: left;
    text-transform: initial;
    border-left: 0.3rem solid transparent;
    font-weight: var(--font-weight-medium);
}

.Sett_Settings_navigation .Sett_Button_Logout {
    color: var(--color-red-500);
}

.Sett_Settings_navigation button:active {
    background-color: var(--color-cool-gray-100);
}

.Sett_Settings_navigation button:focus,
.Sett_Settings_navigation button:hover {
    outline: none;
    text-decoration: none;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .Sett_Settings .Sett_Settings_navigation button.active {
        color: var(--color-primary);
        border-left-color: var(--color-primary);
    }
}

.Sett_Settings_navigation .title {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 32px;
    text-transform: uppercase;
}

.Sett_Settings .manage-locations h2 {
    color: var(--color-primary);
    text-align: center;
    margin-top: 0;
    width: 100%;
    padding-bottom: 10px;
}

.Sett_Settings .manage-locations h3 {
    font-size: 16px;
    color: var(--color-primary);
}

@media screen and (max-width: 500px) {
    .Sett_Settings .manage-locations h2 {
        font-size: 20px;
    }
    .Sett_Settings .manage-locations h3 {
        color: 17px;
    }
    .Sett_Settings .manage-locations p {
        font-size: 14px;
    }
    .Sett_Settings .manage-locations input:placeholder-shown {
        font-size: 11px;
    }
}

.Sett_Settings .no-connection h2 {
    margin-top: 0;
    color: var(--color-primary);
}

.Sett_Settings .no-connection img {
    max-width: 100%;
    padding: 20px;
}

.Sett_Settings .spinner {
    display: flex;
    justify-content: center;
}

.Sett_Settings .about {
    padding: 3rem 1rem 1rem;
    color: var(--color-gray-500);
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.Sett_Settings .about em {
    font-weight: var(--font-weight-extrabold);
}

.Sett_Settings .about .privacy {
    margin: 0 auto;
}

.Sett_Settings .about-provider h1 {
    margin-bottom: 0.3em;
    color: var(--color-primary);
}

.Sett_Settings .about-provider h1:not(:first-child) {
    margin-top: 2em;
}

.Sett_Settings .about-provider p {
    margin-bottom: 0.8em;
}

.Sett_Settings .security-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Sett_Settings .security-success-message {
    padding-left: 3%;
}

.Sett_Settings .security-tick {
    border-radius: 100%;
    padding: 2%;
    color: #fff;
    background-color: var(--green-color);
    margin: 0 2%;
}

.Sett_Settings .troubleshooting .section:not(:first-child) {
    padding-top: 40px;
}

.Sett_Settings .troubleshooting h2 {
    margin-bottom: 10px;
    font-size: 16px;
}

.Sett_Settings .troubleshooting p {
    padding: 5px 0;
    line-height: 1.3;
}

.Sett_Settings .troubleshooting th {
    white-space: nowrap;
}

.Sett_Settings .troubleshooting .contact-detail {
    margin: 7px 0;
    font-size: 0.9em;
}

.Sett_Settings .troubleshooting .contact-detail span:first-child {
    font-weight: var(--font-weight-bold);
    margin-right: 10px;
}

.Sett_Troubleshooting_button {
    background: #cecece;
    padding: 10px;
    border: 1px solid #8c8c8c;
    color: #333;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 1px 1px 1px 0 #dad6d6;
    cursor: pointer;
}

.Sett_Logout_safe-logout-dialog-text {
    color: var(--color-gray-700);
}

.Sett_Logout_safe-logout-dialog-heading {
    color: var(--color-cool-gray-800);
}

/* Override the MUI styles for safe logout dialogue box */

.Sett_Logout_safe-logout-dialog-root {
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Sett_Logout_safe-logout-dialog-content {
    max-width: none !important;
    transform: none !important;
}

.Sett_Logout_safe-logout-dialog-body {
    max-height: none !important;
    padding: 0 !important;
}

.Sett_BuildInfo_info-row {
    display: flex;
    align-items: center;
    font-size: 15px;
    margin: 10px 0;
}
.Sett_BuildInfo_label {
    font-weight: var(--font-weight-bold);
    flex-grow: 1;
}
.Sett_BuildInfo_value {
    padding: 5px;
}

/* Welcome Box at the top of the settings sidebar */

.Sett_WelcomeBox {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.Sett_WelcomeBox_WelcomeText {
    color: var(--color-gray-700);
    font-weight: var(--font-weight-bold);
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.4;
}

.Sett_WelcomeBox_ProfileCircle {
    --ProfileCircle-size: 6.2rem;
}

/* UserProfile page */
.Sett__UserProfile_Header {
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.Sett__UserProfile_Header-content {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 1.6rem;
}

.Sett__UserProfile_Header-profileImageMenu {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.Sett__UserProfile_Header-profileImageContainer {
    display: flex;
    justify-content: center;
    --avatar-size: 8rem;

    zaptic-profile-circle {
        --ProfileCircle-size: var(--avatar-size);
    }

    .Sett__UserProfile_Header-profileImageContainer-spinner {
        height: var(--avatar-size);
        width: var(--avatar-size);
        border-radius: 50%;
        background-color: var(--color-gray-200);
        display: flex;

        zaptic-spinner {
            --Spinner-color: var(--color-gray-400) var(--color-gray-400) transparent transparent;
            --Spinner-thickness: 0.5rem;
            --Spinner-size: calc(var(--avatar-size) / 2 - var(--Spinner-thickness));
        }
    }
}

.Sett__UserProfile_Header-profileUserContainer {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
}

.Sett__UserProfile_Header-profileUserName {
    color: var(--color-gray-700);
    font-weight: var(--font-weight-medium);
    font-size: var(--large);
}

.Sett__UserProfile_Header-profileUserTitle {
    color: var(--color-gray-600);
    font-weight: var(--font-weight-medium);
    font-size: var(--medium);
}

/**
 * Majority of the following styles should be added to syncfusion global theme without the Sett__UserProfile-tabs prefix,
 * but we are adding the prefix to avoid any conflicts with other components.
 */

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header {
    /* Anchor the absolutely-positioned indicator, keep it unclipped, and draw
       the baseline track the active indicator sits over. */
    position: relative;
    overflow: visible;
    border-bottom: 3px solid var(--color-gray-200);
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items .e-indicator {
    display: none;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items .e-hscroll-bar,
.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items .e-hscroll-content {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items .e-toolbar-item {
    /* Equal columns: each tab is 1/N of the header (min-width:0 lets long
       labels shrink instead of forcing horizontal overflow). */
    flex: 1 1 calc(100% / var(--tab-count, 1));
    min-width: 0;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-items .e-toolbar-item:hover {
    cursor: pointer;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-item .e-tab-wrap {
    /* Fill the column and centre the label within it. */
    width: 100%;
    text-align: center;
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-item .e-tab-wrap .e-text-wrap span {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.Sett__UserProfile-tabs
    .e-tab.tabs__component--full-width
    .e-tab-header
    .e-toolbar-item:not(.e-active)
    .e-tab-wrap
    .e-text-wrap
    span {
    color: var(--color-gray-400);
}

.Sett__UserProfile-tabs .e-tab.tabs__component--full-width .e-tab-header .e-toolbar-item.e-active:after {
    content: '';
    border-bottom: 3px solid var(--color-primary);
    width: 100%;
    display: inline-flex;
}

.Sett__UserProfile {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1.2rem;
}

.Sett__UserProfile--white-background {
    background-color: var(--color-white);
}

.Sett__UserProfile_Header .e-tab.tabs__component .e-content {
    border-top: 1.2rem solid var(--color-cool-gray-100);
}

.Sett__UserProfile-sections {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 1.2rem;
}

.Sett__UserProfile-ContactInfoItems {
    display: flex;
    flex-direction: column;
}

.Sett__UserProfile-ContactInfoItem {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 4.8rem;
    margin-top: 0.8rem;
}

.Sett__UserProfile-ContactInfoItem zaptic-icon > svg {
    --arrowFillColor: var(--color-gray-700);
}

.Sett__UserProfile-ContactInfoItem-icon-and-label {
    display: flex;
    flex: 1;
    gap: 1.2rem;
    align-items: center;
    color: var(--color-gray-700, #50596c);
    font-weight: var(--font-weight-medium);
}

.Sett__UserProfile-ContactInfoItem-icon svg {
    background-color: var(--color-gray-100);
    height: 2.4rem;
    width: 2.4rem;
}

.Sett__UserProfile-OptionWrapper {
    display: flex;
    flex-direction: column;
    margin-top: 0.8rem;
    color: var(--color-gray-700, #50596c);
    font-size: var(--medium);
    font-weight: var(--font-weight-medium);
}

.Sett__UserProfile-OptionWrapper zaptic-icon > svg {
    color: var(--color-gray-700);
    fill: var(--color-gray-700);
}

.Sett__UserProfile-OptionEdit,
.Sett__UserProfile-OptionRemove {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    cursor: pointer;
    gap: 0.8rem;
    height: 4.8rem;
}

.Sett__UserProfile-OptionRemove {
    color: var(--color-red-500, #e3273d);
}

.Sett__UserProfile-OptionRemove zaptic-icon > svg {
    width: 2rem;
    height: 2rem;
}

.Sett__UserProfileBottomSheet_ContentAddPhoto {
    color: var(--color-gray-700);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;

    button {
        align-items: center;
        background: none;
        display: flex;
        font-weight: var(--font-weight-medium);
        gap: 0.8rem;
        padding: 0;
        text-transform: none;
        height: 4.8rem;

        svg {
            height: 2.4rem;
            width: 2.4rem;
        }
    }
}

.Sett__UserProfileBottomSheet_ContentAddPhoto button {
    align-items: center;
    background: none;
    display: flex;
    font-weight: var(--font-weight-medium);
    gap: 0.8rem;
    padding: 0;
    text-transform: none;
}

.Sett__UserProfile__Card {
    display: flex;
    gap: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-600);
    font-size: 1.4rem;
    min-height: 4.8rem;
    align-items: center;
    padding: 0.3rem 0;
}

.Sett__UserProfile__Card-Data {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.Sett__UserProfile__Card-Avatar > svg {
    display: block;
    width: 3.2rem;
    aspect-ratio: 1;
}

.Sett__UserProfile__Card-Title {
    font-size: 1.6rem;
    color: var(--color-gray-700);
}

.Sett__UserProfile__TeamsSection,
.Sett__UserProfile__ExpertiseSection {
    display: 'flex';
    flex-direction: 'column';
    gap: '0.8rem';
}

.Sett__UserProfile__ExpertiseSection-UnitName {
    color: var(--color-light-blue-600);
    font-weight: var(--font-weight-bold);
}

.Sett__UserProfile__ExpertiseSection-Avatar {
    display: flex;
    width: 3.2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.Sett__UserProfileBottomSheet_Content__AddBio {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;

    .Sett__UserProfileBottomSheet_Content__AddBio__InputWrapper {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;

        .ant-input-textarea-show-count ~ * {
            /* reduce the width so that it sits nicely next to the text box counter: */
            width: calc(100% - 5ch);
        }

        .Sett__UserProfileBottomSheet_Content__AddBio__ErrorMessage {
            display: flex;
            gap: 0.4rem;

            zaptic-icon {
                height: 1.6rem;
                width: 1.6 rem;
            }
        }

        .Sett__UserProfileBottomSheet_Content__AddBio__Description {
            color: var(--color-gray-500);
            font-size: var(--smal);
            font-weight: var(--font-weight-medium);
            line-height: normal;
        }
    }

    .Sett__UserProfileBottomSheet_Content__AddBio__Buttons {
        display: flex;
        align-items: flex-start;
        gap: 1.6rem;
        align-self: stretch;
    }
}
