#r3f-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.r3f-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

.r3f-content {
    position: relative;
    width: 74%;
    height: 95%;
    margin: 1% auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.r3f-close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
    background: #96b32a;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 15px 4px 15px;
    /* display: none; */
}

#r3f-dynamic-content {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 9px;
    flex-direction: column;
}


/* Wrapper to stack loader + text */
.r3f-loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px; /* space between loader and text */
}

/* Spinner */
.r3f-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: r3f-spin 1s linear infinite;
}

/* Text */
.r3f-loader-wrapper p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

body.r3f-modal-open {
    overflow: hidden;
}

/* Animation */
@keyframes r3f-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* @media(max-width:1440px){
    .r3f-content{
        height:100%;
    }
} */
