:root,
[data-bs-theme=light] {
    --rc-body-color: #212529;
    --rc-body-bg: #f5f5f5;
    --rc-white: #ffffff;
    --rc-primary: #000000;
    --rc-primary-rgb: 0, 0, 0;
    --rc-primary-color: #ffffff;
    --rc-text-primary: #ff4800;
    --rc-btn: #000000;
    --rc-btn-hover-bg: #1f1f1f;
    --dropdown-item-bg-focus : #e9ecef;
    --dropdown-item-color : #212529;
    --table-border : #e9ecef;
    --rc-bg-light : #e9ecef;
    --rc-bg-light-hover : #c9ccce;
    --rc-modal-bg : #ffffff;
    --rc-bg : #ff4800;
    --rc-bg-soft : #00000033;
}

[data-bs-theme=dark] { 
    color-scheme: dark;
    --rc-body-color: #e7e7e7;
    --rc-body-bg: #000000;
    --rc-white: #141414;
    --rc-primary: #ff4800;
    --rc-primary-rgb: 255, 72, 0;
    --rc-primary-color: #ffffff;
    --rc-text-primary: #ff4800;
    --rc-btn: #ff4800;
    --rc-btn-hover-bg: #f5672f;
    --dropdown-item-bg-focus : #343a40;
    --dropdown-item-color : #e0e0e0;
    --table-border : #646464;
    --rc-bg-light : #3a3a3a;
    --rc-bg-light-hover : #302f2f;
    --rc-modal-bg : #1a1a1a;
    --rc-bg-soft : #ff480033;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 50px !important;
}
::-webkit-scrollbar-track {
  background: transparent !important;
}
::-webkit-scrollbar-thumb {
  background: var(--rc-primary) !important;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--rc-btn-hover-bg) !important;
}
.sidebar ::-webkit-scrollbar {
  width: 2px !important;
  height: 2px !important;
  border-radius: 50px !important;
}

.cairo {
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
label {
    font-weight: 500;
    margin-bottom: 5px;
}
body {
    font-family: "Cairo", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--rc-body-bg);
}

[data-bs-theme=dark] .d-dark-mode-none {
    display: none !important
}
[data-bs-theme=dark] .d-dark-mode-block {
    display: block !important
}

.pointer-cursor { 
    cursor: pointer !important;
}
.strong {
    font-weight: bold !important;
}
.strong-lg {
    font-weight: 900 !important;
}
.bg-rcode { 
    background: var(--rc-bg) !important;
}
a { 
    text-decoration: auto !important;
}

.form-check-input:focus {
    border-color: #feac86ff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(253, 89, 13, 0.25)
}

.form-check-input:checked {
    background-color: #fd450dff;
    border-color: #fd450dff
}

/*===============================
  Toast Notification
  ===============================*/
.rcode-toast {
  position: fixed;
  z-index: 1055;
  animation: toastFadeUp 0.4s forwards;
}

.rcode-toast.auto-close {
  animation: toastFadeOut 0.4s forwards 3.6s;
}

.rcode-toast.toast-right { right: 20px; }
.rcode-toast.toast-left { left: 20px; }
.rcode-toast.toast-top { top: 20px; }
.rcode-toast.toast-bottom { bottom: 20px; }

@keyframes toastFadeUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); visibility: visible; }
  to   { opacity: 0; transform: translateY(100%); visibility: hidden; }
}


.card {
    background: var(--rc-white);
    border-radius: 10px;
}
.btn-rcode { 
    background: var(--rc-btn) !important;
    color: #ffffff !important;
    text-align: center;
    align-items: center;
}
.btn-rcode:hover {
    background: var(--rc-btn-hover-bg) !important;
    color: #ffffff !important;
}
.btn-rcode:focus {
    border: 1px solid var(--rc-btn-hover-bg) !important;
}

.btn-rcode-soft {
    background-color: #00000017 !important;
    color: #000000 !important
}
.btn-rcode-soft:focus,.btn-rcode-soft:hover {
    background-color: #0000003b !important;
    color: #000000 !important
}

[data-bs-theme=dark] .btn-rcode-soft {
    background-color: #ff330017 !important;
    color: #ff4800 !important
}

[data-bs-theme=dark] .btn-rcode-soft:focus,
[data-bs-theme=dark] .btn-rcode-soft:hover {
    background-color: #ff480033 !important;
    color: #ff4800 !important
}

