/* Wallet-specific composition. Shared tokens/components live in wallet.css. */
body[data-page="wallet"] main {
    padding-top: 22px;
}
body[data-page="wallet"] .main-footer {
    display: none;
}
.wallet-heading {
    margin-bottom: 19px;
}
.wallet-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.wallet-heading h1 {
    font-size: 40px;
    line-height: 1.24;
    font-weight: 750;
    letter-spacing: -1.5px;
}
.wallet-heading h1 em {
    color: #0757ef;
    font-style: normal;
}
.wallet-heading p {
    font-size: 17px;
    color: #7485a6;
    margin-top: 6px;
    line-height: 1.5;
}
.demo-indicator {
    padding: 6px 12px;
    background: #e2eaff;
    border: 1px solid #d8e3fa;
    border-radius: 8px;
    font-size: 11px;
    color: #45649d;
    white-space: nowrap;
    cursor: help;
}
.summary-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr 1fr;
    gap: 16px;
}
.summary-card {
    height: 262px;
    padding: 21px 23px;
    position: relative;
    overflow: hidden;
}
.card-label {
    display: flex;
    align-items: center;
    gap: 19px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
.summary-card .icon-tile {
    height: 53px;
    width: 53px;
    border-radius: 14px;
}
.summary-card .icon-tile svg {
    width: 29px;
    height: 29px;
}
.summary-card .amount {
    font-size: 40px;
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -1.4px;
    white-space: nowrap;
}
.balance-label {
    color: #7487a9;
    font-size: 13px;
    line-height: 1.5;
}
.wallet-card {
    background: linear-gradient(110deg, #031b3e 0, #03275d 80%, #03428c);
    color: white;
    border: 0;
    isolation: isolate;
    padding: 21px 25px;
}
.wallet-art {
    position: absolute;
    right: 0;
    top: 0;
    width: 133px;
    height: 262px;
    background: url("../images/approved-reference/wallet-ribbon.png") no-repeat
        right top;
    background-size: 133px 262px;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%,
        0 89%,
        72% 89%,
        72% 70%,
        0 70%
    );
    z-index: -1;
    pointer-events: none;
}
.wallet-card .icon-tile {
    background: linear-gradient(135deg, #0750a1, #07377c);
    color: white;
}
.wallet-card .icon-tile svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}
.wallet-card .amount {
    font-size: 48px;
    margin-top: 15px;
    line-height: 1.15;
    letter-spacing: -1.7px;
}
.wallet-card .balance-label {
    font-size: 14px;
    color: #bbcbe3;
    margin-top: 5px;
}
.held-caption {
    display: block;
    font-size: 9px;
    margin-top: 3px;
    color: #aec8ec;
}
.wallet-actions {
    display: flex;
    gap: 11px;
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 24px;
}
.wallet-actions .button {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    min-height: 46px;
    font-size: 13px;
}
.wallet-actions .button svg {
    height: 21px;
    width: 21px;
}
.wallet-actions .outline {
    color: white;
    background: #07285c60;
    border-color: #aec5e7;
}
.wallet-actions .white {
    background: #fff;
}
.investment-body {
    padding-left: 72px;
}
.investment-body .amount {
    margin-top: -4px;
}
.investment-body .balance-label {
    margin-top: 7px;
}
.summary-card > .card-link {
    position: absolute;
    left: 23px;
    bottom: 22px;
    font-size: 14px;
    gap: 12px;
}
.summary-card > .card-link svg {
    height: 22px;
    width: 22px;
}
.reference-chart {
    position: absolute;
    left: 21px;
    right: 18px;
    top: 144px;
    height: 63px;
}
.chart-fallback {
    height: 100%;
    border-bottom: 1px dashed #c4dff5;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7498bd;
    font-size: 10px;
    background: linear-gradient(0deg, #f3faff, #fff);
    padding: 7px;
    border-radius: 7px 7px 0 0;
}
.chart-fallback svg {
    width: 25px;
    height: 25px;
    color: #83b6dc;
}
.chart-fallback small {
    display: block;
    font-size: 9px;
    margin-top: 4px;
    color: #98abc1;
}
.actual-chart {
    height: 100%;
    width: 100%;
    stroke: none;
}
.earnings-card .amount {
    margin: 8px 0 0 72px;
}
.earnings-card .balance-label {
    margin: 7px 0 0 72px;
}
.growth-arrow {
    position: absolute;
    top: 112px;
    right: 21px;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e1f9ed;
    color: #0e8c50;
    font-size: 31px;
}
.earnings-card > .button {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 21px;
    height: 42px;
    font-size: 13px;
    background: #e5f8ee;
    color: #0d8046;
}
.earnings-card > .button svg {
    width: 20px;
    height: 20px;
}
.quick-card {
    padding: 17px 22px 18px;
    margin-top: 16px;
}
.quick-card .section-heading {
    margin-bottom: 12px;
}
.quick-card h3 {
    font-size: 19px;
}
.quick-card .section-heading small {
    font-size: 10px;
}
.quick-actions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.quick-action {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    background: transparent;
    border-radius: 10px;
    padding: 0 4px 2px;
    color: var(--ink);
}
.quick-action:hover:not(:disabled) {
    background: #f8fbff;
}
.quick-action:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
.quick-icon {
    height: 61px;
    width: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0757ef;
    background: #e6f2ff;
    margin-bottom: 5px;
}
.quick-icon svg {
    width: 30px;
    height: 30px;
}
.quick-icon.green {
    background: #e1f8ed;
    color: #11874e;
}
.quick-icon.red {
    background: #ffedf0;
    color: #f12c46;
}
.quick-icon.purple {
    background: #edeaff;
    color: #2849d9;
}
.quick-icon.violet {
    background: #f2e7fb;
    color: #ab2ac4;
}
.quick-action b {
    font-size: 12px;
    font-weight: 600;
}
.quick-action small {
    font-size: 10px;
    color: #798daa;
}
.lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.activity-card {
    padding: 18px 23px 16px;
    display: flex;
    flex-direction: column;
}
.activity-card .section-heading {
    margin-bottom: 6px;
    min-height: 32px;
}
.activity-card h3 {
    font-size: 19px;
}
.activity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}
.activity-controls .card-link {
    margin-left: 12px;
    font-size: 11px;
}
.activity-card .activity-row {
    grid-template-columns: 36px minmax(110px, 1fr) 93px 96px 82px;
    gap: 12px;
    padding: 11px 0;
}
.activity-card .activity-date {
    font-size: 10px;
}
.activity-card .activity-row b {
    font-size: 11px;
}
.activity-card .activity-row small {
    font-size: 10px;
}
.activity-card .transaction-icon {
    height: 36px;
    width: 36px;
}
.activity-card .transaction-amount {
    font-size: 13px;
}
.activity-card .transaction-status {
    font-size: 9px;
    padding: 6px 4px;
}
.activity-list {
    flex: 1;
}
.activity-balance-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 14px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
}
.activity-balance-footer small {
    font-size: 9px;
    color: var(--muted);
    display: block;
}
.activity-balance-footer b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    color: #405a7e;
}
.side-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.upi-card {
    padding: 16px 22px;
    min-height: 128px;
}
.upi-card .section-heading {
    margin-bottom: 11px;
}
.upi-card h3 {
    font-size: 18px;
}
.upi-card .card-link {
    font-size: 11px;
}
.upi-body {
    display: flex;
    align-items: center;
    gap: 17px;
}
.upi-placeholder {
    width: 60px;
    height: 59px;
    border: 1px solid #e1e9f5;
    border-radius: 10px;
    background: #f7faff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #7898c0;
    gap: 3px;
    flex-shrink: 0;
}
.upi-placeholder svg {
    width: 25px;
    height: 25px;
}
.upi-placeholder small {
    font-size: 8px;
}
.upi-details {
    min-width: 0;
}
.upi-details b {
    font-size: 13px;
    letter-spacing: -0.3px;
}
.upi-details p {
    font-size: 10px;
    color: #7c90ad;
    line-height: 1.6;
    margin-top: 5px;
    max-width: 260px;
}
.referral-card {
    min-height: 174px;
    padding: 13px 23px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #e4f4ff, #e2ebff);
    isolation: isolate;
    flex: 1;
}
.referral-symbol {
    height: 24px;
    width: 24px;
    display: block;
    color: #0b5fff;
}
.referral-symbol svg {
    height: 22px;
    width: 22px;
}
.referral-card h3 {
    font-size: 19px;
    letter-spacing: -0.7px;
    line-height: 1.3;
    max-width: 270px;
    font-weight: 700;
    margin-top: 5px;
}
.referral-card p {
    font-size: 12px;
    color: #577298;
    margin-top: 4px;
    max-width: 235px;
}
.referral-card .referral-terms {
    font-size: 9px;
    color: #7990ae;
    line-height: 1.4;
    margin-top: 6px;
    max-width: 205px;
}
.referral-card .button {
    height: 33px;
    min-height: 33px;
    padding: 7px 19px;
    margin-top: 9px;
    font-size: 11px;
    gap: 20px;
}
.referral-gift {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 153px;
    height: 140px;
    object-fit: contain;
    z-index: -1;
}
@media (min-width: 1600px) {
    .wallet-heading h1 {
        font-size: 43px;
    }
    .summary-card {
        height: 279px;
        padding-top: 23px;
    }
    .wallet-card .amount {
        font-size: 51px;
    }
    .reference-chart {
        top: 154px;
        height: 72px;
    }
    .wallet-actions {
        bottom: 26px;
    }
    .investment-body .amount,
    .earnings-card .amount {
        font-size: 43px;
    }
    .earnings-card .amount {
        margin-top: 8px;
    }
    .summary-card > .card-link {
        bottom: 24px;
    }
    .growth-arrow {
        top: 119px;
        width: 51px;
        height: 51px;
        font-size: 35px;
    }
    .quick-icon {
        height: 66px;
        width: 72px;
    }
    .quick-card {
        padding-top: 17px;
        padding-bottom: 18px;
    }
    .quick-card h3 {
        font-size: 20px;
    }
}
@media (max-width: 1366px) {
    .wallet-heading h1 {
        font-size: 35px;
    }
    .wallet-heading p {
        font-size: 15px;
    }
    .summary-grid {
        gap: 13px;
    }
    .summary-card {
        padding: 18px 19px;
        height: 246px;
    }
    .card-label {
        font-size: 14px;
        gap: 13px;
    }
    .summary-card .icon-tile {
        height: 46px;
        width: 46px;
        border-radius: 12px;
    }
    .summary-card .icon-tile svg {
        height: 26px;
        width: 26px;
    }
    .wallet-card .amount {
        font-size: 42px;
        margin-top: 16px;
    }
    .wallet-card .balance-label {
        font-size: 13px;
    }
    .wallet-actions {
        left: 19px;
        right: 19px;
        bottom: 20px;
        gap: 8px;
    }
    .wallet-actions .button {
        font-size: 11px;
        min-height: 42px;
        padding: 9px 8px;
    }
    .wallet-art {
        height: 246px;
        width: 125px;
        background-size: 125px 246px;
    }
    .investment-body {
        padding-left: 59px;
    }
    .investment-body .amount,
    .earnings-card .amount {
        font-size: 35px;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        font-size: 11px;
    }
    .earnings-card .amount,
    .earnings-card .balance-label {
        margin-left: 59px;
    }
    .reference-chart {
        top: 134px;
        left: 17px;
        right: 15px;
        height: 59px;
    }
    .summary-card > .card-link {
        font-size: 12px;
        left: 19px;
        bottom: 19px;
    }
    .earnings-card > .button {
        left: 18px;
        right: 18px;
        bottom: 19px;
        font-size: 12px;
        height: 39px;
    }
    .growth-arrow {
        top: 113px;
        right: 17px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
    .quick-card {
        padding: 17px 18px;
    }
    .quick-icon {
        height: 56px;
        width: 61px;
    }
    .quick-action b {
        font-size: 11px;
    }
    .quick-action small {
        font-size: 9px;
    }
    .activity-card {
        padding: 17px 18px;
    }
    .activity-card .activity-row {
        grid-template-columns: 33px minmax(80px, 1fr) 78px 86px;
        gap: 10px;
    }
    .activity-card .transaction-status {
        display: none;
    }
    .activity-card .activity-row b {
        font-size: 10px;
    }
    .activity-card .activity-row small {
        font-size: 9px;
    }
    .activity-card .transaction-amount {
        font-size: 11px;
    }
    .activity-card h3 {
        font-size: 17px;
    }
    .activity-controls .filter {
        font-size: 9px;
        padding: 6px 11px;
    }
    .activity-controls .card-link {
        font-size: 10px;
        margin-left: 8px;
    }
    .upi-card {
        padding: 15px 19px;
    }
    .upi-details b {
        font-size: 12px;
    }
    .referral-card {
        padding: 13px 19px;
    }
    .referral-card h3 {
        font-size: 17px;
        max-width: 240px;
    }
    .referral-card p {
        font-size: 11px;
    }
    .referral-card .referral-terms {
        max-width: 175px;
    }
    .referral-gift {
        width: 126px;
        height: 124px;
    }
    .lower-grid {
        gap: 15px;
    }
}
@media (max-width: 1100px) {
    .card-label {
        gap: 10px;
        font-size: 13px;
    }
    .summary-card {
        padding: 17px 15px;
        height: 246px;
    }
    .summary-card .icon-tile {
        width: 37px;
        height: 42px;
    }
    .wallet-card .amount {
        font-size: 36px;
        margin-top: 20px;
    }
    .wallet-card .balance-label {
        font-size: 12px;
    }
    .wallet-actions {
        left: 15px;
        right: 15px;
        gap: 5px;
    }
    .wallet-actions .button {
        font-size: 10px;
        padding: 8px 5px;
        gap: 5px;
    }
    .wallet-actions .button svg {
        width: 17px;
        height: 17px;
    }
    .investment-body {
        padding-left: 0;
    }
    .investment-body .amount,
    .earnings-card .amount {
        font-size: 33px;
        margin: 18px 0 0;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        margin-left: 0;
        font-size: 11px;
    }
    .summary-card > .card-link {
        left: 15px;
        font-size: 11px;
    }
    .reference-chart {
        top: 147px;
        height: 44px;
        left: 12px;
        right: 12px;
    }
    .chart-fallback {
        font-size: 9px;
        gap: 8px;
        padding: 5px;
    }
    .chart-fallback small {
        font-size: 8px;
    }
    .chart-fallback svg {
        width: 20px;
        height: 20px;
    }
    .growth-arrow {
        top: 127px;
        right: 14px;
        height: 29px;
        width: 29px;
        font-size: 23px;
    }
    .earnings-card > .button {
        left: 14px;
        right: 14px;
        font-size: 10px;
    }
    .wallet-heading h1 {
        font-size: 30px;
    }
    .wallet-heading p {
        font-size: 13px;
    }
    .demo-indicator {
        font-size: 9px;
        padding: 6px 9px;
    }
    .quick-actions {
        gap: 8px;
    }
    .quick-action b {
        font-size: 10px;
    }
    .quick-action small {
        font-size: 8px;
    }
    .quick-card .section-heading small {
        font-size: 9px;
    }
    .lower-grid {
        grid-template-columns: 1fr;
    }
    .activity-card .activity-row {
        grid-template-columns: 37px minmax(120px, 1fr) 100px 105px 90px;
        gap: 13px;
    }
    .activity-card .transaction-status {
        display: block;
    }
    .activity-card .activity-row b {
        font-size: 11px;
    }
    .activity-card .activity-row small {
        font-size: 10px;
    }
    .activity-card .transaction-amount {
        font-size: 13px;
    }
    .side-stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .upi-card,
    .referral-card {
        min-height: 178px;
    }
    .upi-body {
        margin-top: 18px;
    }
    .referral-card h3 {
        font-size: 16px;
    }
    .referral-card .referral-terms {
        max-width: 170px;
    }
    .referral-gift {
        width: 115px;
        height: 115px;
    }
    .referral-card p {
        font-size: 10px;
    }
}
@media (max-width: 700px) {
    body[data-page="wallet"] main {
        padding-top: 22px;
    }
    .wallet-heading {
        margin-bottom: 18px;
    }
    .wallet-title-row {
        gap: 9px;
        align-items: flex-start;
    }
    .wallet-heading h1 {
        font-size: 28px;
        line-height: 1.25;
        letter-spacing: -1.1px;
        max-width: 360px;
    }
    .wallet-heading p {
        font-size: 12px;
        line-height: 1.8;
        margin-top: 8px;
    }
    .demo-indicator {
        font-size: 9px;
        padding: 4px 8px;
        border-radius: 6px;
    }
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .summary-card {
        height: 218px;
        padding: 16px;
        min-width: 0;
    }
    .wallet-card {
        grid-column: 1/-1;
        height: 252px;
        padding: 20px 23px;
    }
    .wallet-card .card-label {
        font-size: 17px;
        gap: 18px;
    }
    .wallet-card .icon-tile {
        height: 49px;
        width: 49px;
    }
    .wallet-card .amount {
        font-size: 47px;
        margin-top: 14px;
    }
    .wallet-card .balance-label {
        font-size: 14px;
        margin-top: 7px;
    }
    .wallet-actions {
        left: 23px;
        right: 23px;
        bottom: 22px;
        gap: 10px;
    }
    .wallet-actions .button {
        min-height: 44px;
        font-size: 12px;
        gap: 9px;
    }
    .wallet-actions .button svg {
        width: 20px;
        height: 20px;
    }
    .wallet-art {
        height: 252px;
        width: 128px;
        background-size: 128px 252px;
    }
    .card-label {
        gap: 8px;
        font-size: 11px;
    }
    .summary-card .icon-tile {
        width: 31px;
        height: 36px;
        border-radius: 9px;
    }
    .summary-card .icon-tile svg {
        height: 21px;
        width: 21px;
    }
    .investment-body .amount,
    .earnings-card .amount {
        font-size: 28px;
        letter-spacing: -1px;
        margin-top: 18px;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        font-size: 10px;
        margin-top: 5px;
    }
    .reference-chart {
        top: 126px;
        height: 48px;
        left: 12px;
        right: 10px;
    }
    .chart-fallback {
        font-size: 8px;
        gap: 6px;
    }
    .chart-fallback small {
        font-size: 7px;
        line-height: 1.5;
    }
    .chart-fallback svg {
        height: 17px;
        width: 17px;
    }
    .summary-card > .card-link {
        font-size: 10px;
        gap: 6px;
        left: 14px;
        bottom: 14px;
    }
    .summary-card > .card-link svg {
        height: 16px;
        width: 16px;
    }
    .growth-arrow {
        display: none;
    }
    .earnings-card > .button {
        left: 12px;
        right: 12px;
        bottom: 13px;
        height: 35px;
        min-height: 35px;
        font-size: 10px;
        gap: 5px;
        padding: 7px;
    }
    .earnings-card > .button svg {
        height: 16px;
        width: 16px;
    }
    .quick-card {
        padding: 16px 12px 17px;
        margin-top: 13px;
    }
    .quick-card .section-heading {
        margin-bottom: 15px;
    }
    .quick-card h3 {
        font-size: 18px;
    }
    .quick-card .section-heading small {
        display: none;
    }
    .quick-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 6px;
    }
    .quick-icon {
        height: 56px;
        width: 62px;
    }
    .quick-icon svg {
        height: 28px;
        width: 28px;
    }
    .quick-action b {
        font-size: 10px;
    }
    .quick-action small {
        font-size: 8px;
    }
    .lower-grid {
        margin-top: 13px;
        gap: 13px;
    }
    .activity-card {
        padding: 15px;
    }
    .activity-card .section-heading h3 {
        font-size: 17px;
    }
    .activity-controls .filter {
        display: none;
    }
    .activity-controls .card-link {
        font-size: 10px;
        margin-left: 0;
        gap: 5px;
    }
    .activity-card .activity-row {
        grid-template-columns: 32px minmax(0, 1fr) 86px;
        gap: 9px;
        padding: 13px 0;
    }
    .activity-card .transaction-icon {
        height: 32px;
        width: 32px;
    }
    .activity-card .activity-row b {
        font-size: 10px;
    }
    .activity-card .activity-row small {
        font-size: 9px;
    }
    .activity-card .activity-date,
    .activity-card .transaction-status {
        display: none;
    }
    .activity-card .transaction-amount {
        font-size: 11px;
    }
    .activity-balance-footer {
        gap: 18px;
        padding-top: 13px;
        margin-top: 5px;
    }
    .activity-balance-footer b {
        font-size: 13px;
    }
    .side-stack {
        display: flex;
        flex-direction: column;
        gap: 13px;
    }
    .upi-card {
        padding: 15px 20px;
        min-height: 137px;
    }
    .upi-card .section-heading {
        margin-bottom: 10px;
    }
    .upi-card h3 {
        font-size: 17px;
    }
    .upi-body {
        margin-top: 0;
        gap: 15px;
    }
    .upi-details b {
        font-size: 12px;
    }
    .upi-details p {
        font-size: 10px;
    }
    .referral-card {
        min-height: 171px;
        padding: 13px 21px;
    }
    .referral-card h3 {
        font-size: 18px;
        max-width: 255px;
    }
    .referral-card p {
        font-size: 11px;
    }
    .referral-card .referral-terms {
        max-width: 185px;
        font-size: 9px;
    }
    .referral-gift {
        width: 135px;
        height: 130px;
    }
    .referral-card .button {
        font-size: 10px;
        margin-top: 9px;
    }
}
@media (max-width: 360px) {
    .wallet-heading h1 {
        font-size: 25px;
    }
    .summary-card {
        padding: 13px;
    }
    .card-label {
        font-size: 10px;
        gap: 6px;
    }
    .summary-card .icon-tile {
        height: 32px;
        width: 27px;
    }
    .investment-body .amount,
    .earnings-card .amount {
        font-size: 24px;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        font-size: 9px;
    }
    .wallet-card {
        padding: 20px;
    }
    .wallet-card .amount {
        font-size: 43px;
    }
    .wallet-card .icon-tile {
        height: 47px;
        width: 47px;
    }
    .wallet-actions {
        left: 20px;
        right: 20px;
    }
    .summary-card > .card-link {
        left: 12px;
        font-size: 9px;
    }
    .chart-fallback svg {
        display: none;
    }
    .quick-icon {
        width: 57px;
        height: 53px;
    }
    .quick-action b {
        font-size: 9px;
    }
    .quick-action small {
        font-size: 7px;
    }
    .activity-card .activity-row {
        grid-template-columns: 30px minmax(0, 1fr) 78px;
        gap: 7px;
    }
    .activity-card .transaction-amount {
        font-size: 10px;
    }
    .referral-card h3 {
        max-width: 195px;
        line-height: 1.3;
    }
    .referral-gift {
        width: 116px;
        height: 117px;
    }
    .referral-card {
        min-height: 186px;
    }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .referral-card h3 {
        max-width: calc(100% - 88px);
    }
    .referral-card p {
        max-width: 174px;
    }
    .referral-card {
        min-height: 190px;
    }
}
@media (max-width: 700px) {
    .referral-card h3 {
        max-width: calc(100% - 95px);
    }
    .referral-card p,
    .referral-card .referral-terms {
        max-width: 180px;
    }
    .referral-card {
        min-height: 190px;
    }
}

.quick-action b {
    font-size: 13px;
}
.quick-action small {
    font-size: 11px;
}
@media (max-width: 1366px) {
    .quick-action b {
        font-size: 12px;
    }
    .quick-action small {
        font-size: 10px;
    }
}
@media (max-width: 700px) {
    .quick-action b {
        font-size: 11px;
    }
    .quick-action small {
        font-size: 10px;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        font-size: 11px;
    }
    .chart-fallback {
        font-size: 10px;
    }
    .chart-fallback small {
        font-size: 9px;
        display: none;
    }
    .investment-card .reference-chart {
        top: 124px;
        height: 62px;
    }
}
@media (max-width: 360px) {
    .quick-action b {
        font-size: 10px;
    }
    .quick-action small {
        font-size: 9px;
    }
    .investment-body .balance-label,
    .earnings-card .balance-label {
        font-size: 10px;
    }
}
