.btn-rect, .stepwizard-step, .success_list {
    text-align: center;
    padding: 0
}

body {
    background: #f0f0f1 !important
}

input:not([type=checkbox]):not([type=radio]):not(.select2-search__field):not(.custom-search-class), select:not(.ui-datepicker-month):not(.ui-datepicker-year):not(.custom-select-class), textarea, #userTable_wrapper select, #userTable_wrapper input:not([type=checkbox]):not([type=radio]):not(.select2-search__field) {
    width: 400px !important;
    height: 35px;
    background-color: white;
}

label:has(> input[type=checkbox]) {
    margin-top: 5px
}

.success_list {
    font-size: 20px;
    list-style-type: none
}

.success_heading {
    text-align: center;
    font-size: 24px;
    font-weight: 700
}

#poststuff, #poststuff_logs {
    margin-top: 50px
}

#user_meta_equal {
    margin-left: 10px;
    margin-right: 10px
}

#deleteProgressBar {
    margin-top: 20px
}

.progress {
    height: 20px;
    background-color: #f1f1f1
}

.progress-bar {
    background-color: #4caf50;
    transition: width .5s
}

.select2-selection__rendered {
    line-height: 31px !important
}

.select2-container .select2-selection--single {
    height: 35px
}

.select2-selection__arrow {
    height: 34px !important
}

.select2-container .select2-selection__choice {
    height: 24px;
    line-height: 1.5
}

.select2-container .select2-search__field {
    margin-top: 2px !important
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
    margin-bottom: 30px
}

.stepwizard-row {
    display: table-row;
    position: relative
}

.stepwizard-step {
    display: table-cell;
    position: relative
}

.stepwizard-row::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1
}

.stepwizard-step p {
    margin-top: 10px;
    font-weight: 500;
    color: #555
}

.btn-rect {
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border-radius: 5px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    color: #555;
    z-index: 2;
    position: relative;
    display: inline-block
}

.btn-rect.btn-primary, .stepwizard-step.active .btn-rect {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff
}

.btn-rect.btn-default {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    color: #555
}

.btn-rect:disabled {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #aaa
}

.stepwizard-step.complete .btn-rect {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff
}

#page_loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 80px;
    height: 80px;
    animation: 1.5s linear infinite spin
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

/**DataTables**/

/* General Table Styling to Match WordPress Look */
#userTable_wrapper table.dataTable {
    width: 100%;
    font-size: 13px; /* General font size for the table */
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border: 1px solid #ddd; /* Border similar to WP table */
}

/* Table Header Styling (WordPress-like) */
#userTable_wrapper table.dataTable thead th {
    font-size: 14px; /* Slightly larger for emphasis */
    background-color: #f1f1f1;
    color: #444; /* WordPress typical header color */
    font-weight: 600;
    border-bottom: 2px solid #ccc;
    padding: 12px 10px;
    text-align: left;
}

/* Table Body Rows (WordPress-like) */
#userTable_wrapper table.dataTable tbody td {
    padding: 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

/* Alternating Row Colors (Zebra Stripes like WP) */
#userTable_wrapper table.dataTable tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Light grey like WordPress table */
}

/* Hover effect for table rows (WordPress-like) */
#userTable_wrapper table.dataTable tbody tr:hover {
    background-color: #f1f1f1; /* Slight hover effect */
}

/* Pagination Styling */
#userTable_wrapper .dataTables_paginate {
    text-align: right;
    margin-top: 10px;
}

#userTable_wrapper .dataTables_paginate .paginate_button {
    display: inline-block;
    padding: 5px 12px;
    margin-left: 3px;
    border: 1px solid #ccc;
    color: #0073aa; /* WordPress primary blue color */
    border-radius: 3px;
    background-color: #f9f9f9;
}

#userTable_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #0073aa;
    color: white; /* WP hover effect */
}

#userTable_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}

/* Entries per page section - styled like WordPress */
#userTable_wrapper .dataTables_length label {
    font-size: 14px; /* Larger label for entries per page */
    font-weight: bold;
    color: #444;
}

#userTable_wrapper .dataTables_length select {
    font-size: 13px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    margin-left: 5px;
}