.btn-primary-soft {
    background-color: #6365f117 !important;
    color: #6366f1 !important
}
.btn-primary-soft:focus,.btn-primary-soft:hover {
     background-color: #6365f13b !important;
    color: #6366f1 !important
}
.btn-danger-soft {
    background-color: #ff00002a !important;
    color: #f16363 !important
}
.btn-danger-soft:focus, 
.btn-danger-soft:hover {
    background-color: #ff00003b !important;
    color: #f16363 !important
}
.btn-info-soft {
    background-color: #63b8f117 !important;
    color: #63c9f1 !important
}
.btn-info-soft:focus, 
.btn-info-soft:hover {
    background-color: #63d5f13b !important;
    color: #63c9f1 !important
}

.btn-warning-soft {
    background-color: #f1dc6317 !important;
    color: #f1d063 !important
}
.btn-warning-soft:focus, 
.btn-warning-soft:hover {
    background-color: #f1e8633b !important;
    color: #f1d063 !important
}

.btn-navbar { 
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff !important;
    background: rgba(121, 111, 111, 0.356) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none !important;
}

.form-control {
    color: var(--bs-body-color);
    background-color: var(--rc-white);
}
.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--rc-white);
    border-color: var(--rc-primary);
    outline: 0;
    box-shadow: none !important
}

.select { 
    width: 100% !important;
}
.select .btn.dropdown-toggle.form-control { 
    width: 100% !important;
    outline: none !important;
    outline: 0px auto -webkit-focus-ring-color!important;
    outline-offset: -2px;
    border: 1px solid rgba(145, 158, 171, .32) !important;
    box-shadow: none;
}
.select .btn.dropdown-toggle.form-control.form-control-lg { 
    min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: var(--bs-border-radius-lg)
}
.select .btn.dropdown-toggle.form-control.show { 
    border: 1px solid var(--rc-primary)!important;
    box-shadow: none;
}
.select .btn.dropdown-toggle.form-control:focus { 
    border: 1px solid var(--rc-primary)!important;
    box-shadow: none;
}
.select .dropdown-item:hover, .select .dropdown-item:focus { 
    background: var(--rc-primary);
    color: #ffffff !important;
}
.select .dropdown-item.selected, .select .dropdown-item.active { 
    background: var(--rc-primary);
    color: #ffffff !important;
}
.select .dropdown-item:focus { 
    color: #000000 !important;
}
[data-bs-theme=dark] .select .dropdown-item:focus { 
    color: #ffffff !important;
}
.bootstrap-select.select .dropdown-menu { 
    max-height: 200px;
}

