#submit_riverty.btn.btn-link.visible {
    display: flex;
    width: 100%;
    min-width: 100%;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7); /* white overlay */
    z-index: -1;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
}

#page-loader.active {
    opacity: 1;
    z-index: 9999;
}

.spinner {
    border: 6px solid #ccc;
    border-top: 6px solid #0073aa; /* WordPress blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

.page-loader-message {
    max-width: 500px;
    padding: 20px;
}

body.no-scroll {
    overflow: hidden;
}

.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button {
    height: unset;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*
body.post-type-riverty_customer .wrap .page-title-action,
body.post-type-riverty_invoice .wrap .page-title-action,
.row-actions span.trash a,
body.post-type-riverty_customer .wrap .page-title-action,
body.post-type-riverty_invoice .wrap .page-title-action,
.menu-top.menu-icon-riverty_customer .wp-submenu-wrap li:last-child,
.menu-top.menu-icon-riverty_invoice .wp-submenu-wrap li:last-child,
body.post-type-riverty_customer #major-publishing-actions,
body.post-type-riverty_invoice #major-publishing-actions
{
    display: none;
}

body.post-type-riverty_customer .inside.acf-fields.-top,
body.post-type-riverty_invoice .inside.acf-fields.-top {
    pointer-events: none
}*/
