:root {
    --c2-black: #191921;
    --c2-black-90: #303037; /* 90% */
    --c2-black-80: #47474D; /* 80% */
    --c2-black-70: #5e5e64; /* 70% */
    --c2-black-60: #75757A; /* 60% */
    --c2-black-50: #8C8C90; /* 50% */
    --c2-black-40: #A3A3A6; /* 40% */
    --c2-black-30: #BABABC; /* 30% */
    --c2-black-20: #D1D1D3; /* 20% */
    --c2-black-10: #E8E8E9; /* 10% */
    --c2-black-6: #F1F1F2; /* 6% */
    --c2-black-3: #F8F8F8; /* 3% */
    --c2-yellow: #fff000;
    --c2-action-blue: #0085FF;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: #dadada30;
}

a, input, button {
    /* Disable double-click to zoom on links, input fields and buttons to improve responsiveness */
    touch-action: manipulation;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    border: none;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto; /* Enable scrolling */
    scrollbar-width: none; /* For Firefox */
    -webkit-overflow-scrolling: touch;
}

body::-webkit-scrollbar {
    display: none;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    padding: 4vw 6vw 28vw 6vw;
    width: 100%;
    /*max-width: 450px;*/
}

.content--noscroll {
    position: fixed;
}

.content--noscroll--grey {
    background-color: var(--c2-black-6);
    padding-bottom: 2vw;
    gap: 0;
}

.content--noscroll--grey img {
    width: clamp(30px, 7vh, 80px);
}

.content-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    max-width: 450px;
    width: 100%;
}

.content-array {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 450px;
    padding-bottom: 100px;
    overflow-y: auto;
    position: relative;
    top: 0;
    bottom: 0;
    -webkit-overflow-scrolling: touch;
}

/* "page--search" used to prevent entire screen from scrolling on support creator */

.page--search,
.page--search html,
.page--search body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
    margin: 0;
    padding: 0;
}

.page--search .content-array {
    position: relative;
    left: 0;
    right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hidden-on-focus {
    display: none !important;
}

.content-array--mysupporters {
    padding-bottom: 150px;
}

.content-array-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
    padding-bottom: 50px;
    margin-top: 0;
    overflow-y: auto;
    position: absolute;
    top: 110px;
    bottom: 0;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 1.5%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 1.5%);
}

.spacer2 {
    height: 2px;
}

.spacer4 {
    display: flex;
    width: 100%;
    height: 4px;
}

.spacer8 {
    display: flex;
    width: 100%;
    height: 8px;
}

.spacer16 {
    display: flex;
    height: 16px;
}


/*------------------------------------
Sticky Bottoms
--------------------------------------*/

.sticky-bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
    background-color: #ffffffe0;
    height: 90px;
    padding: 15px 15px 0 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    z-index: 10;
}

.sticky-bottom-array {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
    background-color: #f8f8f8e0;
    border-top: 1px solid var(--c2-black-10);
    gap: 5px;
    height: 90px;
    padding: 15px 15px 0 15px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    z-index: 10;
}

.sticky-bottom-array--button {
    background-color: white;
    border: none;
    left: auto;
    max-width: 450px;
}

.stick-bottom-array-content-container {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 450px;
    width: 100%;
    align-items: flex-start;
}

.sticky-bottom-array-left {
    display: flex;
    width: 43%;
}

