.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

tbody, th {
    text-wrap-mode: nowrap;
}

.table td {
    word-wrap: break-word;
    white-space: normal;
    max-width: 400px;
}

body.login-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #2563eb 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

body.login-page .c-app {
    min-height: 100vh;
}

.login-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.login-shape {
    position: absolute;
    border-radius: 999px;
    opacity: .55;
    animation: login-float 18s ease-in-out infinite;
}

.login-shape.shape-1 {
    width: 520px;
    height: 520px;
    top: -140px;
    left: -160px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .45), rgba(14, 116, 244, .55));
}

.login-shape.shape-2 {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -100px;
    background: radial-gradient(circle at 20% 40%, rgba(59, 130, 246, .4), rgba(99, 102, 241, .55));
    animation-delay: -6s;
}

.login-shape.shape-3 {
    width: 280px;
    height: 280px;
    top: 40%;
    right: 35%;
    background: radial-gradient(circle at 40% 40%, rgba(59, 130, 246, .35), rgba(14, 165, 233, .55));
    animation-delay: -12s;
}

@keyframes login-float {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(20px, -25px, 0) scale(1.05);
    }
    66% {
        transform: translate3d(-25px, 15px, 0) scale(.96);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.login-wrapper {
    max-width: 960px;
    margin: 2rem auto;
    position: relative;
    z-index: 1;
}

.login-locale-switcher {
    margin-bottom: 1.5rem;
}

.login-locale-dropdown {
    position: relative;
}

.login-locale-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1.2rem;
    background: rgba(15, 23, 42, .15);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: all .2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-locale-toggle i {
    font-size: .85rem;
}

.login-locale-toggle:hover,
.login-locale-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, .6);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 10px 20px -18px rgba(37, 99, 235, .95);
}

.login-locale-icon {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(59, 130, 246, .65));
    color: #fff;
}

.login-locale-menu {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    min-width: 12rem;
    padding: .5rem;
    background: rgba(255, 255, 255, .9);
    border-radius: 1rem;
    border: 1px solid rgba(241, 245, 249, .9);
    box-shadow: 0 24px 40px -32px rgba(15, 23, 42, .45);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 100;
}

.login-locale-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.login-locale-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem .75rem;
    border-radius: .8rem;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.login-locale-menu a i {
    color: #16a34a;
}

.login-locale-menu a:hover {
    background-color: rgba(59, 130, 246, .12);
    color: #1d4ed8;
}

.login-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(244, 247, 255, .92));
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: 0 30px 60px -35px rgba(15, 23, 42, .55), 0 18px 35px -25px rgba(37, 99, 235, .35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.login-visual {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05) 55%, transparent 75%);
    background-color: rgba(15, 23, 42, .92);
    color: #e2e8f0;
}

.login-visual-content {
    max-width: 20rem;
}

.login-tagline {
    letter-spacing: .24rem;
    font-weight: 600;
    opacity: .75;
}

.login-form {
    background-color: #fff;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.login-subtitle {
    font-size: .95rem;
}

.login-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .35), transparent);
}

.login-metrics {
    padding-left: 0;
    margin-bottom: 0;
}

.login-metrics li + li {
    margin-top: 1.25rem;
}

.login-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(59, 130, 246, .6));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e0f2fe;
    font-size: 1.15rem;
    box-shadow: 0 12px 24px -18px rgba(14, 165, 233, .8);
}

.login-metrics strong {
    color: #e2e8f0;
    font-weight: 600;
}

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #475569;
    font-size: 1rem;
}

.login-input-wrapper .form-control {
    padding-left: 2.75rem;
    border-radius: .85rem;
    border-color: #e2e8f0;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
    transition: all .2s ease;
}

.login-input-wrapper .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
}

.login-forgot-link {
    font-weight: 600;
    color: #2563eb;
}

.login-forgot-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.login-actions .btn-primary {
    border-radius: .85rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 16px 30px -22px rgba(37, 99, 235, .95);
}

