/* =========================================================
   COMPLETE BLISS - MEMBER FUNDING ACCOUNT
========================================================= */

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


/* HEADER */

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

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

    gap: 20px;
}


.member-funding-back {
    margin-bottom: 10px;

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

    gap: 6px;

    color: #667085;

    font-size: 9px;

    font-weight: 700;

    text-decoration: none;
}


.member-funding-back:hover {
    color: #2563eb;
}


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

    color: #101828;

    font-size: 26px;

    font-weight: 800;
}


.member-funding-header h1 i {
    margin-right: 7px;

    color: #2563eb;
}


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

    color: #667085;

    font-size: 11px;
}


.member-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;
}


/* LAYOUT */

.member-funding-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(260px, .65fr);

    align-items: start;

    gap: 18px;
}


/* MAIN CARD */

.member-funding-card,
.member-funding-side-card {
    padding: 25px;

    border-radius: 17px;

    background: #ffffff;

    border: 1px solid #e5eaf0;

    box-shadow:
        0 8px 28px
        rgba(15,23,42,.035);
}


.member-funding-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #2563eb;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1px;
}


.member-funding-label.pending {
    color: #b45309;
}


.member-funding-label.success {
    color: #15803d;
}


.member-funding-card h2 {
    margin: 0;

    color: #101828;

    font-size: 22px;

    font-weight: 800;
}


.member-funding-card > p {
    max-width: 620px;

    margin: 8px 0 22px;

    color: #667085;

    font-size: 10px;

    line-height: 1.7;
}


/* FORM */

.member-funding-form {
    display: grid;

    gap: 18px;
}


.member-funding-field label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 9px;

    font-weight: 700;
}


.member-funding-input {
    position: relative;
}


.member-funding-input > i {
    position: absolute;

    top: 50%;
    left: 14px;

    transform: translateY(-50%);

    color: #98a2b3;

    font-size: 10px;
}


.member-funding-input input {
    width: 100%;
    height: 47px;

    padding:
        0 14px 0 40px;

    box-sizing: border-box;

    border: 1px solid #d0d5dd;

    border-radius: 10px;

    outline: none;

    color: #101828;

    background: #ffffff;

    font-size: 10px;
}


.member-funding-input input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37,99,235,.08);
}


.member-funding-field small {
    display: block;

    margin-top: 6px;

    color: #98a2b3;

    font-size: 7px;

    line-height: 1.5;
}


/* CONSENT */

.member-funding-consent {
    padding: 15px;

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

    gap: 10px;

    border-radius: 12px;

    cursor: pointer;

    background: #f8fafc;

    border: 1px solid #e4e7ec;
}


.member-funding-consent input {
    width: 16px;
    height: 16px;

    margin-top: 2px;

    accent-color: #2563eb;
}


.member-funding-consent span {
    min-width: 0;
}


.member-funding-consent strong {
    display: block;

    margin-bottom: 4px;

    color: #344054;

    font-size: 9px;
}


.member-funding-consent small {
    display: block;

    color: #667085;

    font-size: 8px;

    line-height: 1.65;
}


/* BUTTON */

.member-funding-submit {
    min-height: 47px;

    padding: 0 18px;

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

    gap: 8px;

    border: 0;

    border-radius: 10px;

    cursor: pointer;

    color: #ffffff;

    background: #2563eb;

    font-size: 9px;

    font-weight: 800;
}


.member-funding-submit:hover {
    background: #1d4ed8;
}


/* SIDE CARD */

.member-funding-side-icon {
    width: 43px;
    height: 43px;

    margin-bottom: 14px;

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

    border-radius: 12px;

    color: #2563eb;

    background: #eff6ff;

    font-size: 15px;
}


.member-funding-side-card h3 {
    margin: 0 0 18px;

    color: #101828;

    font-size: 16px;
}


.member-funding-step {
    position: relative;

    padding-bottom: 18px;

    display: flex;

    gap: 10px;
}


.member-funding-step > span {
    width: 25px;
    min-width: 25px;
    height: 25px;

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

    border-radius: 50%;

    color: #2563eb;

    background: #eff6ff;

    font-size: 7px;

    font-weight: 800;
}


.member-funding-step strong {
    display: block;

    margin-bottom: 3px;

    color: #344054;

    font-size: 8px;
}


.member-funding-step p {
    margin: 0;

    color: #98a2b3;

    font-size: 7px;

    line-height: 1.55;
}


.member-funding-security {
    margin-top: 6px;

    padding: 12px;

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

    gap: 8px;

    border-radius: 10px;

    color: #166534;

    background: #ecfdf3;
}


.member-funding-security p {
    margin: 0;

    font-size: 7px;

    line-height: 1.6;
}


/* PENDING */

.member-funding-pending-icon,
.member-funding-success-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 17px;

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

    border-radius: 15px;

    font-size: 20px;
}


.member-funding-pending-icon {
    color: #b45309;

    background: #fffbeb;
}


.member-funding-success-icon {
    color: #15803d;

    background: #ecfdf3;
}


.member-funding-request-details {
    margin-top: 20px;

    display: grid;

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

    gap: 10px;
}


.member-funding-request-details > div {
    min-width: 0;

    padding: 13px;

    border-radius: 10px;

    background: #f8fafc;

    border: 1px solid #eaecf0;
}


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

    margin-bottom: 4px;

    color: #98a2b3;

    font-size: 6px;

    font-weight: 700;

    text-transform: uppercase;
}


.member-funding-request-details strong {
    display: block;

    color: #344054;

    font-size: 8px;

    overflow-wrap: anywhere;
}


.pending-text {
    color: #b45309 !important;
}


.member-funding-notice {
    margin-top: 17px;

    padding: 13px;

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

    gap: 8px;

    border-radius: 10px;

    color: #2563eb;

    background: #eff6ff;
}


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

    color: #475467;

    font-size: 8px;
}


/* FAILED */

.member-funding-error-note {
    margin-bottom: 18px;

    padding: 13px;

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

    gap: 9px;

    border-radius: 10px;

    color: #b42318;

    background: #fef3f2;

    border: 1px solid #fee4e2;
}


.member-funding-error-note strong {
    display: block;

    margin-bottom: 3px;

    font-size: 8px;
}


.member-funding-error-note p {
    margin: 0;

    font-size: 7px;

    line-height: 1.5;
}


/* BANK CARD */

.member-funding-bank-card {
    max-width: 430px;

    margin-top: 20px;

    padding: 20px;

    border-radius: 15px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2563eb
        );
}


.member-funding-bank-card span {
    display: block;

    margin-bottom: 5px;

    opacity: .72;

    font-size: 6px;

    font-weight: 700;
}


.member-funding-bank-card strong {
    display: block;

    margin-bottom: 17px;

    font-size: 10px;
}


.member-funding-bank-card h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 27px;

    letter-spacing: 2px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

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

}


@media (max-width: 600px) {

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


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


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


    .member-funding-header h1 {
        font-size: 21px;
    }


    .member-funding-card,
    .member-funding-side-card {
        padding: 18px;
    }


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


    .member-funding-bank-card {
        max-width: 100%;

        box-sizing: border-box;
    }


    .member-funding-submit {
        width: 100%;
    }

}