.sticky-bottom-array-right {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

/*------------------------------------
Buttons
--------------------------------------*/

.button1 {
    position: relative;
    display: flex;
    background-color: var(--c2-yellow);
    border: none;
    border-radius: 10px;
    width: 100%;
    max-width: 450px;
    height: clamp(32px, 9vh, 50px);
    font-size: clamp(15px, 4.75vw, 20px);
    font-weight: 750;
    letter-spacing: -0.015em;
    color: var(--c2-black);
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    gap: 3px;
}

.button1:disabled {
    opacity: 25%;
    cursor: not-allowed
}

.button1-icon img{
    height: 17px;
    width: auto;
    margin-top: 3px;
}

.button2 {
    display: flex;
    padding: 13px 15px 15px 15px;
    background-color: var(--c2-yellow);
    border-radius: 10px;
    font-size: clamp(13px, 4.3vw, 19px);
    font-weight: 750;
    letter-spacing: -0.015em;
    color: var(--c2-black);
    text-align: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.button3 {
    display: flex;
    box-sizing: border-box;
    padding: 10px 10px 12px 10px;
    background-color: var(--c2-black-6);
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    font-weight: 590;
    letter-spacing: -0.015em;
    color: var(--c2-action-blue);
    text-align: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.button3--destructive {
    color: #ff0004;
}

.button4 {
    display: flex;
    padding: 6px 12px 8px 12px;
    background-color: var(--c2-yellow);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.015em;
    color: var(--c2-black);
    text-align: center;
    justify-content: center;
    margin-left: 5px;
    cursor: pointer;
    text-decoration: none;
}

#save-agency-btn {
    position: relative;
}

#save-agency-btn[saving],
#save-agency-btn[saved] {
    color: transparent;
}
#save-agency-btn .button1-icon {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}
#save-agency-btn[saving] .button1-icon,
#save-agency-btn[saved] .button1-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--c2-black);
}
#save-agency-btn[saved] .button1-icon {
    pointer-events: none;
}

#save-agency-btn .spinner {
    border-color: #00000020;
    border-top-color: var(--c2-black);
}

#save-agency-btn .button1-icon img {
    height: 14px;
    width: auto;
}

/*------------------------------------
Buttons spinner
--------------------------------------*/

.button-spinner-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #eee;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*------------------------------------
Input field
--------------------------------------*/

.input-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 2vh;
}

.input-container label {
    font-size: clamp(12px, 4vw, 17px);
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
    margin-bottom: 1vh;
}

.input-wrapper {
    display: flex;
    position: relative;
    width: 100%;
}

.placeholder {
    position: absolute;
    top: 46%;
    left: 10px;
    transform: translateY(-50%);
    font-size: clamp(15px, 4.3vw, 19px);
    color: var(--c2-black-40);
    pointer-events: none;
    z-index: 1;
}

.clear-button-sac {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: none; /* hidden by default */
    z-index: 2;
    width: 3vh;
    height: 3vh;
}

.clear-button-sac img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.input-wrapper input:not(:placeholder-shown) + .clear-button-sac {
    display: block;
}

.custom-input {
    width: 100%;
    padding: 1vh 10px 1.5vh 26px;
    font-size: clamp(15px, 4.3vw, 19px);
    font-weight: 500;
    border: 1px solid var(--c2-black-40);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease;
}

.custom-input:focus {
    border-color: var(--c2-black);
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}

.text-container2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin: 60px 0 10px 0;
    align-items: center;
}

.input-group-container {
    display: flex;
    flex-direction: column;
    margin-top: 2vh;
    width: 100%;
    max-width: 450px;
}

.input-group-container--agency {
    margin-top: 0px;
}

.agency-input-container label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
    margin: 8px 0;
}

.agency-input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.agency-custom-input {
    width: 100%;
    padding: 10px 10px 12px 10px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    border: 1px solid var(--c2-black-30);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s ease;
    resize: none; /* Prevent manual resizing by the user */
    overflow: hidden; /* Prevent scrollbar from appearing */
    box-sizing: border-box;
    height: auto;
    min-height: 44px;
}

.agency-custom-input:focus {
    border-color: var(--c2-black);
}


/*------------------------------------
Search field
--------------------------------------*/

.search-content-container {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    top: 0;
    z-index: 20;
    position: fixed;
    width: 100%;
    height: 110px;
    box-sizing: border-box;
    align-items: center;
    padding: 20px;
}

.input-wrapper-search {
    display: flex;
    align-items: center;
    position: relative;
    width: calc(100% + 10px);
    margin-left: -5px;
    justify-content: space-between;
    background-color: white;
}

