/* ============================================================
   CUSTOM OVERRIDE CSS - Tema Merah #D32F2F
   Komisi Informasi Provinsi Sulawesi Selatan
   ============================================================ */

/* === CSS Variables / Palet Warna === */
:root {
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --primary-accent: #FF8A80;
    --primary-rgb: 211, 47, 47;
    --gradient-primary: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    --gradient-primary-hover: linear-gradient(135deg, #B71C1C 0%, #880E0E 100%);
    --shadow-sm: 0 2px 8px rgba(211, 47, 47, 0.1);
    --shadow-md: 0 4px 16px rgba(211, 47, 47, 0.15);
    --shadow-lg: 0 8px 32px rgba(211, 47, 47, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GENERAL / RESET === */
::selection {
    background-color: var(--primary);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === 1. NAVBAR / HEADER === */
.header-default {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: var(--transition);
}

.header-default .navbar {
    padding: 0;
}

.header-default .navbar-brand img {
    transition: var(--transition);
}

.header-default .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.header-default .navbar-nav .nav-link:hover,
.header-default .navbar-nav .nav-link:focus {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.header-default .navbar-nav .nav-item.active .nav-link,
.header-default .navbar-nav .nav-link.active {
    color: var(--primary);
}

.header-default .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.header-default .navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown styling */
.header-default .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px;
    border-top: 3px solid var(--primary);
}

.header-default .dropdown-menu .dropdown-item {
    border-radius: 6px;
    padding: 8px 16px;
    transition: var(--transition);
    font-size: 14px;
}

.header-default .dropdown-menu .dropdown-item:hover,
.header-default .dropdown-menu .dropdown-item:focus {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

/* === 2. MARQUEE BANNER === */
.marquee {
    background: var(--gradient-primary) !important;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.marquee marquee {
    background: transparent !important;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

/* === 3. HERO SECTION === */
.hero-carousel {
    position: relative;
}

.hero-carousel .featured-post-xl .thumb .inner {
    position: relative;
}

.hero-carousel .featured-post-xl .thumb .inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(var(--primary-rgb), 0.4) 100%);
    z-index: 1;
}

.hero-carousel .featured-post-xl .details {
    z-index: 2;
}

.hero-carousel .featured-post-xl .details .post-title a {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-carousel .featured-post-xl .details .post-title a:hover {
    color: var(--primary-accent);
}

/* Hero Search Input */
.hero-carousel .form-control,
.hero-carousel .input-group .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-carousel .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.2);
    outline: none;
}

/* === 4. PORTAL LINKS CARDS === */
.section-portal-desktop .contact-item,
.section-portal-mobile .contact-item {
    background: #fff;
    border: none !important;
    border-left: 4px solid var(--primary) !important;
    border-radius: 12px !important;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.section-portal-desktop .contact-item::before,
.section-portal-mobile .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.section-portal-desktop .contact-item:hover,
.section-portal-mobile .contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: transparent !important;
}

.section-portal-desktop .contact-item:hover::before,
.section-portal-mobile .contact-item:hover::before {
    opacity: 1;
}

.section-portal-desktop .contact-item a,
.section-portal-mobile .contact-item a {
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.section-portal-desktop .contact-item .icon,
.section-portal-mobile .contact-item .icon {
    color: #fff;
    font-size: 32px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.section-portal-desktop .contact-item:hover .icon,
.section-portal-mobile .contact-item:hover .icon {
    color: #fff;
}

.section-portal-desktop .contact-item h3,
.section-portal-mobile .contact-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: var(--transition);
}

.section-portal-desktop .contact-item:hover h3,
.section-portal-mobile .contact-item:hover h3 {
    color: #fff;
}

/* === 5. NEWS / BERITA SECTION === */
.main-content {
    padding: 60px 0;
}

.main-content .tabs-content {
    border: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

/* Nav Tabs */
.main-content .nav-tabs {
    border-bottom: 2px solid #f0f0f0;
    gap: 8px;
}

.main-content .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    transition: var(--transition);
    background: transparent;
}

.main-content .nav-tabs .nav-link .section-title {
    font-size: 16px;
    margin: 0;
    padding: 0;
    border: none;
    color: #666;
    transition: var(--transition);
}

.main-content .nav-tabs .nav-link .section-title::before {
    display: none;
}

.main-content .nav-tabs .nav-link:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.main-content .nav-tabs .nav-link:hover .section-title {
    color: var(--primary);
}

.main-content .nav-tabs .nav-link.active {
    border-bottom-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.main-content .nav-tabs .nav-link.active .section-title {
    color: var(--primary);
    font-weight: 700;
}

/* Post Cards in News */
.main-content .post .thumb {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.main-content .post .thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.main-content .post .thumb:hover::after {
    opacity: 0.2;
}

.main-content .post .thumb img,
.main-content .post .thumb .inner {
    transition: var(--transition);
}

.main-content .post .thumb:hover img,
.main-content .post .thumb:hover .inner {
    transform: scale(1.05);
}

.main-content .post .post-title a {
    transition: var(--transition);
}

.main-content .post .post-title a:hover {
    color: var(--primary);
}

/* === 6. PUTUSAN & SENGKETA SECTIONS === */
.section-header .section-title {
    color: #333;
    font-weight: 700;
    position: relative;
    padding-left: 16px;
}

.section-header .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary);
    border-radius: 4px;
}

/* Search inputs for Putusan/Sengketa */
#key_putusan,
#key_sengketa {
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    transition: var(--transition);
}

#key_putusan:focus,
#key_sengketa:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* Pagination */
.pagination .page-item .page-link {
    color: var(--primary);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin: 0 3px;
    padding: 8px 14px;
    transition: var(--transition);
}

.pagination .page-item .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

/* === 7. FOOTER === */
footer {
    background: var(--primary-dark) !important;
    color: #fff;
    padding: 60px 0 30px;
}

footer .footer-inner {
    border: none;
}

footer p,
footer span,
footer a.footer-info {
    color: rgba(255, 255, 255, 0.85) !important;
}

footer a.footer-info:hover {
    color: #fff !important;
    text-decoration: underline;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 13px;
}

footer iframe {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

footer .social-icons .list-inline-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
    font-size: 16px;
}

footer .social-icons .list-inline-item a:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === 8. GENERAL UX IMPROVEMENTS === */

/* Consistent Section Spacing */
section {
    position: relative;
}

.main-content .row.gy-4 {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Better Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Smooth link transitions */
a {
    transition: color 0.2s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 1030;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Loading skeleton */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === 9. ACCESSIBILITY === */

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Minimum touch targets */
.nav-link,
.dropdown-item,
.btn,
.page-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Better contrast for body text */
body {
    color: #1a1a1a;
    line-height: 1.7;
}

/* === 10. RESPONSIVE === */
@media (max-width: 991.98px) {
    .header-default {
        position: sticky;
        top: 0;
    }

    .section-portal-mobile .contact-item {
        margin-bottom: 12px;
    }

    .hero-carousel .featured-post-xl .details .post-title a {
        font-size: 20px;
    }

    .main-content .nav-tabs .nav-link {
        padding: 8px 12px;
    }

    .main-content .nav-tabs .nav-link .section-title {
        font-size: 13px;
    }

    footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    footer iframe {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .form-control {
        padding: 12px 18px;
        font-size: 14px;
    }

    .section-portal-mobile .contact-item {
        padding: 16px;
    }

    .main-content .tabs-content {
        padding: 16px;
    }

    .main-content .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* Hide pagination on landing page */
.hero-carousel ~ .main-content .pagination,
.hero-carousel ~ .main-content .paginate-putusan,
.hero-carousel ~ .main-content .paginate-berita,
.hero-carousel ~ .main-content .paginate-sidang,
.hero-carousel ~ .main-content .paginate-release {
    display: none !important;
}

/* === SLICK DOTS Override === */
.slick-dots li button::before {
    color: var(--primary) !important;
}

.slick-dots li.slick-active button::before {
    color: var(--primary) !important;
}

/* === Buttons General === */
.btn-primary,
.btn-default {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-default:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

/* === Search Popup === */
.search-popup .btn {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
}

.search-popup .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

/* === Canvas Menu === */
.canvas-menu .vertical-menu li a:hover,
.canvas-menu .vertical-menu li.active a {
    color: var(--primary);
}

.canvas-menu .social-icons a:hover {
    color: var(--primary);
}

/* === TABLE STYLING === */

/* General table wrapper */
.table-responsive,
.main-content table,
table.table,
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

/* Table header */
table thead th,
table.dataTable thead th,
.table thead th {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
}

table thead th:first-child {
    border-top-left-radius: 12px;
}

table thead th:last-child {
    border-top-right-radius: 12px;
}

/* Table body */
table tbody td,
.table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 14px;
    vertical-align: middle;
    transition: var(--transition);
}

/* Zebra striping */
table tbody tr:nth-child(even),
.table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

table tbody tr:nth-child(odd),
.table tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* Row hover effect */
table tbody tr:hover td,
.table tbody tr:hover td,
table.dataTable tbody tr:hover td {
    background-color: rgba(var(--primary-rgb), 0.06) !important;
    color: #333;
}

/* Row hover left accent */
table tbody tr {
    transition: var(--transition);
    position: relative;
}

table tbody tr:hover {
    box-shadow: inset 4px 0 0 var(--primary);
}

/* Last row rounded corners */
table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* Number column styling */
table tbody td:first-child {
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    width: 50px;
}

/* DataTable specific overrides */
table.dataTable {
    border-radius: 12px;
    overflow: hidden;
}

table.dataTable thead th {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 18px;
    font-weight: 600;
}

table.dataTable tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.06) !important;
}

/* DataTable wrapper */
.dataTables_wrapper {
    padding: 16px 0;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    padding: 8px 16px;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 6px 12px;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--primary);
    outline: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: 1px solid #e8e8e8 !important;
    margin: 0 3px;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--gradient-primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

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

/* Responsive table on mobile */
@media (max-width: 767.98px) {
    table thead th,
    table tbody td,
    .table thead th,
    .table tbody td {
        padding: 10px 12px;
        font-size: 12px;
    }

    table thead th {
        font-size: 11px;
    }
}

/* === Bordered elements override === */
.bordered {
    border-color: #eee !important;
}

.bordered:hover {
    border-color: rgba(var(--primary-rgb), 0.2) !important;
}

/* === 11. PAGE CONTENT / PSI / POST SINGLE === */

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 4px 0;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active a {
    color: #666;
}

/* Post single content area */
.post-single .post-header .title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.post-single .post-content {
    padding: 0;
}

/* Hide br tags directly in post-content to reduce unwanted spacing */
.post-content > br,
.post-content > p:empty {
    display: none;
}

.post-content > p {
    margin-bottom: 8px;
}

/* Content table wrapper - auto-applied to tables inside post-content */
.post-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    margin: 16px 0 24px;
    font-size: 14px;
}

.post-content table thead th {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.post-content table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    border-left: none;
    border-right: none;
    color: #444;
    font-size: 13px;
    vertical-align: middle;
    line-height: 1.5;
}

.post-content table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.post-content table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.post-content table tbody tr:hover td {
    background-color: rgba(var(--primary-rgb), 0.06) !important;
}

.post-content table tbody tr:last-child td {
    border-bottom: none;
}

.post-content table tbody td:first-child {
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    width: 50px;
}

/* Reduce extra spacing in main-content for detail pages */
.main-content.mt-3 {
    margin-top: 0 !important;
    padding-top: 12px;
    padding-bottom: 40px;
}

.main-content .post-single {
    padding: 0;
}

/* === 12. TABLE SEARCH & PAGINATION (JS-enhanced) === */

/* Search box above table */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.table-search {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.table-search input {
    width: 100%;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    padding: 10px 20px 10px 42px;
    font-size: 14px;
    transition: var(--transition);
    background: #fff;
}

.table-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.table-search::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

.table-info {
    font-size: 13px;
    color: #666;
}

/* Pagination */
.table-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.table-pagination button {
    min-width: 38px;
    height: 38px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #555;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-pagination button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.table-pagination button.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.table-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.table-pagination button:disabled:hover {
    background: #fff;
    border-color: #e8e8e8;
    color: #555;
    box-shadow: none;
}

/* No results message */
.table-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.table-no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: #ddd;
}

@media (max-width: 767.98px) {
    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .table-search {
        max-width: 100%;
    }

    .table-pagination button {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .post-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