.login-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px -12px rgba(37, 99, 235, .8);
}

.login-actions .btn-primary i {
    font-size: 1.05rem;
}

.login-help {
    font-size: .9rem;
}

.login-help i {
    color: #6366f1;
}

@media (max-width: 991.98px) {
    .login-wrapper {
        margin: 1.5rem auto;
    }

    .login-card {
        border-radius: 1.25rem;
    }

    .login-background {
        opacity: .65;
    }

    .login-visual {
        padding: 3rem 1.5rem;
    }

    .login-locale-switcher {
        margin-bottom: 1.25rem;
    }

    .login-locale-menu {
        right: auto;
        left: 0;
    }
}

@media (max-width: 575.98px) {
    .login-wrapper {
        margin: 1rem auto;
    }

    .login-form {
        padding: 2rem 1.5rem !important;
    }

    .login-actions .btn-primary {
        font-size: 1rem;
    }

    .login-help {
        font-size: .85rem;
    }

    .login-locale-switcher {
        justify-content: flex-start !important;
    }

    .login-locale-toggle {
        width: 100%;
        justify-content: space-between;
        padding: .65rem 1rem;
    }
}

.custom-icon-color {
    color: #60a5fa !important;
}

#sidebar.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    box-shadow: 6px 0 24px -18px rgba(15, 23, 42, .55);
    border-right: none;
    color: #e2e8f0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .3) transparent;
}

/* Kill Perfect Scrollbar on sidebar */
#sidebar.admin-sidebar.ps {
    overflow: auto !important;
}

#sidebar .ps__rail-x,
#sidebar .ps__rail-y {
    display: none !important;
}

/* RTL: sidebar on right, push content left */
html[dir="rtl"] .c-wrapper {
    margin-right: 256px !important;
    margin-left: 0 !important;
}

html[dir="rtl"] #sidebar.c-sidebar {
    right: 0;
    left: auto;
}

/* LTR fallback */
html[dir="ltr"] .c-wrapper,
html:not([dir]) .c-wrapper {
    margin-left: 256px !important;
    margin-right: 0 !important;
}

#sidebar.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

#sidebar.admin-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .3);
    border-radius: 10px;
}

#sidebar.admin-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, .5);
}

#sidebar.admin-sidebar .c-sidebar-nav {
    padding: 0 1.25rem 1.5rem;
}

.admin-sidebar__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, .35), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, .3), transparent 60%);
    opacity: .9;
}

.admin-sidebar > *:not(.admin-sidebar__gradient) {
    position: relative;
    z-index: 1;
}

.admin-sidebar__brand {
    padding: 1.75rem 1.5rem 1rem;
}

.admin-sidebar__brand-text {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: inherit;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-sidebar__brand-text:hover {
    text-decoration: none;
    color: #bfdbfe;
}

.admin-sidebar__brand-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .9rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, .35), rgba(96, 165, 250, .85));
    color: #0f172a;
    font-size: 1.1rem;
    box-shadow: 0 12px 30px -18px rgba(59, 130, 246, .85);
}

.admin-sidebar__brand-label {
    font-size: .95rem;
}

.admin-sidebar__brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: .95rem;
    background: rgba(15, 23, 42, .35);
    box-shadow: 0 12px 28px -20px rgba(15, 23, 42, .8);
    overflow: hidden;
}

.admin-sidebar__brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.admin-sidebar__profile {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 1.5rem 1.5rem;
    padding: 1.25rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, .2);
}

.admin-sidebar__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(59, 130, 246, .7));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #e2e8f0;
    font-size: 1.2rem;
    box-shadow: 0 16px 35px -22px rgba(37, 99, 235, .85);
}

.admin-sidebar__profile-name {
    font-weight: 600;
    font-size: 1rem;
}

.admin-sidebar__profile-role,
.admin-sidebar__profile-email {
    display: block;
    font-size: .78rem;
    line-height: 1.2;
    opacity: .75;
    color: #cbd5f5;
}

.admin-sidebar__search {
    padding: 0 1.5rem 1rem;
}

