#settingsLocation.layout.content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#settingsLocation.layout.content[hidden] {
    display: none;
}

.settings-location.viewport {
    position: relative;
    display: grid;
    width: 100%;
}

.settings-location.view {
    grid-area: 1 / 1;
    min-width: 0;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.settings-location.view.primary {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings-location.view.detail {
    opacity: 0;
    transform: translateX(56px);
    pointer-events: none;
}

#settingsLocation.settings-location-detail-active .settings-location.view.primary {
    opacity: 0;
    transform: translateX(-56px);
    pointer-events: none;
}

#settingsLocation.settings-location-detail-active .settings-location.view.detail {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

.settings.title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;

    color: var(--primary-text);
}

.settings.sub-title {
    margin-top: 12px;

    font-size: 16px;

    color: var(--secondary-text);
}

.settings.title.mini {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;

    color: var(--primary-text);
}

.settings.sub-title.mini {
    margin-top: 6px;

    font-size: 14px;

    color: var(--secondary-text);
}

.settings-location.initials-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-text-alt);
    background-color: var(--primary-accent);
    border: none;
}

.settings-location.active-location {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 0px 0px 24px 0px;

    border-bottom: 1px solid var(--primary-border);
}

.settings-location.details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.settings-location.name {
    font-weight: 700;
}

.settings-location.status {
    font-weight: 400;
    color: var(--secondary-text);
}

.settings-location.section-wrapper {
    display: flex;
    flex-direction: column;

    padding: 24px 0px;
}

.settings-location.list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    margin-top: 24px;
    gap: 12px;
}


.settings-location.list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;

    gap: 24px;
    padding: 12px;
    border-radius: 12px;

    background-color: var(--toolbarBG);
    border: 1px solid var(--primary-border);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.settings-location.list-item:hover {
    background-color: color-mix(in srgb, var(--toolbarBG) 85%, var(--primary-accent) 15%);
}

.settings-location.list-item:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.settings-location.list-item.active {
    background-color: color-mix(in srgb, var(--primary-accent) 16%, var(--toolbarBG) 84%);
}

.settings-location.header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 12px;
}

.settings-location.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 8px;

    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-location.list-chevron {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.settings-location.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 320px;
    padding: 12px 0px 0px 0px;
}

#toolbarSettings {
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

#controllerSettings.settings-location-detail-active #toolbarSettings .toolbar.controller-wrapper {
    transform: translateX(0px);
}

#controllerSettings.settings-location-detail-active #settingsToolbarCreateButtonWrapper,
#controllerSettings.settings-location-detail-active #settingsToolbarSignOutButtonWrapper {
    display: none;
}








#settingsProfile.layout.content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#settingsProfile.layout.content[hidden] {
    display: none;
}

#primary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: row;

    gap: 12px;
}

#secondary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 12px;
}

#tertiary.settings-profile.card-wrapper {
    display: flex;
    flex-direction: row;

    gap: 12px;
}

.settings-profile.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;

    gap: 0px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--primary-border);
    background-color: var(--cardBG);
}

#accountHolder.settings-profile.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#accountHolderAnalytics.settings-profile.card {
    display: flex;
    flex-direction: row;
    align-items: start;

    height: 100%;
}

#accountHolderDetails.settings-profile.card {
    display: flex;

    width: 100%;
}

.settings-profile.card-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    gap: 12px;
}

.button.toolbar.settings-profile {
    height: 24px;

    color: var(--primary-accent);
    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-profile.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 1 / 1;
    padding: 12px;
    border-radius: 999px;

    background-color: color-mix(in srgb, var(--primary-text) 10%, transparent);
}

.settings-profile.card-details-wrapper {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin-top: 12px;
}

.settings-profile.card-details-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    font-size: 14px;
    gap: 12px;
    width: 100%;
    padding: 12px 0px;

    border-bottom: 1px solid var(--primary-border);
}

.settings-profile.card-details-label {
    font-weight: 500;
}

.settings-profile.card-details-result {
    text-align: right;

    color: var(--secondary-text);
}

.settings-profile.analytics-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0px;

    margin-left: 12px;
}

.card.title.account-holder-analytics {
    margin: 0px;
}

.settings-profile.account-holder.initials {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
    aspect-ratio: 1 / 1;

    font-size: 18px;
    font-weight: 900;

    background-color: var(--primary-accent);
    color: var(--primary-text-alt);
}

.settings-profile.account-holder.name {
    white-space: nowrap;

    margin-bottom: 6px;

    font-size: 32px;
    font-weight: 900;

    color: var(--primary-text);
}

.settings-profile.account-holder.status {
    text-align: center;
    margin-top: 0px;
    color: var(--secondary-text);
}

#settingsSubscription.layout.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;

    padding: 0px;

    gap: 12px;
}

#settingsSubscription.layout.content[hidden] {
    display: none;
}

.subscription-overview.card {
    display: flex;
    flex-direction: column;

    background-color: var(--cardBG);
    border-radius: 20px;
    padding: 0px;
    border: 1px solid var(--primary-border);
}

.subscription-overview.card-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    width: 100%;
    padding: 12px 12px 12px 12px;
    gap: 12px;
}

.subscription-overview.card-wrapper .subscription-overview.card {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
}

#subscriptionLocationCardLabel.card.label {
    padding: 20px 20px 0px 20px;
}

#subscriptionCardTitle.card.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 56px;
    width: 100%;
    padding: 0px 20px;
}

.subscription.plan.title-wrapper {
    white-space: nowrap;
}

.subscription.amount {
    color: var(--primary-accent);
}

.subscription.amount-range {
    font-size: 14px;
}

#subscriptionRenewalWrapper.card.sub-title {
    padding: 0px 20px 48px 20px;
}

.subscription-overview.card-action-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;

    gap: 12px;
    padding: 12px 20px;

    border-top: 1px solid var(--primary-border);
}

.subscription-overview.card-action-wrapper .button[hidden] {
    display: none !important;
}

.button.subscription {
    font-size: 14px;
    min-width: 30px;
    padding: 7px 15px;
    line-height: 1.43;

    margin: 0px;
}

#subscriptionUpgradePlan.button.subscription {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-text-alt);
}

#subscriptionCancelPlan.button.subscription {
    color: var(--warning);
}