.search-icon {
    position: absolute;
    left: 6px;
    width: 24px;
    height: 24px;
    z-index: 2;
    pointer-events: none;
}

.custom-input-search {
    flex-grow: 1; /* Allow input to grow and shrink */
    padding: 9px 36px 10px 30px;
    font-size: 17px;
    font-family: inherit;
    font-weight: 400;
    border-radius: 10px;
    border: 1px solid var(--c2-black-6);
    outline: none;
    background-color: var(--c2-black-6);
    transition: all 0.15s ease;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

.input-wrapper-search.is-focused .custom-input-search {
    flex-grow: 0.92;
    border: 1px solid var(--c2-black);
    background-color: white;
}

.input-wrapper-search.has-input:not(.is-focused) .custom-input-search {
    flex-grow: 1;
    background-color: var(--c2-black-6);
    border: 1px solid var(--c2-black-6);
}

.clear-button {
    position: absolute;
    right: 60px;
    width: 18px;
    height: 18px;
    background: url('/img/as-icon-close.png') no-repeat center;
    background-size: cover;
    cursor: pointer;
    display: none; /* Initially hidden */
}

.input-wrapper-search.is-focused.has-input .clear-button {
    display: block;
}

.input-wrapper-search.has-input:not(.is-focused) .clear-button {
    display: none;
}

.cancel-button {
    display: none; /* Initially hidden */
    color: var(--c2-black-70);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.input-wrapper-search.is-focused .cancel-button {
    display: block;
    opacity: 1;
}

.input-wrapper-search.has-input:not(.is-focused) .cancel-button {
    display: block;
    opacity: 1;
}

/*------------------------------------
Agencies search no results
--------------------------------------*/

.no-results-agency {
    text-align: center;
    margin-top: 20px;
}

/*------------------------------------
Text
--------------------------------------*/

.text-link {
    color: var(--c2-action-blue);
    font-size: 14px;
    font-weight: 450;
    letter-spacing: -0.015em;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.text-link--lg {
    font-size: 17px;
    font-weight: 550;
}

.text-link--lgdisabled {
    color: var(--c2-black-40) !important;
    font-size: 17px;
    font-weight: 550;
    cursor: not-allowed;
}

.text-link-grey {
    font-size: 14px;
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black-60);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.text-link:any-link {
    color: var(--c2-action-blue);
}

.inline-text-link {
    color: var(--c2-action-blue);
    font-weight: 600;
    text-decoration: none;
}

.heading1 {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 120%;
    color: var(--c2-black);
}

.heading1-centre {
    font-size: clamp(16px, 5.5vw, 22px);
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 115%;
    color: var(--c2-black);
    text-align: center;
}

.heading2 {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
}

.heading-modal {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 120%;
    color: var(--c2-black);
    text-align: center;
}

.bodytext-left {
    font-size: 17px;
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
}

.bodytext-left--grey {
    color: var(--c2-black-70);
}

.bodytext-left2 {
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black-60);
}

.bodytext-centre {
    font-size: 17px;
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
    text-align: center;
}

.bodytext-centre2 {
    font-size: 13px;
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
    text-align: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.minitext1 {
    font-size: 7px;
    font-weight: 400;
    line-height: 120%;
    color: var(--c2-black-60);
}

.bodytext-label {
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    line-height: 110%;
    color: var(--c2-black-80);
}

.bodytext-link {
    font-size: 16px;
    font-weight: 450;
    letter-spacing: -0.015em;
    text-align: center;
    line-height: 120%;
    word-break: break-word;
    overflow-wrap: break-word;
    color: var(--c2-black);
}

.bodytext-frame {
    display: flex;
    background-color: var(--c2-black-6);
    justify-content: center;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 6px;
}


/*------------------------------------
Profile Cards
--------------------------------------*/

.profilecard-agency {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    border: 1px solid var(--c2-black-20);
    border-radius: 10px;
    background-color: white;
    height: fit-content;
    gap: 10px;
    margin-bottom: 15px;
    padding: 12px 12px 16px 12px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.profilecard-agency--sm {
    width: 175px;
    margin: 5px 0 10px 0;
    padding: 9px;
}

.agency-photo-container {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black);
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
}

.agency-photo-container .card-photo:not(.card-photo--empty) {
    display: none;
}
.agency-photo-container.has-photo .card-photo:not(.card-photo--empty) {
    display: flex;
}
.agency-photo-container.has-photo .card-photo--empty {
    display: none;
}

.photo-edit-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(116, 116, 116, 0.4);
    border-radius: 50%;
    display: flex;
    backdrop-filter: blur(3px);
}

.photo-edit-icon img {
    width: 30px;
}

.card-label-group-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.card-label-group-container-agency {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.card-label-group {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 3px;
    max-width: 100%;
}

.card-label-group-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 5px;
}

.card-label-title-sm {
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 110%;
    color: var(--c2-black);
    word-break: break-word; /* For older browsers and compatibility */
    word-break: break-all;
    text-align: center;
}

.card-label-title {
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 110%;
    color: var(--c2-black);
    word-break: break-word; /* For older browsers and compatibility */
    word-break: break-all;
    text-align: center;
}

.card-label-title-lg {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 110%;
    color: var(--c2-black);
    word-break: break-word; /* For older browsers and compatibility */
    word-break: break-all;
    width: 100%;
}

.card-label-title-lg--support {
    text-align: center;
    font-size: clamp(17px, 6vw, 24px);
}

.card-label-variable {
    font-size: 15px;
    font-weight: 450;
    letter-spacing: -0.015em;
    line-height: 110%;
    color: var(--c2-black-70);
    max-width: 100%;
    word-break: break-word; /* For older browsers and compatibility */
    word-break: break-all;
    text-align: center;
}

.card-label-variable--support {
    font-size: clamp(12px, 5.5vw, 18px);
}

.card-label-variable-lg {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 120%;
    color: var(--c2-black);
    width: 100%;
}

#card-creator {
    cursor: pointer;
}

.card-photo {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 1.25;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    outline: 1px solid #19192140;
    outline-offset: -1px;
}

.card-photo--empty {
    background-color: #ffffff;
}

.card-photo2 {
    display: flex;
    width: 100%;
    aspect-ratio: 1.25;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
}

.card-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-photo--empty > img {
    width: 15%;
    height: auto;
}

.card-photo2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/*------------------------------------
Perks Cards
--------------------------------------*/

.perks-card-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--c2-black-20);
    border-radius: 10px;
    background-color: white;
    height: fit-content;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px 14px 14px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.perks-card-grouping-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.perks-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    position: relative;
}