.admin-sidebar__search-field {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, .5);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .2);
    padding: .65rem 1rem .65rem 2.5rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.admin-sidebar__search-field i {
    position: absolute;
    left: 1rem;
    font-size: .95rem;
    color: #94a3b8;
}

.admin-sidebar__search-field input {
    width: 100%;
    border: none;
    background: transparent;
    color: #e2e8f0;
    font-size: .9rem;
}

.admin-sidebar__search-field input::placeholder {
    color: rgba(148, 163, 184, .8);
}

.admin-sidebar__search-field:focus-within {
    border-color: rgba(96, 165, 250, .65);
    box-shadow: 0 12px 30px -24px rgba(59, 130, 246, .85);
}

.admin-surface {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem 1.75rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, .85), rgba(15, 23, 42, .88));
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 28px 45px -40px rgba(15, 23, 42, .9);
}

.admin-page-header__meta {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-width: 640px;
}

.admin-page-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, .75);
    font-weight: 600;
}

.admin-page-header__icon {
    font-size: 1rem;
    color: #93c5fd;
}

.admin-page-header__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.admin-page-header__description {
    margin: 0;
    color: rgba(226, 232, 240, .8);
    font-size: .95rem;
    line-height: 1.6;
}

.admin-page-header__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.admin-action-button {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1.3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 18px 38px -28px rgba(37, 99, 235, .9);
    color: #f8fafc;
    font-weight: 600;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.admin-action-button:hover,
.admin-action-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 24px 45px -28px rgba(37, 99, 235, .95);
    color: #fff;
}

.admin-action-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .75rem;
    background: rgba(248, 250, 252, .15);
}

.admin-action-button__icon i {
    font-size: .95rem;
}

.admin-action-button__label {
    font-size: .95rem;
}

.admin-table-card {
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 24px 42px -36px rgba(15, 23, 42, .75);
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, .16), rgba(14, 165, 233, .12)),
        linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .88));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.admin-table-card__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.75rem 0;
    color: rgba(226, 232, 240, .88);
    font-size: .92rem;
    flex-wrap: wrap;
}

.admin-table-card__summary {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.admin-table-card__summary i {
    color: #60a5fa;
}

.admin-table-card__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.admin-table-card__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: .6rem;
}

.admin-table-card__controls > * {
    margin: 0 !important;
}

.admin-table-card__controls .dataTables_length,
.admin-table-card__controls .dataTables_filter {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.admin-table-card__controls .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1.15rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(148, 163, 184, .12), rgba(148, 163, 184, .05));
}

.admin-table thead th {
    background: rgba(30, 41, 59, .86);
    color: rgba(226, 232, 240, .9);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
    padding: .95rem .9rem;
}

.admin-table tbody td {
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    color: rgba(226, 232, 240, .88);
    font-size: .92rem;
    padding: .85rem .9rem;
    vertical-align: middle;
    background: linear-gradient(135deg, rgba(15, 23, 42, .65), rgba(15, 23, 42, .6));
}

.admin-table tbody tr:hover {
    background: rgba(59, 130, 246, .12);
}

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

.admin-table .btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    box-shadow: 0 16px 30px -26px rgba(15, 23, 42, .85);
}

.admin-table .btn i {
    font-size: .85rem;
}

.admin-table .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #f8fafc;
}

.admin-table .btn-info {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: #f8fafc;
}

.admin-table .btn-warning {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #0f172a;
}

.admin-table .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fdf2f8;
}

.admin-table .btn-secondary,
.admin-table .btn-outline-secondary {
    background: linear-gradient(135deg, rgba(148, 163, 184, .65), rgba(148, 163, 184, .4));
    color: #0f172a;
}

.admin-table .btn:hover,
.admin-table .btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 20px 35px -24px rgba(59, 130, 246, .9);
    color: inherit;
}

.admin-table .btn.btn-sm,
.admin-table .btn.btn-xs {
    padding: .4rem .75rem;
    font-size: .75rem;
}

