/* General Admin Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f0f0f1;
}

.fahimptb-headerbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    margin: -20px -20px 20px -20px; /* Adjust to fill the admin page width */
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.fahimptb-page-title {
    margin: 0;
    font-size: 24px;
    color: #2c3338;
}

.fahimptb-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.fahimptb-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.fahimptb-btn-primary {
    background-color: #007cba;
    color: #fff;
    border-color: #007cba;
}

.fahimptb-btn-primary:hover {
    background-color: #006ba1;
    border-color: #006ba1;
}

.fahimptb-icon {
    margin-right: 5px;
}

/* Card-like background for content */
.fahimptb-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    padding: 20px;
    margin-bottom: 20px;
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
    cursor: pointer;
}

/* DataTables specific styling adjustments */
#fahimptb_listing_table {
    width: 100% !important;
    border-collapse: collapse;
}

#fahimptb_listing_table th,
#fahimptb_listing_table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

#fahimptb_listing_table th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #555;
}

#fahimptb_listing_table tbody tr:hover {
    background-color: #f5f5f5;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 3px;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #007cba;
    color: #fff !important;
    border-color: #007cba;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_info {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

/* Action container for table rows */
.action_container {
    font-size: 13px;
    margin-top: 5px;
    color: #888;
}

.action_container span {
    margin-right: 10px;
}

.action_container a {
    color: #007cba;
    text-decoration: none;
}

.action_container a:hover {
    text-decoration: underline;
}

.post-state {
    color: #a00;
    font-weight: 600;
    margin-left: 5px;
}

.dashicons-hidden:before {
    vertical-align: middle;
    font-size: 18px;
    margin-right: 3px;
}

/* No post types/taxonomies message */
.fahimptb-no-post-types-wrapper {
    text-align: center;
    padding: 50px 20px;
    background-color: #fdfdfd;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    margin-top: 30px;
}

.fahimptb-no-post-types-inner img {
    max-width: 150px;
    margin-bottom: 20px;
}

.fahimptb-no-post-types-inner h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.fahimptb-no-post-types-inner p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Form elements */
.fahimptb-field {
    margin-bottom: 20px;
}

.fahimptb-label label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.fahimptb-input input[type="text"],
.fahimptb-input select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
    font-size: 14px;
}

.fahimptb-input input[type="text"]:focus,
.fahimptb-input select:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    outline: none;
}

.description {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.fahimptb_switch_btn {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
}

.fahimptb_switch_btn input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007cba;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.fahimptb-input-wrap.d-flex {
    display: flex;
    align-items: center;
}

.fahimptb-input-wrap.d-flex label b {
    display: block;
    margin-bottom: 3px;
}

.fahimptb-checkbox-list li {
    margin-bottom: 8px;
}

.fahimptb-checkbox-list label {
    display: flex;
    align-items: center;
    font-weight: normal;
    color: #333;
}

.fahimptb-checkbox-list input[type="checkbox"] {
    margin-right: 8px;
}

.up_img {
    margin-top: 20px;
}

.up_img .img-section {
    display: block;
    margin-bottom: 15px;
}

.up_img .img-section img {
    display: block;
    max-width: 150px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.up_img .remove_img {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3232;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

.error_m {
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
}

.col-sm-12 {
    width: 100%;
}

.col-md-6 {
    width: auto;
}

div.dt-container .dt-search {
    margin-bottom: 20px;
}

#wpbody-content {
    margin-top: 20px;
}











/*new*/


.category-section {
    display: inline-block;
    width: 27%;
    float: left;
    margin-top: 3%;
}
div#wpbody-content .category-section + .wrap {
    width: 70%;
    float: right;
    display: inline-block;
}
.category-section a.page-title-action {
    font-size: 12px;
}

.category-section a.page-title-action i:before {
    font-size: 17px;
}
.category_container ul > ul {
    padding-left: 20px;
}
.category_container ul li {
    margin: 0;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 4px 0;
    display: flex;
    gap: 10px;
}
.category_container ul a {
    font-size: 15px;
    text-decoration: none;
    padding: 5px 0;
    padding-left: 10px;
    display: inline-block;
}
.category_container ul a span {
    background: #000;
    color: #fff;
    border-radius: 50%;
    padding: 1px 5px;
    font-size: 12px;
    height: 15px;
    display: inline-block;
    line-height: 13px;
}
h4.wp-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.category-section a.page-title-action {
    font-size: 12px !important;
    padding: 5px 5px 0 !important;
    position: unset !important;
}
h4.wp-heading-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #ddd;
    padding: 0px 4px;
    margin: 0;
    color: #000;
    font-size: 14px;
}
.category-section h1.wp-heading-inline {
    margin-bottom: 13px;
}
.category-section .fornt_view a {
    padding: 2px !important;
    color: #fff;
    background: #2271b1;
}