.toast-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 100%;
    max-width: 420px;
}

.finance-toast-message {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 0;
    border-radius: 14px;
    /* padding: 18px 50px 18px 18px; */
    background: #d1e7dd !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    animation: toastSlide 0.35s ease;
    position: relative;
    text-align: left;
}

.flash-icon {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    background: none !important;
    color: #0f5132;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.flash-text {
    color: #0f5132;
    font-size: 14px;
    line-height: 1.6;
    padding-right: 10px;
}

.flash-text a {
    margin-top: 10px;
    display: inline-block;
}

.finance-toast-message .close {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0.7;
    font-size: 22px;
    line-height: 1;
}

.finance-toast-message .close:hover {
    opacity: 1;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.finance-modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 18, 122, 0.18);
    position: relative;
}

.finance-modal-body {
    text-align: center;
}

.flash-icon-last {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #00127A;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
}

.flash-desc h4 {
    font-size: 24px;
    font-weight: 700;
    color: #00127A;
    margin-bottom: 15px;
}

.flash-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
}

.unlock-finance-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00127A;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.unlock-finance-btn:hover {
    background: #1626b5;
    color: #fff;
    text-decoration: none;
}

.unlock-finance-btn span {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
}

.finance-close {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 28px;
    color: #777;
    opacity: 1;
}

.finance-close:focus {
    outline: none;
}

@media (max-width: 576px) {

    .toast-wrapper {
        right: 10px;
        left: 10px;
        top: 10px;
        max-width: unset;
    }

    .finance-toast-message {
        padding: 16px 45px 16px 16px;
    }

    .flash-icon {
        min-width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .flash-text {
        font-size: 13px;
    }

    .flash-desc h4 {
        font-size: 20px;
    }

    .flash-desc p {
        font-size: 14px;
    }

    .unlock-finance-btn {
        width: 100%;
        justify-content: center;
    }
}