/* Search box styled like WordPress search fields */
#userTable_wrapper .dataTables_filter input[type="search"] {
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    margin-left: 10px;
}

/* Adjust Select Dropdown Size (including Select2 dropdowns) */
.select2-container--default .select2-selection--single,
#userTable_wrapper .dataTables_length select,
#userTable_wrapper .dataTables_filter input[type="search"] {
    font-size: 13px;
    height: auto; /* Match WordPress heights */
    min-width: 160px; /* Adjust width to match WP forms */
}

/* Checkbox and Select Column Sizes Adjusted */
.user-checkbox, .user-select {
    transform: scale(0.85); /* Slightly smaller checkboxes */
    margin-right: 10px;
}

/* Adjust Checkbox and Selection Size */
#userTable_wrapper input[type="checkbox"], #userTable_wrapper select {
    transform: scale(0.9); /* Match WordPress scale for input fields */
}

/* Overall Table Layout Padding */
.dt-layout-table {
    padding: 10px 15px;
}

/* Table Scroll Wrapper for Responsive Design */
.dataTables_wrapper {
    overflow-x: auto; /* Ensure table responsiveness */
    padding-bottom: 20px; /* Add bottom padding for space */
}

/* Responsive Adjustments for Smaller Screens */
@media screen and (max-width: 768px) {
    #userTable_wrapper table.dataTable {
        font-size: 12px; /* Smaller font on mobile */
    }

    #userTable_wrapper .dataTables_length select,
    #userTable_wrapper .dataTables_filter input[type="search"] {
        font-size: 12px;
    }

    #userTable_wrapper .dataTables_paginate .paginate_button {
        font-size: 12px;
        padding: 5px 8px; /* Smaller pagination buttons */
    }
}

/* General Table Styling to Match WordPress Look */
#logs {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border: 1px solid #ddd; /* Border similar to WordPress table */
}

/* Table Header Styling (WordPress-like) */
#logs thead th {
    font-size: 14px;
    background-color: #f1f1f1;
    color: #444;
    font-weight: 600;
    border-bottom: 2px solid #ccc;
    padding: 10px;
    text-align: left;
}

/* Table Body Rows (WordPress-like) */
#logs tbody td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

/* Alternating Row Colors (Zebra Stripes like WordPress) */
#logs tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect for table rows (WordPress-like) */
#logs tbody tr:hover {
    background-color: #f1f1f1;
}

/* Adjusted Column Widths */
#logs colgroup col {
    width: auto;
}

/* Pagination Styling */
.dataTables_paginate {
    text-align: right;
    margin-top: 10px;
}

.dataTables_paginate .paginate_button {
    display: inline-block;
    padding: 5px 12px;
    margin-left: 3px;
    border: 1px solid #ccc;
    color: #0073aa;
    border-radius: 3px;
    background-color: #f9f9f9;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #0073aa;
    color: white;
}

.dataTables_paginate .paginate_button.current {
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}

/* Entries per page section - styled like WordPress */
.dataTables_length label {
    font-size: 14px;
    font-weight: bold;
    color: #444;
}

.dataTables_length select {
    font-size: 13px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    margin-left: 5px;
}

/* Search box styled like WordPress search fields */
.dataTables_filter input[type="search"] {
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    margin-left: 10px;
}

/* Responsive Table Adjustments */
#logs_wrapper {
    overflow-x: auto; /* Horizontal scrolling for small screens */
    padding-bottom: 20px;
}

/* Adjust Checkbox and Selection Size */
#logs_wrapper input[type="checkbox"], #logs_wrapper select {
    transform: scale(0.9); /* Match WordPress scale for input fields */
}

/* Responsive Adjustments for Smaller Screens */
@media screen and (max-width: 768px) {
    #logs {
        font-size: 12px; /* Smaller font on mobile */
    }

    .dataTables_length select,
    .dataTables_filter input[type="search"] {
        font-size: 12px;
    }

    .dataTables_paginate .paginate_button {
        font-size: 12px;
        padding: 5px 8px; /* Smaller pagination buttons */
    }
}

.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

.dataTables_paginate {
    display: block; /* Ensures the pagination is displayed */
    margin: 20px 0; /* Adjusts margin as needed */
}

/**DataTables**/