.perks-card-image img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}


/*------------------------------------
Profile Row
--------------------------------------*/

.profile-row-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    color: var(--c2-black);
    cursor: pointer;
}

.locked {
    background-color: var(--c2-black-3);
}

.profile-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 81px;
    padding: 0 15px 0 15px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

.profile-row-photo {
    display: flex;
    align-items: center;
    height: 60px;
    width: 60px;
    border-radius: 5px;
    overflow: hidden;
    outline: .75px solid #19192120;
    outline-offset: -1px;
}

.profile-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-row-namegroup {
    display: flex;
    height: 56px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    flex: 1 0 0;
    overflow: hidden;
}

.profile-row-namegroup-sac {
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    flex: 1 0 0;
    overflow: hidden;
}

.profile-row-namegroup-displayname {
    overflow: hidden;
    color: var(--c2-black);
    text-overflow: ellipsis;
    font-size: 17px;
    letter-spacing: -0.015em;
    font-weight: 590;
    width: auto;
    flex: 1 1 auto;
}

.profile-row-namegroup-displayname-badges {
    display: flex;
    flex-direction: row;
    gap: 5px;
    max-width: 100%;
    overflow: hidden;
    align-items: center;
}

.profile-row-namegroup-username {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black-60);
    text-overflow: ellipsis;
    font-size: 13px;
    letter-spacing: -0.015em;
    font-weight: 400;
}

