/* =========================================================
   ADMIN FUNDING ACCOUNT REQUESTS
========================================================= */

.funding-admin-page {
    padding: 28px;
}


.funding-admin-header {
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.funding-admin-label {
    margin-bottom: 7px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #2563eb;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


.funding-admin-header h1 {
    margin: 0;

    color: #101828;

    font-size: 27px;

    font-weight: 800;
}


.funding-admin-header p {
    margin: 6px 0 0;

    color: #667085;

    font-size: 11px;
}


.funding-header-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: #2563eb;

    background: #eff6ff;

    font-size: 19px;
}


/* SUMMARY */

.funding-summary-grid {
    margin-bottom: 18px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}


.funding-summary-card {
    padding: 17px;

    display: flex;
    align-items: center;

    gap: 11px;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid #e5eaf0;
}


.funding-summary-card > i {
    width: 39px;
    min-width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #2563eb;

    background: #eff6ff;
}


.funding-summary-card span {
    display: block;

    margin-bottom: 3px;

    color: #98a2b3;

    font-size: 8px;
}


.funding-summary-card strong {
    color: #101828;

    font-size: 19px;
}


/* NOTICE */

.funding-review-notice {
    margin-bottom: 18px;

    padding: 15px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    border-radius: 12px;

    background: #fffbeb;

    border: 1px solid #fde68a;
}


.funding-review-notice > i {
    margin-top: 2px;

    color: #d97706;
}


.funding-review-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #92400e;

    font-size: 9px;
}


.funding-review-notice p {
    margin: 0;

    color: #667085;

    font-size: 8px;

    line-height: 1.6;
}


/* TOOLBAR */

.funding-toolbar {
    margin-bottom: 12px;

    padding: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    border-radius: 13px;

    background: #ffffff;

    border: 1px solid #e5eaf0;
}


.funding-toolbar h2 {
    margin: 0;

    color: #101828;

    font-size: 15px;
}


.funding-toolbar p {
    margin: 4px 0 0;

    color: #98a2b3;

    font-size: 8px;
}


.funding-filter {
    position: relative;

    min-width: 170px;
}


.funding-filter i {
    position: absolute;

    top: 50%;
    left: 12px;

    transform: translateY(-50%);

    color: #98a2b3;

    pointer-events: none;
}


.funding-filter select {
    width: 100%;
    height: 39px;

    padding:
        0 12px 0 34px;

    border: 1px solid #e4e7ec;

    border-radius: 9px;

    background: #ffffff;

    color: #344054;

    font-size: 9px;
}


/* REQUEST CARD */

.funding-request-list {
    display: grid;

    gap: 10px;
}


.funding-request-card {
    padding: 17px;

    display: grid;

    grid-template-columns:
        minmax(210px, 1.1fr)
        minmax(280px, 1.5fr)
        auto;

    align-items: center;

    gap: 18px;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid #e5eaf0;
}


.funding-member-info {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}


.funding-avatar {
    width: 43px;
    min-width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: #ffffff;

    background: #2563eb;

    font-weight: 800;
}


.funding-member-info h3 {
    margin: 0 0 5px;

    color: #101828;

    font-size: 11px;
}


.funding-member-info span {
    margin-top: 3px;

    display: block;

    color: #667085;

    font-size: 7px;

    overflow-wrap: anywhere;
}


.funding-member-info span i {
    width: 13px;

    color: #98a2b3;
}


.funding-request-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.funding-request-details span {
    display: block;

    margin-bottom: 4px;

    color: #98a2b3;

    font-size: 6px;

    text-transform: uppercase;

    font-weight: 700;
}


.funding-request-details strong {
    color: #475467;

    font-size: 7px;
}


.funding-request-status {
    display: grid;

    justify-items: start;

    gap: 5px;
}


.funding-status {
    padding: 7px 10px;

    border-radius: 999px;

    font-size: 7px;

    font-weight: 800;
}


.funding-status-pending {
    color: #b45309;
    background: #fffbeb;
}


.funding-status-processing {
    color: #6d28d9;
    background: #f5f3ff;
}


.funding-status-activated {
    color: #15803d;
    background: #ecfdf3;
}


.funding-status-failed,
.funding-status-cancelled {
    color: #b42318;
    background: #fef3f2;
}


.funding-request-status small {
    color: #98a2b3;

    font-size: 6px;
}


/* PAGINATION */

.funding-pagination {
    margin-top: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;
}


.funding-pagination a {
    min-height: 37px;

    padding: 0 12px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border-radius: 8px;

    color: #344054;

    background: #ffffff;

    border: 1px solid #e4e7ec;

    font-size: 7px;

    font-weight: 800;
}


.funding-pagination span {
    color: #667085;

    font-size: 8px;
}


/* EMPTY */

.funding-empty-state {
    padding: 55px 20px;

    text-align: center;

    border-radius: 15px;

    background: #ffffff;

    border: 1px solid #e5eaf0;
}


.funding-empty-state > i {
    margin-bottom: 13px;

    color: #2563eb;

    font-size: 28px;
}


.funding-empty-state h2 {
    margin: 0;

    color: #101828;

    font-size: 17px;
}


.funding-empty-state p {
    margin: 6px 0 0;

    color: #667085;

    font-size: 9px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .funding-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .funding-request-card {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .funding-admin-page {
        padding: 18px 14px;
    }


    .funding-admin-header {
        align-items: flex-start;
    }


    .funding-admin-header h1 {
        font-size: 22px;
    }


    .funding-header-icon {
        width: 45px;
        min-width: 45px;
        height: 45px;
    }


    .funding-summary-grid {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }


    .funding-toolbar {
        flex-direction: column;

        align-items: stretch;
    }


    .funding-filter {
        width: 100%;
    }


    .funding-request-details {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .funding-summary-grid {
        grid-template-columns: 1fr;
    }

}