body {
    background-color: #f0f0f1!important;
}
#screen-meta-links:not(:has(button.screen-meta-active)), #screen-meta {
    margin-top: -2em;
}
/** Header **/
div#wpbody-content {
    position: relative;
}
.formipay-screen-menu {
    margin-left: -20px;
    margin-bottom: 2em;
    padding: 10px 20px 10px 50px;
    background-color: white;
    display: flex;
    gap: 1em;
    align-items: center;
    position: sticky;
    top: 32px;
    left: 0;
    z-index: 999;
    box-shadow: 0 10px 20px #d2d2d2
}
.formipay-screen-menu h1 {
    font-size: 24px!important;
    color: #1d2327;
    margin: .67em 0;
}
.screen-title {
    display: flex;
    align-items: center;
    gap: 1em;
}
.formipay-screen-menu > img {
    width: 56px;
}
/** END Header **/

/** Metabox */
.stm_metaboxes_grid__inner .wpcfto-tab {
    padding: 0!important;
}
.stm_metaboxes_grid__inner #appearance {
    padding-right: 0!important;
}
.stm_metaboxes_grid__inner #appearance .row {
    margin-left: 0!important;
}
.stm_metaboxes_grid__inner #appearance .column {
    padding: 1.8rem!important;
}
.wpcfto-tab.active {
    padding-right: 0!important;
}
.wpcfto-tab.active > .container > .row {
    margin: 0!important;
}
.wpcfto-repeater-single:not(:first-child) {
    border-top: 1px solid #ccc!important;
}
.wpcfto_settings_head+.stm_metaboxes_grid .stm_metaboxes_grid__inner .row .column {
    padding-right: 1.8rem!important;
}
.wpcfto_group_started .wpcfto_generic_field_editor {
    padding: 0!important;
}
.trumbowyg-textarea {
    min-height: 14em !important;
    height: unset!important;
}
.wpcfto-editor span.ql-formats:nth-last-child(3) {
    display: none!important;
}
.stm_metaboxes_grid__inner, .wpcfto_settings_head {
    max-width: unset!important;
}
.wpcfto-box-child.repeater {
    padding-top: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-bottom: 0;
}
#inactive.wpcfto_sorter_single > h6 {
    background-color: #999999;
}
.wpcfto_sorter .list-group-item.disable {
    color: #8c99a5;
    background-color: #efefef;
}
.wpcfto_sorter .list-group-item.disable:hover {
    color: #f72657;
}
.wpcfto_sorter .list-group-item i {
    float: right;
    margin-top: 2px;
}

.choices {
    overflow: visible!important;
    margin-right: .5rem;
}
/** Table **/
.post-action a {
    text-decoration: none;
}
button#formipay-delete-selected {
    min-height: 44px;
    margin-bottom: 0!important;
    border-radius: .5rem;
    color: #58151c;
    font-size: 16px;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: .5em;
    border: 1px solid #58151c;
    background-color: #f1aeb5;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1em;
}
.post-status-wrapper {
    display: flex;
    gap: .5rem;
    align-items: center;
}
.post-status-wrapper a {
    color: #999999;
    cursor: pointer;
}
.post-status-wrapper a[data-active=true] {
    color: #277aff;
    font-weight: bold;
}
table.gridjs-table th, button.gridjs-currentPage {
    background: #277aff!important;
    color: #ffffff;
}
table.gridjs-table tr *:is(th, td):first-child {
    padding-left: 1rem;
    padding-right: 1rem;
}
.gridjs-pagination button:hover {
    background-color: #277aff!important;
    color: white!important;
}
.gridjs-head {
    display: none;
}
#reset-filter {
    color: #277aff;
    font-weight: bold;
    cursor: pointer;
}
.filter-bar {
    display: flex;
    gap: .5em;
    justify-content: flex-end;
    align-items: center;
}
.filter-bar select, .filter-bar input{
    padding: .5em 1em;
    border-radius: .5em;
    color: #666666 !important;
    border: 1px solid #b7b7b7 !important;
    min-height: 44px !important;
}
.filter-bar select {
    padding-right: 1.75em;
}
.gridjs-pages > * {
    padding: 1em 1.5em!important;
}
/** END Table **/

/** SweetAlert2 **/
button.swal2-confirm.swal2-styled {
    background-color: rgb(39, 122, 255)!important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(39, 122, 255, .5)!important;
}
.top-40 {
    top: 40px!important;
}
/** END SweetAlert2 **/

@media screen and (max-width: 767px) {
    .formipay-screen-menu {
        top: 0;
        align-items: start;
    }
    .screen-title h1 {
        flex: 0 0 100%;
    }
    .screen-title {
        flex-wrap: wrap;
    }
    .filter-bar {
        flex-direction: column;
        align-items: start;
    }
    .filter-bar,
    .filter-bar > *:not(:first-child), 
    .filter-bar > *:not(:first-child) > * {
        width: 100%;
    }
}