.profile-row-namegroup-badges {
    display: flex;
    height: 13px;
    width: auto;
    margin-top: 1px;
    flex-shrink: 0;
}

.profile-row-namegroup-supporterstate {
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    letter-spacing: -0.015em;
    font-weight: 500;
}

.profile-row-namegroup-supporterstate--active {
    color: #059C0F;
}

.profile-row-namegroup-supporterstate--active .label {
    color: var(--c2-black);
    font-weight: 700;
}

.profile-row-namegroup-supporterstate--active .colon {
    color: #059c0f85;
    font-weight: 700;
}

.profile-row-namegroup-supporterstate--achieved {
    color: #A232A6;
}

.profile-row-namegroup-supporterstate--expired {
    color: #FF050A;
}

.profile-row-rightside {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 0;
    align-items: flex-end;
    justify-content: space-between;
}

.profile-row-lock {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 0;
    align-items: flex-end;
    justify-content: space-between;
}

.lock-icon {
    justify-content: center;
}

.lock-icon img {
    width: 33px;
    height: auto;
}

.profile-row-gemsgroup {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: flex-end;
}

.profile-row-gemsgroup-gem {
    display: flex;
    align-items: center;
    padding-top: 1px;
}

.profile-row-gemsgroup-gem img {
    width: 15px;
    object-fit: cover;
    object-position: center;
}

.profile-row-gemsgroup-value {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black);
    font-size: 16px;
    letter-spacing: -0.015em;
    font-weight: 860;
}

.profile-row-gemsgroup-value--grey {
    color: var(--c2-black-20);
}

@keyframes highlight-fade {
    from { background-color: var(--c2-yellow); }
    to { background-color: transparent; }
}
.profile-row-container.highlight-animation {
    animation: highlight-fade 1.5s ease-out forwards;
}

.context-menu-small {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    text-decoration: none;
    padding: 12px;
    background: transparent;
    border: none;
    margin-right: -10px;
    margin-bottom: -10px;
}

.context-menu-small span {
    width: 3px;
    height: 3px;
    background-color: var(--c2-black-40);
    border-radius: 50%;
}

hr {
    margin: 0 0 0 15px;
    border: none;
    height: 1px;
    background-color: var(--c2-black-10);
}

.content-array .profile-row-container:last-child hr {
    display: none;
}

.content-array-search .profile-row-container:last-child hr {
    display: none;
}

.is-faded-out {
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

/*------------------------------------
Agency Row
--------------------------------------*/

.agency-row-infogroup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    flex: 1 0 0;
    overflow: hidden;
}

.agency-row-infogroup-agencyname {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black);
    text-overflow: ellipsis;
    font-size: 16px;
    letter-spacing: -0.015em;
    font-weight: 590;
    white-space: nowrap;
}

.agency-row-infogroup-agencydescription {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    color: var(--C2-Black);
    text-overflow: ellipsis;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: -0.015em;
    box-sizing: border-box;
}

.agency-row-infogroup-agencydescription:empty {
    margin: -3px 0;
}

.agency-row-infogroup-username-members {
    display: flex;
    padding-top: 3px;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
}

.agency-row-infogroup-username-members-username {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black-60);
    text-overflow: ellipsis;
    font-size: 13.5px;
    letter-spacing: -0.015em;
    font-weight: 400;
}

.agency-row-infogroup-username-members-membersgroup {
    display: flex;
    align-items: center;
    gap: 1.5px;
}

.agency-row-infogroup-username-members-membersgroup-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agency-row-infogroup-username-members-membersgroup-image img {
    width: 15px;
    object-fit: cover;
    object-position: center;
    padding-bottom: 1px;
}