.admin-table .btn.btn-link {
    background: transparent;
    color: #93c5fd;
    padding: .35rem .6rem;
    box-shadow: none;
}

.admin-table .btn.btn-link:hover,
.admin-table .btn.btn-link:focus {
    color: #bfdbfe;
    transform: none;
}

.admin-table .btn + .btn {
    margin-left: .35rem;
}

.admin-table-card .dt-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    background: rgba(59, 130, 246, .12);
    color: rgba(226, 232, 240, .9);
    border: 1px solid rgba(59, 130, 246, .35);
    font-weight: 600;
    padding: .38rem .9rem;
    min-height: 2.05rem;
    letter-spacing: .05em;
    line-height: 1.05;
}

.admin-table-card .dt-buttons .btn:hover {
    background: rgba(59, 130, 246, .2);
}

.admin-table-card .dataTables_wrapper .dataTables_paginate {
    margin-top: 1.4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 .8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    color: rgba(226, 232, 240, .85);
    background: rgba(15, 23, 42, .6);
    font-size: .85rem;
    font-weight: 600;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    box-shadow: 0 18px 36px -32px rgba(15, 23, 42, .85);
    cursor: pointer;
}

.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button:focus {
    color: #f8fafc;
    border-color: rgba(96, 165, 250, .55);
    background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(37, 99, 235, .35));
    transform: translateY(-1px);
}

.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #0f172a;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    border-color: transparent;
    box-shadow: 0 22px 38px -28px rgba(37, 99, 235, .9);
    transform: translateY(-1px);
}

.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.admin-table-card .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: rgba(148, 163, 184, .45) !important;
    background: rgba(15, 23, 42, .45) !important;
    border-color: rgba(148, 163, 184, .25) !important;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.admin-table-card .dataTables_wrapper .dataTables_length,
.admin-table-card .dataTables_wrapper .dataTables_filter,
.admin-table-card .dataTables_wrapper .dataTables_info {
    color: rgba(226, 232, 240, .78);
    font-weight: 500;
}

.admin-table-card .dataTables_wrapper .dataTables_info {
    margin-top: 1.1rem;
}

.admin-table-card .dataTables_wrapper .dataTables_length label,
.admin-table-card .dataTables_wrapper .dataTables_filter label {
    color: rgba(226, 232, 240, .8);
    font-weight: 500;
}

html[dir='rtl'] .admin-table-card .dataTables_wrapper .dataTables_length,
html[dir='rtl'] .admin-table-card .dataTables_wrapper .dataTables_filter,
html[dir='rtl'] .admin-table-card .dataTables_wrapper .dataTables_info {
    text-align: right;
}

.admin-table-card .dataTables_wrapper .dataTables_length select,
.admin-table-card .dataTables_wrapper .dataTables_filter input {
    background: rgba(15, 23, 42, .6);
    border: 1px solid rgba(148, 163, 184, .25);
    color: rgba(226, 232, 240, .9);
    border-radius: .75rem;
    padding: .45rem .75rem;
}

.admin-table-card .dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, .55);
    box-shadow: 0 12px 30px -24px rgba(59, 130, 246, .65);
}

.admin-table-card .dataTables_wrapper .row:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
}

.admin-table-card .dataTables_wrapper .row:first-child > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-table-card .dataTables_wrapper .row:first-child > div.dataTables_length,
.admin-table-card .dataTables_wrapper .row:first-child > div.dataTables_filter {
    flex: none;
}

.admin-table-card__row--hidden {
    display: none !important;
}

.admin-form-card {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, .08), rgba(14, 165, 233, .06)),
        linear-gradient(180deg, rgba(15, 23, 42, .9), rgba(15, 23, 42, .92));
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 30px 55px -45px rgba(15, 23, 42, .85);
    padding: 2rem 2.2rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.admin-form-group--full {
    grid-column: 1 / -1;
}

.admin-form-group--half {
    grid-column: span 1;
}

