.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: 0.2rem;
}

.dataTables_filter {
    margin-right: 0.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 0.2rem rgba(209, 213, 215, 0.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;
}

/* Sidebar polish v2 (no behavior changes) */
.c-sidebar .c-sidebar-nav {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}
.c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link,
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle {
    border-radius: 10px;
    margin: 0.225rem 0.3rem;
    padding: 0.625rem 0.75rem;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}
/* Neutral hover that works on light and dark */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link:hover,
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
    .c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link:hover,
    .c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle:hover {
        background-color: rgba(255, 255, 255, 0.06);
    }
}
/* Active pill with primary accent bar */
.c-sidebar .c-sidebar-nav .c-active {
    position: relative;
    background-color: rgba(59, 130, 246, 0.12);
    color: inherit;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}
/* .c-sidebar .c-sidebar-nav .c-active::before { */
/* content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 3px;
    background: #3b82f6;
    left: 6px; */
/* } */
html[dir="rtl"] .c-sidebar-nav-dropdown-items {
    padding-right: 1.25rem;
}
html[dir="ltr"] .c-sidebar-nav-dropdown-items {
    padding-left: 1.25rem;
}

html[dir="rtl"] .c-sidebar .c-sidebar-nav .c-active::before {
    left: auto;
    right: 6px;
}
/* Dropdown children spacing */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-items {
    padding-top: 0.125rem;
    padding-bottom: 0.25rem;
}
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-items .c-sidebar-nav-link {
    font-size: 0.95rem;
    opacity: 0.95;
    padding-left: 2.25rem;
}
html[dir="rtl"]
    .c-sidebar
    .c-sidebar-nav
    .c-sidebar-nav-dropdown-items
    .c-sidebar-nav-link {
    padding-left: 0.75rem;
    padding-right: 3rem;
}

/* Futuristic polish: gradients, glass, and smooth motion */
:root {
    --sidebar-accent: #7c3aed; /* violet-600 */
    --sidebar-accent-2: #22d3ee; /* cyan-400 */
    --sidebar-hover: rgba(124, 58, 237, 0.12);
    --sidebar-glow:
        0 10px 30px rgba(34, 211, 238, 0.12),
        0 2px 10px rgba(124, 58, 237, 0.18);
}
.c-sidebar {
    background:
        radial-gradient(
            1200px 400px at 0% -10%,
            rgba(124, 58, 237, 0.18),
            transparent 60%
        ),
        radial-gradient(
            900px 400px at 120% 110%,
            rgba(34, 211, 238, 0.12),
            transparent 50%
        ),
        linear-gradient(180deg, #0b1220 0%, #0a0f1a 100%);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.06);
}
.c-sidebar .c-sidebar-brand {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.c-sidebar .c-sidebar-brand .c-sidebar-brand-full {
    letter-spacing: 0.4px;
    text-shadow: 0 2px 14px rgba(124, 58, 237, 0.35);
}

/* Link hover/press micro-interactions */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link,
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle {
    will-change: transform, box-shadow, background-color, color;
}
.c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link:hover,
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle:hover {
    background: var(--sidebar-hover);
    box-shadow: var(--sidebar-glow);
    transform: translateY(-1px);
}
.c-sidebar .c-sidebar-nav .c-active {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.16),
        rgba(124, 58, 237, 0.18)
    );
    box-shadow:
        inset 0 0 0 1px rgba(124, 58, 237, 0.28),
        0 6px 18px rgba(124, 58, 237, 0.18);
}
.c-sidebar .c-sidebar-nav .c-active::before {
    background: linear-gradient(
        180deg,
        var(--sidebar-accent),
        var(--sidebar-accent-2)
    );
}

/* Icon color sweep on hover/active */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-icon {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}
.c-sidebar .c-sidebar-nav .c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar
    .c-sidebar-nav
    .c-sidebar-nav-dropdown-toggle:hover
    .c-sidebar-nav-icon {
    color: var(--sidebar-accent-2);
}
.c-sidebar .c-sidebar-nav .c-active .c-sidebar-nav-icon {
    color: var(--sidebar-accent-2);
}

/* Dropdown reveal animation (CSS-only, CoreUI toggles .c-show) */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-items {
    overflow: hidden;
    transition:
        max-height 0.28s cubic-bezier(0.2, 0.6, 0.2, 1),
        opacity 0.24s ease,
        transform 0.24s ease;
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}
.c-sidebar
    .c-sidebar-nav
    .c-sidebar-nav-dropdown:not(.c-show)
    > .c-sidebar-nav-dropdown-items {
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
}

/* Tiny glowing separators for groups (optional, non-invasive) */
.c-sidebar .c-sidebar-nav .c-sidebar-nav-title {
    color: rgba(226, 232, 240, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .c-sidebar .c-sidebar-nav .c-sidebar-nav-item > .c-sidebar-nav-link,
    .c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-toggle,
    .c-sidebar .c-sidebar-nav .c-sidebar-nav-dropdown-items {
        transition: none !important;
    }
}

.c-sidebar-nav .c-sidebar-nav-dropdown-items {
    padding-right: 5%;
}

.card {
    border-radius: 10px;
}

.btn {
    border-radius: 10px !important;
}

.btn-xs {
    padding: 0.2rem 0.5rem !important;
}

.isset {
    box-shadow: 1px 2px 3px gray !important;
}

.custom-btn {
    border-radius: 25px !important;
}

.form-control {
    border-radius: 10px !important;
}

.pagination .active a {
    color: black;
    font-weight: 900;
    border: 1px solid black;
}
.active-switch-lang {
    background-color: #4caf50;
    color: #fff;
}
.help-block {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.bg-orange {
    background-color: #ff9800;
    color: #fff;
}

.seller-hero #main-sar-symbol svg {
    fill: white;
    width: 40px !important;
    height: 40px !important;
}