.agency-row-infogroup-username-members-membersgroup-members {
    color: var(--C2-Black, #191921);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
}

/*------------------------------------
Modals
--------------------------------------*/

.modal-background {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 30;
}

.modal-background.show {
    display: flex;
}

.modal-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: center;
    gap: 25px;
    width: 75%;
    max-width: 320px;
    height: fit-content;
    padding: 30px;
    background-color: rgba(255, 255, 255);
    position: relative;
    margin-bottom: 80px;
}

.modal-close {
    display: flex;
    padding: 12px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.modal-close img {
    width: 18px;
    object-fit: cover;
    object-position: center;
}

.modal-mainblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}

.modal-mainblock-image {
    display: flex;
    align-items: center;
}

.modal-mainblock-image img {
    height: 74px;
    object-fit: cover;
    object-position: center;
}


/*------------------------------------
Alerts
--------------------------------------*/

.alert-background {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: rgba(113, 113, 113, 0.60);
    position: fixed;
    top: 0;
    z-index: 30;
}
.alert-background.show {
    display: flex;
}

.alert-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    align-items: left;
    gap: 30px;
    width: 70%;
    max-width: 300px;
    height: fit-content;
    padding: 25px;
    background-color: rgba(255, 255, 255);
    position: relative;
    margin-bottom: 80px;
}

.alert-mainblock {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;
    align-self: stretch;
}

.alert-title {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 120%;
    color: var(--c2-black);
    text-align: left;
}

.alert-body {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 130%;
    color: var(--c2-black-70);
    text-align: left;
}

.alert-actions-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 35px;
}

.alert-action {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 120%;
    text-align: right;
    cursor: pointer;
}

.alert-action--primary {
    color: var(--c2-action-blue);
}

.alert-action--secondary {
    color: var(--c2-black-70);
    font-weight: 400;
}

.alert-action--primary-destructive {
    color: red;
}


/*------------------------------------
Dropdown
--------------------------------------*/

.dropdown-background {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: rgba(217, 217, 217, 0.30);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 30;
}

.dropdown-background.show {
    display: flex;
}

.dropdown-container {
    display: inline-flex;
    flex-direction: column;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 0px 15px #00000015;
    overflow: hidden;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0px 12px;
}
.dropdown-container--timeperiod {
    /*top: 50px;*/
    /*left: 15px;*/
    right: auto;
}
.dropdown-wrapper {
    position: relative;
    max-width: 450px;
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
}

.dropdown-row {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    gap: 7px;
    padding: 11px 5px 13px 0;
    border-bottom: 0.5px solid #dddddd;
}

.dropdown-image {
    display: flex;
    align-items: center;
    height: 20px;
    width: 20px;
    overflow: hidden;
}

.dropdown-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dropdown-row-text {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 120%;
    color: var(--c2-black);
    text-align: left;
}

.dropdown-row:last-child {
    border-bottom: 1px solid white;
}


/*------------------------------------
Dialogs
--------------------------------------*/

.dialog-background {
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(113, 113, 113, 0.60);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 30;
}

.dialog-background.show {
    display: flex;
}

.dialog-container {
    display: inline-flex;
    flex-direction: column;
    background-color: white;
    min-width: 200px;
    padding: 40px 30px 30px 30px;
    align-items: center;
    gap: 25px;
    width: 75%;
    max-width: 320px;
    margin-bottom: 120px;
}

.dialog-userinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.dialog-userinfo-photo {
    display: flex;
    align-items: center;
    height: 120px;
    width: 120px;
    overflow: hidden;
    border-radius: 8px;
}

.dialog-userinfo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dialog-namegroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex: 1 0 0;
    width: 100%;
}

.dialog-namegroup-displayname {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black);
    text-overflow: ellipsis;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: -0.015em;
    font-weight: 590;
    text-align: center;
    word-wrap: break-word;
}

