/* Extra small devices (phones, 50px and up) */
@media (min-width: 50px) {
/*withdraw success modal*/

#withdraw-success-modal-container {
    display: none; /* Hidden by default */
    /* Stay in place */
    position: fixed; 
    left: 0;
    top: 0;
    z-index: 1; /* Sit on top */
    width: 100%; 
    height: 100%;
    padding: 0 0.4rem;
    /* Enable scroll if needed */
    overflow: auto;  
    background-color: var(--modal-background);
}

#withdraw-success-modal-close-button {
    height: 0.5rem;
    width: 0.5rem;
    float: right;
    position: absolute;
    top: 1.2rem;
    right: 2.6rem;
    z-index: 2;
    background-image: url("../image/ppx7_close_icon.webp");
}

#withdraw-success-modal-close-button:hover {
    cursor: pointer;
}

.withdraw-success-modal-top-content-container {
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.withdraw-success-modal-big-image {
    display: flex;
    align-self: center;
    align-self: center;
    position: absolute;
    top: 2rem;
    right: 3.55rem;
    height: 2.5rem;
    width: 2.8rem;
    background-image: url("../image/ppx7_withdraw_success.webp");
}

.withdraw-success-modal-bottom-content-container {
    height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    padding: 0 0.2rem;
}

#withdraw-success-got-it-button {
    margin-top: 0.1rem;
    background-color: var(--green-color);
    height: 0.5rem;
    width: 2rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#withdraw-success-it-button p {
    color: var(--text-black);
    font-size: var(--extra-small-font-size);
    font-weight: var(--bold-font-weight);
}
}

/* Medium devices (small laptops, 768px and up) */
@media (min-width: 768px) {
/*withdraw success modal*/

    #withdraw-success-modal-close-button {
        height: 0.2rem;
        width: 0.2rem;
        float: none;
        position: absolute;
        top: 1.1rem;
        right: 3.4rem;
        z-index: 2;
        background-image: url("../image/ppx7_close_icon.webp");
    }

    .withdraw-success-modal-big-image {
        display: flex;
        align-self: center;
        position: absolute;
        top: 1.3rem;
        right: 4.35rem;
        height: 1.2rem;
        width: 1.3rem;
        background-image: url("../image/ppx7_withdraw_success.webp");
        background-size: contain;
    }

    #withdraw-success-got-it-button {
        margin-top: 0.1rem;
        background-color: var(--green-color);
        height: 0.5rem;
        width: 1rem;
        border-radius: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #withdraw-success-got-it-button p {
        color: var(--text-black);
        font-size: var(--mini-font-size);
        font-weight: var(--bold-font-weight);
    }
}