/* Mobile Responsive Menu Styling (Jaisa image me hai) */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1280px!important;
    }
}
/* Mobile Responsive Styling for Custom Posts Table */
@media (max-width: 768px) {
    .copright {
    padding-bottom: 60px!important;
}
.btn-login {
    font-size: 12px!important;
    padding: 5px 8px!important;
}
.btn-join-us {
    font-size: 12px!important;
    padding: 5px 8px!important;
}
.breadcrumb {
    margin-top: 68px!important;
}
    .custom-posts-table thead {
        display: none; /* Mobile view mein table headers hide ho jayenge */
    }
    .custom-posts-table, .custom-posts-table tbody, .custom-posts-table tr, .custom-posts-table td {
        display: block;
        width: 100%;
    }
    .custom-posts-table tr {
        margin-bottom: 15px;
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .custom-posts-table td {
        text-align: right !important;
        padding: 8px 10px !important;
        border-bottom: 1px solid #f1f1f1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .custom-posts-table td:last-child {
        border-bottom: none;
    }
    .custom-posts-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #6c757d;
        text-align: left;
    }
    .custom-posts-table .post-table-title {
        max-width: 100% !important;
        text-align: right;
    }
}
@media (max-width: 991.98px) {
/* Professional Table & Mobile Responsiveness Styles */

.custom-data-table {
    width: 100%;
    margin-bottom: 0;
    white-space: nowrap;
}

.custom-data-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
}

.custom-data-table td {
    padding: 12px 15px;
    vertical-align: middle;
    color: #495057;
    font-size: 0.95rem;
}

/* Modal Content Styling */
.modal-content-custom {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header-custom {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-body-scroll {
    max-height: 300px;
    overflow-y: auto;
}

/* Editor Specific Styling */
.quill-editor-box {
    height: 250px;
    background-color: #fff;
}

/* Responsive Card Layout for Mobile Screens */
@media screen and (max-width: 992px) {
    .custom-data-table, 
    .custom-data-table tbody, 
    .custom-data-table tr, 
    .custom-data-table td {
        display: block;
        width: 100%;
    }

    .custom-data-table thead {
        display: none; /* Hide standard headers on small screens */
    }

    .custom-data-table tr {
        margin-bottom: 1rem;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        padding: 12px;
    }

    .custom-data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px solid #f1f1f1;
        white-space: normal;
    }

    .custom-data-table td:last-child {
        border-bottom: none;
    }

    /* Add dynamic labels before data cells using data-title attribute */
    .custom-data-table td::before {
        content: attr(data-title);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: #6c757d;
        text-align: left;
    }
}
.show-on-desktop {
        display: none !important;
    }

    .show-on-mobile {
        display: block !important;
    }
    .main-header {
        padding: 2px 0;
    }
    
    .brand-logo img {
        height: 30px;
    }

    /* Mobile Collapse Menu Box Styling */
    .navbar-collapse {
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #eaeaea;
    }

    .navbar-nav .nav-item {
        margin: 6px 0;
    }

    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: #fff0f5;
    }

    .navbar-nav .nav-link.active::after {
        display: none; /* Mobile mein bottom active line hata kar background highlight denge */
    }
}

@media (max-width: 575.98px) {
    .custom-search-group {
        width: 100%;
    }
}
/* Mobile screen par banner hide karne ke liye */
@media (max-width: 767.98px) {
    .hero-banner-section {
        display: none;
    }
	.mobile-only-banner-section {
        display: block;
    }
}
/* Desktop view mein categories ke beech vertical divider lines */
@media (min-width: 992px) {
    .category-col:not(:last-child) {
        border-right: 1px solid #e5e5e5;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1240px;
    }
}
/* Responsive Mobile Bottom Menu and Toggle Behavior */
@media (max-width: 991px) {
    #mainDashboardSidebar {
        position: fixed;
        bottom: 70px;
        left: 15px;
        right: 15px;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 1050;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        display: none; /* Hidden by default on mobile */
        border-radius: 16px;
    }

    #mainDashboardSidebar.mobile-menu-open {
        display: block !important;
    }

    .mobile-bottom-bar {
        z-index: 1060;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }
}
