* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #111;
    font-size: 15px;
}

a {
    text-decoration: none;
}

/* Login Page */
.login-body {
    min-height: 100vh;
    background: #fff;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

.login-left {
    width: 50%;
    background: #050505;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.brand-box {
    max-width: 420px;
    text-align: center;
}

.login-logo {
    max-width: 190px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.brand-box h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.brand-box p {
    font-size: 18px;
    color: #d6d6d6;
}

.login-right {
    width: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.login-logo-small {
    max-width: 120px;
    width: 100%;
    height: auto;
}

.login-card h3 {
    font-weight: 800;
    color: #111;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
}

.form-control,
.input-group-text {
    min-height: 48px;
    border-color: #dcdcdc;
}

.form-control:focus {
    border-color: #111;
    box-shadow: none;
}

.login-btn {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 700;
}

.login-help {
    text-align: center;
    color: #777;
}

/* Dashboard Layout */
.app-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #f4f4f4;
}

.sidebar {
    width: 270px;
    min-height: 100vh;
    background: #050505;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    overflow-y: auto;
}

.sidebar-brand {
    min-height: 86px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.sidebar-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.sidebar-brand h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.sidebar-brand small {
    color: #cfcfcf;
    font-size: 12px;
}

.sidebar-menu {
    padding: 14px 12px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    color: #e8e8e8;
    border-radius: 12px;
    margin-bottom: 5px;
    font-weight: 600;
    transition: 0.2s;
    font-size: 15px;
}

.sidebar-menu a i {
    font-size: 18px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #fff;
    color: #050505;
}

.sidebar-menu .logout-link {
    margin-top: 20px;
    background: rgba(255,255,255,0.08);
}

.main-content {
    width: calc(100% - 270px);
    margin-left: 270px;
    min-height: 100vh;
}

.topbar {
    min-height: 86px;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar h4 {
    font-weight: 800;
    color: #111;
    font-size: 22px;
}

.topbar small {
    color: #777;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}

.topbar-user strong,
.topbar-user small {
    display: block;
}

.topbar-user strong {
    font-size: 14px;
}

.topbar-user small {
    font-size: 12px;
}

.content-area {
    padding: 28px;
}

.welcome-card {
    border-radius: 24px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-card {
    background: #050505;
    color: #fff;
}

.welcome-card h2 {
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 28px;
}

.welcome-card p {
    margin: 0;
    color: #d7d7d7;
    font-size: 15px;
}

.welcome-card > i {
    font-size: 70px;
    opacity: 0.3;
}

.stat-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 130px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.stat-card h3 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 5px;
    color: #111;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-weight: 600;
}

.stat-card i {
    font-size: 42px;
    color: #111;
    opacity: 0.7;
}

.table-card {
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.table-card .card-header {
    padding: 18px 22px;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
}

.badge {
    padding: 7px 10px;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: #050505;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 22px;
}

/* Mobile Login */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        width: 100%;
        min-height: 220px;
        padding: 30px 20px;
    }

    .brand-box h1 {
        font-size: 28px;
    }

    .brand-box p {
        font-size: 14px;
    }

    .login-logo {
        max-width: 130px;
        margin-bottom: 15px;
    }

    .login-right {
        width: 100%;
        padding: 25px 15px;
    }

    .login-card {
        padding: 25px 18px;
        border-radius: 18px;
        box-shadow: none;
    }
}

/* Mobile Dashboard */
@media (max-width: 991px) {
    .sidebar {
        left: -280px;
        transition: 0.25s;
    }

    .sidebar.show {
        left: 0;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar {
        padding: 14px 16px;
        gap: 15px;
    }

    .topbar-user {
        display: none;
    }

    .content-area {
        padding: 18px;
    }

    .welcome-card {
        padding: 22px;
    }

    .welcome-card > i {
        display: none;
    }
}
.page-heading h3 {
    font-weight: 900;
    margin-bottom: 5px;
}

.page-heading p {
    color: #666;
    margin: 0;
}

.release-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.step-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    color: #333;
}

.step-item.active {
    background: #050505;
    color: #fff;
    border-color: #050505;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.store-box {
    width: 100%;
    min-height: 55px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 14px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
}

.store-box input {
    width: 18px;
    height: 18px;
}

.review-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-item {
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 12px;
    padding: 12px;
}

.review-item strong {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.review-item span {
    font-weight: 700;
    color: #111;
    word-break: break-word;
}

@media (max-width: 768px) {
    .release-steps {
        grid-template-columns: 1fr;
    }

    .review-box {
        grid-template-columns: 1fr;
    }
}

/* Create Release Wizard V2 */
.release-wizard {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr 45px 1fr 45px 1fr 45px 1fr;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.wizard-step {
    border: none;
    background: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.wizard-step.active {
    border-bottom-color: #0d6efd;
}

.wizard-number {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #e9ecef;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.wizard-step.active .wizard-number {
    background: #0d6efd;
    color: #fff;
}

.wizard-text b {
    display: block;
    font-size: 16px;
    color: #111;
}

.wizard-text small {
    display: block;
    color: #777;
    margin-top: 4px;
}

.wizard-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    background: #fff;
    font-size: 20px;
}

/* Very Important: only active section visible */
.form-step {
    display: none !important;
}

.form-step.active {
    display: block !important;
}

/* Better Form UI */
.form-control,
.form-select {
    min-height: 46px;
}

.table-card {
    border-radius: 14px;
}

.store-box {
    width: 100%;
    min-height: 58px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 12px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
}

.store-box input {
    width: 18px;
    height: 18px;
}

.review-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.review-item {
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 12px;
    padding: 12px;
}

.review-item strong {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.review-item span {
    font-weight: 700;
    color: #111;
    word-break: break-word;
}

@media (max-width: 991px) {
    .release-wizard {
        grid-template-columns: 1fr;
    }

    .wizard-arrow {
        display: none;
    }

    .wizard-step {
        border-bottom: 1px solid #eee;
    }

    .wizard-step.active {
        border-left: 4px solid #0d6efd;
        border-bottom: 1px solid #eee;
    }

    .review-box {
        grid-template-columns: 1fr;
    }
}

.table-artwork {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.release-detail-artwork {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
    border: 1px solid #ddd;
    object-fit: cover;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 13px;
}

.detail-item strong {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.detail-item span {
    display: block;
    font-weight: 700;
    color: #111;
    word-break: break-word;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

.upload-progress-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
}

.upload-progress-box small {
    font-weight: 700;
    color: #555;
}

.progress {
    height: 24px;
    border-radius: 20px;
    overflow: hidden;
    background: #e9ecef;
}

.progress-bar {
    background: #050505;
    font-weight: 800;
    font-size: 12px;
}

/* Admin/User Table Artwork Fix */
.table-artwork {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    min-width: 55px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    display: block !important;
}

.table td img.table-artwork {
    width: 55px !important;
    height: 55px !important;
}

/* Modal detail artwork अलग रहेगा */
.release-detail-artwork {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    border-radius: 18px !important;
    border: 1px solid #ddd !important;
    object-fit: cover !important;
}

/* Table text compact */
.table td,
.table th {
    vertical-align: middle !important;
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
}

.service-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.service-form-box {
    display: none;
}

.service-form-box.active {
    display: block;
}

.profile-preview-img {
    width: 130px !important;
    height: 130px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #050505 !important;
    background: #fff !important;
}

.store-icons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.store-pill i {
    font-size: 17px;
}

.review-item-full {
    grid-column: 1 / -1;
}

.bank-small-box {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.report-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.report-card small {
    color: #666;
    font-weight: 700;
}

.report-period h4 {
    font-weight: 900;
    margin: 5px 0 18px;
}

.report-amount h3 {
    font-weight: 900;
    margin: 5px 0 18px;
}


/* Pagination UI */
.pagination-box {
    width: 100%;
    padding: 14px 18px;
    border-top: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: #ffffff;
}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rows-per-page-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rows-per-page-form label {
    font-size: 13px;
    font-weight: 800;
    color: #333333;
    margin: 0;
}

.rows-per-page-form select {
    min-height: 36px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 5px 28px 5px 10px;
    font-size: 13px;
    font-weight: 700;
    background: #ffffff;
    color: #111111;
}

.pagination-summary {
    font-size: 13px;
    color: #666666;
    font-weight: 600;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.page-link-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.page-link-btn:hover,
.page-link-btn.active {
    background: #050505;
    border-color: #050505;
    color: #ffffff;
}

.page-dots {
    min-width: 28px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-weight: 800;
}

@media (max-width: 768px) {
    .pagination-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination-pages {
        width: 100%;
    }

    .page-link-btn {
        min-width: 34px;
        height: 34px;
    }
}


/* =========================================================
   GLOBAL UNIFIED PAGINATION SYSTEM
   This section forces all admin/user pagination footers to use
   one visual style, including old Bootstrap pagination markup.
========================================================= */
.pagination-box,
.table-card > .card-body.border-top.bg-white {
    width: 100%;
    padding: 14px 18px !important;
    border-top: 1px solid #eeeeee !important;
    background: #ffffff !important;
}

.pagination-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.table-card > .card-body.border-top.bg-white > .d-flex {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.pagination-left,
.table-card > .card-body.border-top.bg-white > .d-flex > form {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    order: 1;
}

.table-card > .card-body.border-top.bg-white > .d-flex > .small.text-muted {
    order: 2;
    margin: 0 !important;
    font-size: 13px !important;
    color: #666666 !important;
    font-weight: 600 !important;
}

.table-card > .card-body.border-top.bg-white > .d-flex > nav {
    order: 3;
    margin-left: auto !important;
}

.rows-per-page-form label,
.table-card > .card-body.border-top.bg-white label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #333333 !important;
    margin: 0 !important;
}

.rows-per-page-form select,
.table-card > .card-body.border-top.bg-white select.form-select,
.table-card > .card-body.border-top.bg-white select.form-select-sm {
    width: auto !important;
    min-width: 78px !important;
    min-height: 36px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 10px !important;
    padding: 5px 28px 5px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
}

.pagination-summary {
    font-size: 13px;
    color: #666666;
    font-weight: 600;
}

.pagination-pages,
.pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination .page-item {
    margin: 0 !important;
}

.pagination .page-item.disabled {
    display: none !important;
}

.page-link-btn,
.pagination .page-link {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    border: 1px solid #dcdcdc !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: 0.2s ease !important;
}

.page-link-btn:hover,
.page-link-btn.active,
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: #050505 !important;
    border-color: #050505 !important;
    color: #ffffff !important;
}

.page-dots {
    min-width: 28px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    font-weight: 800;
}

@media (max-width: 768px) {
    .pagination-box,
    .table-card > .card-body.border-top.bg-white > .d-flex {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .pagination-pages,
    .pagination,
    .table-card > .card-body.border-top.bg-white > .d-flex > nav {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .page-link-btn,
    .pagination .page-link {
        min-width: 34px !important;
        height: 34px !important;
    }
}

/* =========================================================
   CDM HARD UNIFIED PAGINATION OVERRIDE
   Keep this block at the very end of style.css.
========================================================= */
.pagination-box,
.cdm-pagination-footer,
.card-footer:has(.pagination),
.card-body:has(.pagination) {
    width: 100% !important;
    padding: 14px 18px !important;
    border-top: 1px solid #eeeeee !important;
    background: #ffffff !important;
}

.pagination-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.pagination-left,
.cdm-pagination-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
}

.rows-per-page-form,
.cdm-rows-form {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    order: 1 !important;
}

.pagination-summary,
.cdm-pagination-summary {
    font-size: 13px !important;
    color: #666666 !important;
    font-weight: 600 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    order: 2 !important;
}

.pagination-pages,
.cdm-pagination-nav,
.pagination {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    order: 3 !important;
}

.rows-per-page-form label,
.cdm-rows-form label,
.cdm-pagination-footer label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #222222 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.rows-per-page-form select,
.cdm-rows-form select,
.cdm-pagination-footer select,
.cdm-pagination-footer .form-select,
.cdm-pagination-footer .form-select-sm {
    width: auto !important;
    min-width: 78px !important;
    min-height: 36px !important;
    height: 36px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 10px !important;
    padding: 5px 28px 5px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
}

.pagination .page-item {
    margin: 0 !important;
}

.pagination .page-item.disabled {
    display: none !important;
}

.page-link-btn,
.pagination .page-link,
.cdm-page-link {
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    border: 1px solid #dcdcdc !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: 0.2s ease !important;
}

.page-link-btn:hover,
.page-link-btn.active,
.pagination .page-link:hover,
.pagination .page-item.active .page-link,
.cdm-page-link:hover,
.cdm-page-link.active {
    background: #050505 !important;
    border-color: #050505 !important;
    color: #ffffff !important;
}

.page-dots {
    min-width: 28px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #777777 !important;
    font-weight: 800 !important;
}

@media (max-width: 768px) {
    .pagination-box,
    .pagination-left,
    .cdm-pagination-flex {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .pagination-pages,
    .cdm-pagination-nav,
    .pagination {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    .page-link-btn,
    .pagination .page-link,
    .cdm-page-link {
        min-width: 34px !important;
        height: 34px !important;
    }
}


/* =========================================================
   DASHBOARD PREMIUM STABILITY SYSTEM
   Safe global polish for admin/user dashboards and mobile layout.
========================================================= */
body.sidebar-open {
    overflow: hidden;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
}

.dashboard-content-area {
    max-width: 1480px;
    margin: 0 auto;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 30px;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.dashboard-hero::before {
    content: "";
    position: absolute;
    right: -95px;
    top: -95px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    right: 120px;
    bottom: -110px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
}

.dashboard-hero-content,
.dashboard-hero-icon {
    position: relative;
    z-index: 1;
}

.dashboard-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f2f2f2;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.dashboard-hero h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
}

.dashboard-hero p {
    color: #d7d7d7;
    margin: 0;
    max-width: 680px;
    line-height: 1.65;
    font-size: 15px;
}

.dashboard-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.dashboard-hero-actions .btn {
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 800;
}

.dashboard-hero-icon {
    width: 112px;
    height: 112px;
    min-width: 112px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-hero-icon i {
    font-size: 58px;
    color: #ffffff;
    opacity: 0.92;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    padding: 20px;
    min-height: 136px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    border-color: #d8d8d8;
}

.dashboard-stat-card h3 {
    margin: 0 0 4px;
    color: #050505;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

.dashboard-stat-card p {
    margin: 0;
    color: #222222;
    font-weight: 900;
    font-size: 14px;
}

.dashboard-stat-card small {
    display: block;
    color: #777777;
    font-weight: 700;
    margin-top: 6px;
    line-height: 1.4;
}

.dashboard-stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 15px;
    background: #f3f3f3;
    color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-stat-icon i {
    font-size: 22px;
}

.dashboard-stat-card-dark {
    background: #050505;
    border-color: #050505;
    color: #ffffff;
}

.dashboard-stat-card-dark h3,
.dashboard-stat-card-dark p {
    color: #ffffff;
}

.dashboard-stat-card-dark small {
    color: #d1d1d1;
}

.dashboard-stat-card-dark .dashboard-stat-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.dashboard-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 18px;
    align-items: start;
}

.dashboard-panel {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
}

.dashboard-panel-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.dashboard-panel-header h5 {
    margin: 0;
    color: #111111;
    font-weight: 900;
}

.dashboard-panel-header p {
    margin: 4px 0 0;
    color: #777777;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-action-grid {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-action-card {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 16px;
    background: #fbfbfb;
    color: #111111;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 128px;
    transition: 0.2s ease;
}

.dashboard-action-card:hover {
    background: #050505;
    border-color: #050505;
    color: #ffffff;
    transform: translateY(-2px);
}

.dashboard-action-card i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #ffffff;
    color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid #eeeeee;
}

.dashboard-action-card span {
    font-weight: 900;
    line-height: 1.3;
}

.dashboard-action-card small {
    color: #777777;
    font-weight: 600;
    line-height: 1.5;
}

.dashboard-action-card:hover small {
    color: #d9d9d9;
}

.dashboard-mini-list {
    padding: 10px 18px 18px;
}

.dashboard-mini-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #eeeeee;
}

.dashboard-mini-item:last-child {
    border-bottom: none;
}

.dashboard-mini-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #f3f3f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #050505;
}

.dashboard-mini-icon i {
    font-size: 20px;
}

.dashboard-mini-body {
    min-width: 0;
}

.dashboard-mini-body strong,
.dashboard-mini-body span,
.dashboard-mini-body small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-mini-body strong {
    color: #111111;
    font-weight: 900;
    margin-bottom: 3px;
}

.dashboard-mini-body span {
    color: #555555;
    font-weight: 700;
    font-size: 13px;
}

.dashboard-mini-body small {
    color: #888888;
    font-weight: 600;
    margin-top: 2px;
}

.dashboard-mini-status {
    text-align: right;
}

.dashboard-empty-state {
    padding: 30px 15px;
    text-align: center;
    color: #777777;
}

.dashboard-empty-state i {
    display: block;
    font-size: 36px;
    color: #111111;
    opacity: 0.45;
    margin-bottom: 10px;
}

.dashboard-empty-state p {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .sidebar {
        box-shadow: 18px 0 45px rgba(0, 0, 0, 0.18);
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 900;
    }

    .dashboard-content-area {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-hero {
        padding: 24px;
        min-height: auto;
        align-items: flex-start;
    }

    .dashboard-hero h2 {
        font-size: 25px;
    }

    .dashboard-hero p {
        font-size: 14px;
    }

    .dashboard-hero-icon {
        display: none;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-stat-card {
        min-height: auto;
        padding: 16px;
    }

    .dashboard-stat-card h3 {
        font-size: 26px;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .dashboard-action-card {
        min-height: auto;
    }

    .dashboard-mini-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .dashboard-mini-status {
        grid-column: 1 / -1;
        text-align: left;
        padding-left: 54px;
    }

    .dashboard-panel-header {
        padding: 16px;
    }

    .dashboard-mini-list {
        padding: 8px 16px 16px;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 14px;
    }

    .dashboard-hero {
        border-radius: 20px;
        padding: 20px;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-stat-card,
    .dashboard-panel {
        border-radius: 18px;
    }
}

/* =========================================================
   CLEAN PROFESSIONAL DASHBOARD QUICK ACTIONS
   Add this block at the very bottom of style.css
========================================================= */

.content-area.dashboard-clean-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 26px 28px !important;
}

.dashboard-shell,
.dashboard-container,
.dashboard-premium-shell,
.dashboard-premium-wrap,
.dashboard-main,
.dashboard-overview,
.dashboard-clean-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.dashboard-action-head {
    width: 100%;
    background: #050505;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px 26px;
    margin-bottom: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    overflow: hidden;
    position: relative;
}

.dashboard-action-head::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}

.dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.dashboard-action-head h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.dashboard-action-head p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.6;
    max-width: 760px;
}

.dashboard-action-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-action-card {
    position: relative;
    width: 100%;
    min-height: 150px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    padding: 20px 48px 20px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #111111;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.dashboard-action-card:hover {
    color: #111111;
    transform: translateY(-3px);
    border-color: #cfcfcf;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.dashboard-action-card-dark {
    background: #050505;
    color: #ffffff;
    border-color: #050505;
}

.dashboard-action-card-dark:hover {
    color: #ffffff;
    border-color: #050505;
}

.dashboard-action-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 15px;
    background: #f3f3f3;
    color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.dashboard-action-card-dark .dashboard-action-icon {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

.dashboard-action-card h5 {
    margin: 2px 0 7px;
    color: inherit;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
}

.dashboard-action-card p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.dashboard-action-card-dark p {
    color: rgba(255,255,255,0.78);
}

.dashboard-action-arrow {
    position: absolute;
    right: 18px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.18s ease;
}

.dashboard-action-card:hover .dashboard-action-arrow {
    background: #050505;
    color: #ffffff;
    border-color: #050505;
}

.dashboard-action-card-dark .dashboard-action-arrow {
    border-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

.dashboard-action-card-dark:hover .dashboard-action-arrow {
    background: #ffffff;
    color: #050505;
    border-color: #ffffff;
}

/* Desktop wide screens */
@media (min-width: 1400px) {
    .dashboard-action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 1199px) {
    .dashboard-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .content-area.dashboard-clean-page {
        padding: 16px !important;
    }

    .dashboard-action-head {
        border-radius: 17px;
        padding: 22px 18px;
        margin-bottom: 14px;
    }

    .dashboard-action-head h2 {
        font-size: 24px;
    }

    .dashboard-action-head p {
        font-size: 14px;
    }

    .dashboard-action-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dashboard-action-card {
        min-height: auto;
        padding: 17px 44px 17px 16px;
        border-radius: 16px;
    }

    .dashboard-action-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 19px;
        border-radius: 13px;
    }

    .dashboard-action-card h5 {
        font-size: 16px;
    }

    .dashboard-action-card p {
        font-size: 13px;
    }

    .dashboard-action-arrow {
        right: 14px;
        top: 17px;
        width: 30px;
        height: 30px;
    }
}