.admin-form-group label {
    font-weight: 600;
    font-size: .95rem;
    color: rgba(226, 232, 240, .92);
    letter-spacing: .02em;
}

.admin-form-card .form-control,
.admin-form-card .select2-selection {
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(148, 163, 184, .25);
    color: rgba(226, 232, 240, .92);
    border-radius: .85rem;
    padding: .65rem .85rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-form-card .form-control:focus {
    border-color: rgba(96, 165, 250, .55);
    box-shadow: 0 12px 30px -24px rgba(59, 130, 246, .6);
    background: rgba(15, 23, 42, .75);
}

.admin-form-card .select2-selection__rendered {
    color: inherit;
    padding-left: 0;
}

.admin-form-card .select2-selection--single {
    height: auto;
    padding: .55rem .85rem;
    display: flex;
    align-items: center;
}

.admin-dropzone {
    border-radius: 1.1rem;
    border: 1.5px dashed rgba(148, 163, 184, .35);
    background: rgba(15, 23, 42, .55);
    padding: 1.5rem;
    transition: border-color .18s ease, background .18s ease;
}

.admin-dropzone.dz-started ~ .help-block {
    margin-top: .35rem;
}

.admin-dropzone:hover,
.admin-dropzone.dz-clickable:focus {
    border-color: rgba(96, 165, 250, .6);
    background: rgba(15, 23, 42, .7);
}

.admin-dropzone .dz-message {
    color: rgba(226, 232, 240, .75);
    font-weight: 500;
}

.admin-dropzone .dz-preview .dz-progress {
    background: rgba(59, 130, 246, .15);
}

.admin-dropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.admin-form-card .help-block {
    color: rgba(148, 163, 184, .85);
    font-size: .82rem;
}

.admin-form-card .invalid-feedback {
    font-size: .82rem;
}

.admin-form-actions {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.admin-action-button--ghost {
    background: transparent;
    color: rgba(226, 232, 240, .85);
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: none;
}

.admin-action-button--ghost:hover,
.admin-action-button--ghost:focus {
    background: rgba(59, 130, 246, .12);
    color: #f8fafc;
}

.datatable thead .sorting::after,
.datatable thead .sorting_asc::after,
.datatable thead .sorting_desc::after {
    color: rgba(148, 163, 184, .6);
}

.admin-sidebar__menu {
    margin: 0;
}

.admin-sidebar__menu > li {
    margin-bottom: .35rem;
    border-radius: 1rem;
    transition: background-color .2s ease, transform .2s ease;
}

.admin-sidebar__menu > li:last-child {
    margin-bottom: 0;
}

.admin-sidebar__menu .c-sidebar-nav-link {
    border-radius: 1rem;
    padding: .85rem 1rem;
    font-weight: 500;
    color: rgba(226, 232, 240, .92);
    transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.admin-sidebar__menu .c-sidebar-nav-link:hover,
.admin-sidebar__menu .c-sidebar-nav-link:focus {
    color: #fff;
    background: linear-gradient(90deg, rgba(96, 165, 250, .2), rgba(129, 140, 248, .18));
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .2);
    text-decoration: none;
}

.admin-sidebar__menu .c-sidebar-nav-link.c-active,
.admin-sidebar__menu .c-sidebar-nav-link.active {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(96, 165, 250, .85), rgba(129, 140, 248, .85));
    box-shadow: 0 16px 30px -24px rgba(59, 130, 246, .95);
}

.admin-sidebar__menu .c-sidebar-nav-dropdown-toggle {
    border-radius: 1rem;
    padding: .85rem 1rem;
    font-weight: 600;
    color: rgba(226, 232, 240, .85);
}

.admin-sidebar__menu .c-sidebar-nav-dropdown-items {
    padding: 0 0 .75rem 1.5rem;
    overflow-x: hidden;
}

.admin-sidebar__menu .c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    border-radius: .85rem;
    padding: .65rem .95rem;
    font-size: .9rem;
    color: rgba(226, 232, 240, .8);
}

