body {
    background-color: #F2F2F2;
}

#login-cta {
    background: linear-gradient(46.38deg, #6D6BED 20.46%, #8F8BF2 52.47%, #DBD0FE 110.16%);
    box-shadow: 0px 3px 0px #8E8CFE;
    border-radius: 8px;
    border: 0px;
    font-size: 20px;
    line-height: 24px;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

.page-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 24px;
    padding: 2vw 0px;
    position: relative;
}

.page-container .user-profile {
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 24px;
    padding: 24px;
    position: sticky;
    top: 92px;
    border: 1px solid #E8E8E8;
    box-shadow: 0px 4px 4px rgba(221, 221, 221, 0.25);
}

.user-profile .profile-image-holder {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    padding: 12px;
    border: 4px solid #6561E8;
    overflow: hidden;
}

.profile-image-holder .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 100%;
}

.user-profile .user-name {
    font-size: 36px;
    line-height: 42px;
    font-weight: 600;
    color: #333;
}

.user-profile .sub-section {
    box-shadow: 0px 4px 20px rgba(55, 62, 125, 0.06);
    border-radius: 24px;
    width: 100%;
    padding: 24px;
}

.sub-section > * {
    padding: 0px 0px 12px;
}

.sub-section .stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats:last-child {
    padding-bottom: 0px;
}

.stats .stat-divider {
    height: 45px;
    width: 1px;
    background-color: #e8e8e8;
}

.stats .stat {
    padding: 0px 16px;
    text-align: center;
}

.stat .count {
    font-size: 20px;
    line-height: 24px;
    color: #333;
    font-weight: 500;
    margin: 10px 0px;
}

.stat .type {
    font-size: 16px;
    line-height: 20px;
    color: #333;
    font-weight: 400;
}

.sub-section .balance {
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 24px;
    color: #333;
    justify-content: center;
}

.balance .amount {
    display: flex;
    align-items: center;
    margin-left: 12px;
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: 600;
}

.amount > img {
    width: 22px;
}

.user-profile > * {
    margin-bottom: 20px;
}

@media (max-width: 800px) {
    .page-container {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .page-container .user-profile {
        position: static;
        border-radius: 0px;
    }

    .transactions .section-heading {
        position: sticky;
        top: 52px;
        border-radius: 0px !important;
        z-index: 9;
    }

    .transactions .transaction {
        width: 95%;
        margin: 8px auto;
        border-radius: 16px;
    }
}

/*------------------  TRANSACTIONS --------------------- */

.page-container .transactions {
    width: 100%;
    min-height: 100vh;
    position: relative;
    min-width: 0;
}

.transactions .section-heading {
    background-color: white;
    border-radius: 20px 24px 0px 0px;
    border: 1px solid #E8E8E8;
    box-shadow: 0px 4px 4px rgba(221, 221, 221, 0.25); 
}

.section-heading > h2 {
    font-size: 28px;
    padding: 24px 24px 12px;
    line-height: 36px;
    font-weight: 600;
}

.section-heading .filters {
    overflow: scroll;
    white-space: nowrap;
}

.filters .filter {
    padding: 12px 16px;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    color: #333;
}

.filter.selected {
    font-weight: 600;
    color: #6561E8;
    pointer-events: none;
    cursor: auto;
    border-bottom: 4px solid #6561E8;
}

.transactions .loading {
    width: 100%;
    padding: 100px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 0px 0px 24px 24px;
    border: 1px solid #E8E8E8;
    box-shadow: 0px 4px 4px rgba(221, 221, 221, 0.25); 
}

.transactions .infinite-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}