.select .no-results { 
    background: var(--bs-body-bg) !important;
    color: var(--rc-body-color) !important;
}
.rounded-left-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.rounded-right-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.text-primary {
    color: var(--rc-text-primary) !important;
}
.border-blue {
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important
}
.border-primary {
    --bs-border-opacity: 1;
    border-color: var(--rc-text-primary) !important
}
.text-blue {
    color: #0d6efd !important;
}
.shadow-xs {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.m-n1px {
    margin: -1px !important;
}
/* Navbar */
.navbar {
    background: var(--rc-white);
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    z-index: 999;
    padding: 10px 20px;
    transition: left 0.3s ease;
}

.navbar.expanded {
    left: 0;
}

.offcanvas {  
    background: var(--rc-white);
    border:  none !important;
}

.bg-white { 
    background: var(--rc-white) !important;
}

@media (min-width: 992px) {
  .w-lg-10 { width: 10% !important; }
  .w-lg-25 { width: 25% !important; }
  .w-lg-35 { width: 35% !important; }
  .w-lg-50 { width: 50% !important; }
  .w-lg-75 { width: 75% !important; }
  .w-lg-100 { width: 100% !important; }
}

@media (min-width: 768px) {
  .w-md-25 { width: 25% !important; }
  .w-md-50 { width: 50% !important; }
  .w-md-75 { width: 75% !important; }
  .w-md-100 { width: 100% !important; }
}

@media (min-width: 576px) {
  .w-sm-25 { width: 25% !important; }
  .w-sm-50 { width: 50% !important; }
  .w-sm-75 { width: 75% !important; }
  .w-sm-100 { width: 100% !important; }
}

.toggle-btn {
    background: var(--rc-primary);
    color: var(--rc-white);
    border: none;
    /* padding: 10px 15px; */
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.toggle-btn:hover {
    background: var(--rc-primary);
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: var(--rc-white);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.upload-file-card { 
    border: 2px dashed var(--rc-primary);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.upload-file-card i { 
    color:  var(--rc-text-primary);
}
.upload-file-card:hover {
    background: var(--rc-bg-light-hover);
    border-color: var(--rc-body-color);
}

.sidebar.hidden {
    transform: translateX(-280px);
}

.sidebar-header {
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    padding: 15px;
    width: 100%;
    height: 50px;
    background: var(--rc-white);
}

.sidebar-header h3 {
    color: var(--rc-body-color);
    margin: 0;
    font-size: 24px;
    height: 80px;
}
.sidebar-header img {
    display: flex;
    width: 100%;
    height: 60px;
    top: 0;
    margin-top: -12px;
}

.sidebar-content {
    margin-top: 10px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-content .nav-pills {
    padding: 15px;
}
.sidebar-content .nav-pills span {
    font-weight: bolder;
}

.sidebar-content .nav-pills .nav-link {
    color: var(--rc-body-color);
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.sidebar-content .nav-pills .nav-link:hover {
    background: rgba(36, 36, 36, 0.1);
    color: var(--rc-body-color);
    transform: translateX(5px);
}
[data-bs-theme=dark] .nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--rc-body-color);
    transform: translateX(5px);
}
.sidebar-content .nav-pills .nav-link.active {
    background: var(--rc-primary) !important;
    color: #ffffff !important;
}

.sidebar-content .nav-pills .nav-link:not(.collapse-arrow).active {
  pointer-events: none;
  cursor: default;
}

.sidebar-content .nav-pills .nav-link i {
    width: 25px;
    margin-right: 10px;
}

.sidebar-content .nav-pills .nav-link.collapse-arrow::after {
    content: "\f078";
    font-family: "Font Awesome 5 Pro", "FontAwesome", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.3s;
    font-size: 0.9rem;
    color: currentColor;
    line-height: 1;
}
.sidebar-content .nav-pills .nav-link.collapse-arrow.collapsed::after {
    transform: rotate(-90deg);
}

.dropdown-menu-custom {
    background: rgba(240, 240, 240, 0.726);
    border: none;
    margin: 8px 5px;
    padding: 5px 0;
    border-radius: 15px;
}
[data-bs-theme=dark] .dropdown-menu-custom {
    background: rgba(32, 32, 32, 0.726);
    border: none;
    margin: 8px 5px;
    padding: 5px 0;
    border-radius: 15px;
}
.dropdown-item-custom {
    color: rgb(27, 27, 27);
    padding: 10px 20px 10px 35px;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
}
[data-bs-theme=dark] .dropdown-item-custom {
    color: rgb(221, 221, 221);
    padding: 10px 20px 10px 35px;
    transition: all 0.3s;
    display: block;
    text-decoration: none;
}

.dropdown-item-custom:hover {
    color: rgb(46, 46, 46);
    padding-left: 40px;
}
[data-bs-theme=dark] .dropdown-item-custom:hover {
    color: rgb(172, 172, 172);
    padding-left: 40px;
}
.dropdown-item-custom.active {
    color: var(--rc-primary) !important;
    font-weight: bold !important;
    pointer-events: none;
    cursor: default;
}
.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    margin-top: 70px;
    transition: margin-left 0.3s ease;
    padding: 20px;
}

.main-content.expanded {
    margin-left: 0;
}

.stats-card {
    background: var(--rc-white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.stats-card h3 {
    color: var(--rc-body-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.stats-card .number {
    font-size: 32px;
    font-weight: bold;
    color: var(--rc-body-color);
}

.stats-card i {
    font-size: 40px;
    opacity: 0.3;
}

.card-blue { border-left: 4px solid #3498db; }
.card-green { border-left: 4px solid #2ecc71; }
.card-orange { border-left: 4px solid #e67e22; }
.card-red { border-left: 4px solid #e74c3c; }

.chart-container {
    background: var(--rc-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .navbar {
        left: 0;
    }

    .sidebar {
        transform: translateX(-280px);
    }
    
    .sidebar.visible {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }

    .main-content.expanded {
        margin-left: 0;
    }
}


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow:
        inset 0 0.5em 1.5em #0000001a,
        inset 0 0.125em 0.5em #00000026;
}
.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}
.bi {
        vertical-align: -0.125em;
        fill: currentColor;
}
.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.rcode-vision-user-dropdown.user-dropdown-wrapper {
    position: relative;
}

.rcode-vision-user-dropdown .user-profile {
    cursor: pointer;
    display: flex;
    align-items: center;
    background: var(--rc-white) !important;
}

.rcode-vision-user-dropdown .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}


.rcode-vision-user-dropdown .user-name {
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rcode-vision-user-dropdown .user-role {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

.rcode-vision-user-dropdown .dropdown-arrow {
    display: none;
}

.rcode-vision-user-dropdown .dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 250px;
    background: var(--rc-white) !important;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow: hidden;
    
}

.rcode-vision-user-dropdown .dropdown-menu-custom.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rcode-vision-user-dropdown .dropdown-header-custom {
    padding: 8px;
    display: flex;
    align-items: center !important;
    gap: 10px;
    border-bottom: 1px solid rgba(117, 117, 117, 0.315);
}

.rcode-vision-user-dropdown .dropdown-header-custom img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.rcode-vision-user-dropdown .dropdown-header-custom h6 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.rcode-vision-user-dropdown .dropdown-header-custom small {
    opacity: 0.9;
    font-size: 13px;
}

.rcode-vision-user-dropdown .dropdown-divider-custom {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.rcode-vision-user-dropdown .ddropdown-item-custom {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--rc-body-color) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.rcode-vision-user-dropdown .ddropdown-item-custom:hover {
    background: var(--rc-body-bg);
    color: var(--rc-primary);
    padding-right: 20px;
}

.rcode-vision-user-dropdown .ddropdown-item-custom i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.dropdown-menu { 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.dropdown-menu-right {
    right: 0 !important;
    left: auto !important
}
.dropdown-menu .dropdown-item:focus {
    background-color: var(--dropdown-item-bg-focus);
    color: var(--dropdown-item-color);
}
/* .dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
} */
.select .dropdown-menu .dropdown-item:first-child,
.select .dropdown-menu .dropdown-item:last-child {
    border-radius: 0 !important;
}
.animated--grow-in {
    -webkit-animation-name: growIn;
    animation-name: growIn;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-timing-function: transform cubic-bezier(.18,1.25,.4,1),opacity cubic-bezier(0,1,.4,1);
    animation-timing-function: transform cubic-bezier(.18,1.25,.4,1),opacity cubic-bezier(0,1,.4,1)
}

.animated--fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-timing-function: opacity cubic-bezier(0,1,.4,1);
    animation-timing-function: opacity cubic-bezier(0,1,.4,1)
}
@-webkit-keyframes growIn {
    0% {
        transform: scale(.9);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes growIn {
    0% {
        transform: scale(.9);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.horizontal-line-1 {
    border-top: 3px solid var(--rc-primary);
    width: 100%;
    /* margin-bottom: 16px */
}

.horizontal-line-2 {
    border-top: 4px solid var(--rc-primary);
    width: 15%;
    margin-bottom: 8px
}

.horizontal-line-center {
    border-top: 3px solid var(--rc-primary);
    width: 10%;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto
}

table {
    caption-side: bottom;
    background: transparent !important;
    border-collapse: separate;
    border-spacing: 0;
    /* border-radius: 10px; */
    overflow: hidden;
}

.table>:not(caption)>*>* { 
    background: transparent !important;
}
.table thead {
    background: #fafbfe;
    border-bottom: 1px solid var(--table-border)
}
[data-bs-theme=dark] .table thead {
    background: #252525;
    border-bottom: 1px solid var(--table-border)
}
.table tbody tr td {
    padding: 10px;
    padding-top: 13px;
    padding-bottom: 13px;
    color: var(--rc-body-color);
    font-weight: 500;
    border-bottom: 1px solid var(--table-border);
    vertical-align: middle;
    white-space: nowrap
}
#customPaginatePlace .page-link { 
    color: var(--rc-primary);
    background-color: var(--rc-bg-light);
    border: none;
    margin: 0 3px;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}
#customPaginatePlace .page-link:hover { 
    color: var(--rc-primary);
    background-color: var(--rc-bg-light-hover);
    border: none;
}
#customPaginatePlace .active>.page-link,.page-link.active {
    color: #ffffff;
    background-color: var(--rc-primary);
    border-color: var(--rc-primary)
}
#customPaginatePlace .active>.page-link,.page-link.active:focus {
    box-shadow: none
}
#customPaginatePlace .page-link:focus {
    box-shadow: none !important
}
.modal .btn-close:focus {
    box-shadow: none !important
}
.offcanvas .btn-close:focus {
    box-shadow: none !important
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--rc-modal-bg) !important;
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0
}

.swal2-popup.swal2-modal {
    background: var(--rc-white) !important;
}
.swal2-popup.swal2-modal .swal2-title {
    color: var(--rc-body-color) !important;
}
[data-bs-theme=dark] .swal2-popup.swal2-modal .swal2-html-container {
    color: #c4c4c4 !important;
}



/*===============================
  filepond
  ===============================*/

.filepond--item {
    width: 150px !important;
    height: 150px !important;
    overflow: hidden;
    border-radius: .45em;
}
.filepond--image-preview-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.filepond--list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}
.filepond--credits { 
    display: none;
}
.file-uploader {
    margin-bottom: 0;
    border: 2px dashed var(--rc-primary);
    border-radius: .75rem;
    font-family: "Noto Sans",sans-serif;
    cursor: pointer
}

.filepond--root .filepond--drop-label {
    min-height: 10rem
}

.filepond--root .filepond--drop-label>label {
    cursor: pointer
}

.filepond--panel,.filepond--panel-root {
    background-color: transparent !important
}

.filepond--image-preview {
    background-color: #1f1b2d !important
}

.filepond--credits {
    display: none
}

@media(min-width: 500px) {
    .file-uploader-grid .filepond--item {
        width:calc(50% - .5em)
    }
}

[data-filepond-item-state*=error] .filepond--item-panel,[data-filepond-item-state*=invalid] .filepond--item-panel {
    background-color: #f23c49
}

[data-filepond-item-state=processing-complete] .filepond--item-panel {
    background-color: #07c98b
}




/*===============================
  choices__list
  ===============================*/

.choices__list.choices__list--dropdown { 
    background: var(--rc-white);
    color: var(--rc-body-color);
}
.choices__item:hover { 
    background: var(--rc-white);
    color: var(--rc-body-color);
}
.choices.is-open .choices__inner { 
    border-radius: 10px; 
    color: var(--bs-body-color) !important;
    background-color: var(--rc-white) !important;
    
}
.choices.is-focused .choices__inner { 
    border-radius: 10px; 
    color: var(--bs-body-color) !important;
    background-color: var(--rc-white) !important;
    border: 1px solid var(--rc-primary);
}

.choices__inner { 
    border-radius: 10px; 
    color: var(--bs-body-color) !important;
    background-color: var(--rc-white) !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.choices__inner:focus { 
    border: 1px solid var(--rc-primary);
}
.choices__input { 
    border-radius: 10px; 
    color: var(--bs-body-color) !important;
    background-color: var(--rc-white) !important;
}
.choices__item--choice.choices__notice.choices__item--selectable.add-choice.is-highlighted { 
    background: var(--rc-white);
    color: var(--rc-body-color);
}

.sortable-ghost {
    opacity: 0.4;
    background: #f0f0f0 !important;
}
.choices__item {
    cursor: move !important;
    touch-action: none;
}

/*===============================
  Date
  ===============================*/

.daterangepicker {
  background: var(--rc-white) !important;
  border-color: var(--rc-white) !important;
}
.daterangepicker .table-condensed {
  background: var(--rc-white) !important;
  border-color: var(--rc-white) !important;
}
.daterangepicker .calendar-table {
    border-color: var(--rc-white) !important;
    background: var(--rc-white) !important;
}
.daterangepicker .available {
  background: var(--rc-white) !important;
}
.daterangepicker .available.active  {
  background: var(--rc-primary) !important;
}
.daterangepicker .available.in-range  {
  background: var(--rc-bg-soft) !important;
  color: var(--rc-body-color) !important
}
.daterangepicker .available.active.end-date.in-range  {
  background: var(--rc-primary) !important;
  color: #fff !important;
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
  color: #fff;
  border: solid var(--rc-primary);
  border-width: 0 2px 2px 0;
  border-radius: 0;
  display: inline-block;
  padding: 3px;
}
.daterangepicker:before {
  top: -7px;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-bottom: 7px solid var(--rc-white) !important;
}

.daterangepicker:after {
  top: -6px;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--rc-white) !important;
  border-left: 6px solid transparent;
}


/* text-editor */

[data-bs-theme="dark"] .ql-toolbar,
[data-bs-theme="dark"] .ql-container {
    background-color: #1e1e1e !important;
    color: #fff !important;
    border-color: #444 !important;
}
[data-bs-theme="dark"] .ql-toolbar button svg {
    filter: invert(1);
}
[data-bs-theme="dark"] .ql-toolbar span svg {
    filter: invert(1);
}
[data-bs-theme="dark"] .ql-toolbar span::before {
    filter: invert(1);
}
[data-bs-theme="dark"] .ql-editor {
    color: #fff !important;
}