.admin-sidebar__menu .c-sidebar-nav-dropdown.c-show > .c-sidebar-nav-dropdown-toggle {
    color: #fff;
}

.admin-sidebar__footer {
    flex-shrink: 0;
    margin: 1.5rem;
    padding: 1.35rem 1.25rem;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, .2), rgba(129, 140, 248, .16));
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .1);
}

.admin-sidebar__footer-text {
    margin-bottom: 1rem;
}

.admin-sidebar__footer-title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.admin-sidebar__footer-text p {
    margin: .35rem 0 0;
    font-size: .85rem;
    color: rgba(226, 232, 240, .9);
}

.admin-sidebar__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.admin-sidebar__footer-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .95rem;
    border-radius: .85rem;
    border: 1px solid rgba(148, 163, 184, .2);
    color: rgba(226, 232, 240, .9);
    font-size: .85rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.admin-sidebar__footer-link:hover {
    color: #0f172a;
    background: rgba(226, 232, 240, .9);
    border-color: transparent;
    text-decoration: none;
}

.admin-sidebar__footer-link i {
    font-size: .9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.is-filtered-out {
    display: none !important;
}

html[dir='rtl'] #sidebar.admin-sidebar .c-sidebar-nav {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

html[dir='rtl'] .admin-sidebar__brand-text {
    flex-direction: row-reverse;
}

html[dir='rtl'] .admin-sidebar__brand-symbol {
    margin-left: .25rem;
    margin-right: 0;
}

html[dir='rtl'] .admin-sidebar__search-field {
    padding: .65rem 2.5rem .65rem 1rem;
}

html[dir='rtl'] .admin-sidebar__search-field i {
    left: auto;
    right: 1rem;
}

html[dir='rtl'] .admin-sidebar__menu .c-sidebar-nav-dropdown-items {
    padding-left: 0;
    padding-right: 1.5rem;
}

@media (max-width: 991.98px) {
    #sidebar.admin-sidebar {
        box-shadow: none;
    }

    .admin-page-header {
        padding: 1.35rem 1.4rem;
        gap: 1rem;
    }

    .admin-page-header__title {
        font-size: 1.55rem;
    }

    .admin-table-card__toolbar {
        padding: 1.1rem 1.35rem 0;
    }

    .admin-table-card__body {
        padding: 1.25rem 1.35rem 1.4rem;
    }

    .admin-form-card {
        padding: 1.6rem 1.4rem;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar__profile {
        margin: 0 1rem 1.25rem;
    }

    .admin-sidebar__search {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-sidebar__footer {
        margin: 1rem;
    }
}

@media (max-width: 575.98px) {
    .admin-sidebar__profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-page-header__actions {
        width: 100%;
        justify-content: stretch;
    }

    .admin-action-button {
        width: 100%;
        justify-content: center;
    }

    .admin-table-card__toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .admin-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-form-actions .admin-action-button {
        width: 100%;
        justify-content: center;
    }

    .admin-sidebar__footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-sidebar__footer-link {
        width: 100%;
        justify-content: center;
    }
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(30, 41, 59, .92));
    border-bottom: 1px solid rgba(148, 163, 184, .2);
    box-shadow: 0 18px 35px -32px rgba(15, 23, 42, .65);
    position: relative;
    z-index: 40;
}

.admin-topbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.admin-topbar__toggles {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.admin-topbar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .7);
    color: #e2e8f0;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.admin-topbar__toggle:hover,
.admin-topbar__toggle:focus {
    background: rgba(59, 130, 246, .25);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -20px rgba(59, 130, 246, .8);
}

.admin-topbar__toggle i {
    color: rgba(236, 244, 255, .9);
    transition: color .2s ease;
}

.admin-topbar__toggle:hover i,
.admin-topbar__toggle:focus i {
    color: #ffffff;
}

.admin-topbar__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.admin-topbar__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: .8rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, .3), rgba(96, 165, 250, .75));
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 12px 30px -20px rgba(59, 130, 246, .8);
}

