:root {
    --funding-teal: #eed145;
    --funding-teal-dark: #eed145;
    --funding-mint: #ffcc000d;
    --funding-text: #545b62;
    --funding-text-dark: #4a4f54;
    --funding-border: #ebebeb;
}

/*Deposit & Withdrawal Methods*/

.funding-table {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--funding-border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.funding-table__head {
    display: none;
    background: var(--funding-teal);
    padding: 1rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
    user-select: none;
    align-items: center;
    gap: 1.5rem;
}

.funding-table__body {
    display: flex;
    flex-direction: column;
}

.funding-table__body > .funding-row + .funding-row {
    border-top: 1px solid var(--funding-border);
}

.funding-table__head,
.funding-row__main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

@media (min-width: 768px) {
    .funding-table__head {
        display: grid;
    }
    .funding-table__head,
    .funding-row__main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.funding-row__main {
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    transition: background-color 150ms;
    font-size: 14px;
    color: var(--funding-text);
    position: relative;
}

.funding-row__main:hover {
    background: #f7fafa;
}

.funding-row--active .funding-row__main,
.funding-row__main--active {
    background: var(--funding-mint);
}

.funding-row__method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--funding-text-dark);
    min-width: 0;
}

.funding-row__icon {
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: #ffffff;
    width: 38px;
    height: 24px;
    max-width: 38px;
    max-height: 24px;
    min-width: 38px;
    min-height: 24px;
}

.funding-row__icon svg {
    width: 100%;
    height: 100%;
}

.funding-row__name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}

@media (min-width: 768px) {
    .funding-row__name {
        font-size: 14px;
    }
}

.funding-row__type-cell {
    display: none;
    color: var(--funding-text);
}

@media (min-width: 768px) {
    .funding-row__type-cell {
        display: block;
    }
}

.funding-row__type {
    white-space: nowrap;
}

.funding-row__fee-cell {
    display: none;
    color: var(--funding-text);
}

@media (min-width: 768px) {
    .funding-row__fee-cell {
        display: block;
    }
}

.funding-row__time-cell {
    text-align: right;
    color: var(--funding-text);
}

@media (min-width: 768px) {
    .funding-row__time-cell {
        text-align: left;
    }
}

.funding-row__time-cell--instant {
    color: var(--funding-teal);
    font-weight: 500;
}

.funding-row__time-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .funding-row__time-wrap {
        justify-content: space-between;
    }
}

.funding-row__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #545b62;
    transition: transform 200ms;
}

.funding-row__chevron-icon {
    width: 0.875rem;
    height: 0.875rem;
    transform: rotate(0deg);
    transition: transform 200ms;
}

.funding-row__chevron-icon--open {
    transform: rotate(180deg);
    color: var(--funding-text-dark);
}

.funding-row__details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out;
    background: #ffffff;
}

.funding-row__details--open {
    max-height: none;
}

.funding-row__details-inner {
    padding: 1.5rem;
    font-size: 14px;
    color: var(--funding-text);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .funding-row__details-inner {
        padding-left: 74px;
    }
}

.funding-row__details-inner a {
    color: var(--funding-teal);
    text-decoration: none;
}

.funding-row__details-inner a:hover {
    text-decoration: underline;
}

.funding-page {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: 3rem;
    min-height: 100vh;
    position: relative;
}

.funding-page__inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 0.5rem;
}

@media (min-width: 640px) {
    .funding-page__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.funding-page__intro {
    max-width: 48rem;
    margin: 0 0 1.5rem;
}

.funding-page__title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(funding-mint);
}

@media (min-width: 640px) {
    .funding-page__title {
        font-size: 2rem;
    }
}

.funding-page__subtitle {
    font-size: 1rem;
    color: var(--funding-text);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.funding-page__section {
    padding-top: 2rem;
}

.funding-page__section--deposits {
    padding-top: 1rem;
}

.funding-page__section--withdrawals {
    padding-top: 2.5rem;
}

.funding-page__section-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0 0.25rem;
    margin-bottom: 1rem;
}

.funding-page__section-marker {
    width: 0.3125rem;
    height: 1.125rem;
    border-radius: 9999px;
    background: var(--funding-teal);
}

@media (max-width: 767px) { 
    .funding-table__head div:nth-child(1) {
    display: none;
    }
    .funding-table__head div:nth-child(2) {
    display: none;
    }
}