.dialog-namegroup-username {
    align-self: stretch;
    overflow: hidden;
    color: var(--c2-black-60);
    text-overflow: ellipsis;
    font-size: 13px;
    letter-spacing: -0.015em;
    font-weight: 400;
    text-align: center;
}

.dialog-buttongroup {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    align-self: stretch;
}


/*------------------------------------
Dropdown Picker
--------------------------------------*/

.sticky-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    background-color: white;
    position: sticky;
    max-width: 450px;
    z-index: 25;
    padding: 1.5vh 15px 1vh 15px;
}

.dropdown-picker {
    display: flex;
    flex-direction: row;
    padding: 5px 10px 3px 6px;
    border-radius: 5px;
    border: 1px solid #c2c2c2;
    background-color: #f8f8f8;
    width: 50%;
    max-width: 200px;
    min-width: 150px;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--c2-black-60);
    text-align: left;
    align-items: center;
    margin-bottom: 7px;
}

.dropdown-picker-leftside {
    display: flex;
    flex-direction: row;
    gap: 3px;
    align-items: center;
    margin-bottom: 3px;
}

.dropdown-picker-leftside-icon {
    display: flex;
    margin-top: 1px;
}

.dropdown-picker-leftside-icon img {
    width: 16px;
    height: auto;
}

.dropdown-picker-rightside {
    display: flex;
}

.dropdown-picker-rightside img {
    height: 6px;
    margin-bottom: 1px;
}

.timeperiod-reset-message {
    display: flex;
    border-radius: 6px;
    width: 100%;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--c2-black-40);
    text-align: left;
}


/*------------------------------------
Progress Tracker
--------------------------------------*/

.progress-tracker-container {
    display: flex;
    flex-direction: column;
    height: fit-content;
    width: 100%;
    gap: 4px;
}

.progress-tracker-title-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 19px;
}

.progress-tracker-title {
    font-size: clamp(10px, 4vw, 13px);
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--c2-black-60);
    text-align: left;
}

.progress-tracker-goal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    right: -12px;
    position: relative;
}

.progress-tracker-goal {
    font-size: clamp(10px, 4vw, 13px);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--c2-black-40);
    text-align: left;
}

.progress-tracker-goal-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--c2-black-40);
    margin-left: 8px;
}

.progress-bar {
    width: 50px;
    height: 12px;
    margin-top: 2px;
    background-color:white;
    border-radius: 3px;
    border: 1px solid var(--c2-black);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #FFF8A8, #FFC300);
    width: 0%; /* Default width */
    transition: width 0.3s ease;
    position: relative;
    border-radius: 2px;
}

.progress-label-container {
    display: flex;
    flex-direction: column;
}

.progress-label-icon {
    width: 16px;
    height: 16px;
    right: -2px;
    position: relative;
}

.progress-label-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: -22px;
    right: 0;
    transform: translateX(40%);
    font-size: clamp(10px, 4vw, 13px);
    letter-spacing: -0.015em;
    font-weight: 800;
    color: var(--c2-black);
}

.progress-icon {
    width: 18px;
    height: auto
}

/*------------------------------------
Photo Upload
--------------------------------------*/
#agencyPhotoDisplay {
    display: none;
}
#agencyPhotoEmpty {
    display: flex;
}

.agency-photo-container.has-photo #agencyPhotoDisplay {
    display: flex;
}
.agency-photo-container.has-photo #agencyPhotoEmpty {
    display: none;
}

.card-photo .card-photo-uploader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 6px;
    cursor: default;
}

.card-photo.is-uploading .card-photo-uploader {
    display: flex;
}
.card-photo.is-uploading .photo-edit-icon {
    display: none;
}

.card-photo.is-uploading > img:not(.photo-edit-icon img) {
    opacity: 0.5;
}

.card-photo-uploader .spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
    border-color: #eee;
    border-top-color: var(--c2-black);
}

.agency-photo-container {
    cursor: pointer;
}

.is-hidden-for-focus {
    display: none !important;
}

#ledgerContainer {
    padding-bottom: 150px;
}