.admin-topbar__brand-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.admin-topbar__brand-title {
    font-weight: 600;
    font-size: 1rem;
    color: #e2e8f0;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-topbar__brand-subtitle {
    font-size: .78rem;
    color: rgba(226, 232, 240, .7);
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-topbar__right {
    display: flex;
    align-items: center;
    width: 100%;
}

.admin-topbar__nav {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.admin-topbar__item {
    position: relative;
}

.admin-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: .9rem;
    color: rgba(226, 232, 240, .88);
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.admin-topbar__link:hover,
.admin-topbar__link:focus {
    color: #fff;
    background: rgba(59, 130, 246, .18);
    box-shadow: 0 12px 24px -22px rgba(59, 130, 246, .8);
    text-decoration: none;
}

.admin-topbar__link i,
.admin-topbar__link .fas,
.admin-topbar__link .far {
    color: rgba(248, 250, 252, .9);
    transition: color .2s ease;
}

.admin-topbar__link:hover i,
.admin-topbar__link:hover .fas,
.admin-topbar__link:hover .far,
.admin-topbar__link:focus i,
.admin-topbar__link:focus .fas,
.admin-topbar__link:focus .far {
    color: #ffffff;
}

.admin-topbar__badge {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 10px 18px -16px rgba(249, 115, 22, .85);
}

.admin-topbar__dropdown {
    background: rgba(15, 23, 42, .96);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 30px 55px -40px rgba(15, 23, 42, .85);
    padding: .4rem;
    min-width: 11rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.admin-topbar__dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem .65rem;
    border-radius: .75rem;
    color: rgba(226, 232, 240, .9);
    transition: background-color .2s ease, color .2s ease;
}

.admin-topbar__dropdown-item small {
    font-size: .75rem;
    opacity: .7;
}

.admin-topbar__dropdown-item:hover {
    background: rgba(59, 130, 246, .2);
    color: #fff;
}

.admin-topbar__dropdown--notifications {
    max-height: 17rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .35) transparent;
}

.admin-topbar__dropdown--notifications::-webkit-scrollbar {
    width: 6px;
}

.admin-topbar__dropdown--notifications::-webkit-scrollbar-track {
    background: transparent;
}

.admin-topbar__dropdown--notifications::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .35);
    border-radius: 999px;
}

.admin-topbar__notification {
    padding: .55rem .6rem;
    border-radius: .75rem;
    transition: background-color .2s ease;
}

.admin-topbar__notification a {
    color: rgba(226, 232, 240, .92);
    text-decoration: none;
    display: block;
}

.admin-topbar__notification strong {
    display: block;
    font-weight: 600;
    margin-bottom: .15rem;
}

.admin-topbar__notification p {
    margin: 0;
    font-size: .78rem;
    opacity: .72;
}

.admin-topbar__notification:hover {
    background: rgba(59, 130, 246, .14);
}

.admin-topbar__notification-empty {
    padding: 1.15rem .75rem;
    color: rgba(226, 232, 240, .6);
    font-size: .82rem;
}

.admin-topbar__link i {
    font-size: 1.05rem;
}

@media (min-width: 992px) {
    .admin-topbar__right {
        width: auto;
    }
}

@media (max-width: 991.98px) {
    .admin-topbar {
        padding: .75rem 1rem;
    }

    .admin-topbar__left {
        width: 100%;
        justify-content: space-between;
    }

    .admin-topbar__brand-title {
        font-size: .9rem;
    }

    .admin-topbar__brand-subtitle {
        font-size: .7rem;
    }

    .admin-topbar__right {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 575.98px) {
    .admin-topbar {
        gap: .75rem;
    }

    .admin-topbar__left {
        flex-direction: column;
        align-items: flex-start;
        gap: .65rem;
    }

    .admin-topbar__right {
        justify-content: space-between;
    }

    .admin-topbar__nav {
        width: 100%;
        justify-content: space-between;
    }
}

/* RTL/LTR wrapper margins handled by rules at line ~529 */