.sidebar {
    margin-left: 0;
    z-index: 1030;
    width: 240px;
    transition: all 0.3s;
}

.nav .nav-link.active {
    color: var(--text-dark);
    background-color: var(--bs-light);
}

.nav .nav-link.active:hover {
    border-left: none;
    border-right: none;
    border-radius: 0%;
    color: var(--text-dark);
    background-color: var(--bs-light-gray);
}

.text-decoration-line,
.tdl-0 {
    text-decoration-line: none !important;
}

.navbar {
    z-index: 99991;
}

.main {
    margin-left: 240px;
    transition: margin-left 0.3s;
}

.btn-xs {
    padding: 0.1rem 0.2rem;
    font-size: 0.65rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.banner-img {
    height: 500px;
    width: 100%;
}

.modal {
    z-index: 99992;
}

.swal2-container {
    z-index: 99993 !important;
}

.swal2-popup {
    z-index: 10000 !important;
}

.form-check-input:focus,
.form-check-input:focus {
    color: var(--bs-light);
    background-color: var(--text-dark);
}

.form-check-label {
    font-size: medium !important;
}

/* collapsed sidebar */
.sidebar-section {
    transition: width 0.3s ease, margin 0.3s ease;
}

.sidebar-collapsed #sidebar {
    width: 0 !important;
    overflow: hidden;
    transition: width 0.3s ease;
}

.sidebar-collapsed #sidebar * {
    display: none;
}

.sidebar-collapsed .fa-bars-span i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* /collapsed sidebar */

/* Data Table */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 2rem !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px #212529 solid !important;
}

.contact-results .dataTables_wrapper .dataTables_length,
.contact-results .dataTables_wrapper .dataTables_filter {
    display: none !important;
}

/* /Data Table */

/* global overlay */
.global-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body>.global-overlay {
    position: fixed;
}

.global-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.global-overlay .loading-message {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

/* /global overlay */

/* stepper css */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
    color: white;
}

.stepper-item.completed .step-counter {
    background-color: #4bb543;
}

.stepper-item.completed::after {
    border-bottom: 2px solid #4bb543;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.step-name {
    color: #666;
}

.stepper-item.completed .step-name {
    color: #4bb543;
    font-weight: bold;
}

.step-pane {
    display: none;
}

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

/* /stepper css */

/* Carousels */
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.carousel-control {
    width: 34px;
    height: 34px;
}

/* /Carousels */

.payment-channel-logo-wrapper {
    height: 70px;
}

@media (min-width: 768px) {
    .payment-channel-logo-wrapper {
        height: 80px;
    }
}

.payment-channel-logo-select {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.col-md-4.active {
    background-color: var(--bs-light-gray) !important;
    border-color: var(--bs-warning) !important;
}

.scrollable-main-child {
    height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* WebKit (Chrome/Safari) */
.scrollable-main-child::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.see-more-card:hover {
    background-color: var(--bs-light)
}

.min-pad-100 {
    padding-bottom: 100vh;
}

.social-icons-share a,
.social-handle-icons a {
    width: 50px;
    height: 50px;
}

.rounded-img-150 {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.rounded-img-30 {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.sidebar {
    width: 240px;
}

.sidebar-content {
    height: 88vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-content::-webkit-scrollbar {
    display: none;
    width: 0;
}

.btn.dropdown-toggle::after {
    content: none !important;
}

.dropdown .filters-dropdown-menu {
    width: 30vw !important;
    max-width: 50vw;
}

@media (max-width: 768px) {
    .dropdown .filters-dropdown-menu {
        width: 50vw;
    }
}
 
.bg-gradient-warning-ltr { 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100px;
}

.banner-content { 
    z-index: 2;
}

.bg-gradient-warning-ltr .faded-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 60%;
    background: var(--bs-dark);
    z-index: 1;
}

/* Gallery section */
.gallery-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}
/* /Gallery section */

.bg-light-warning {
    background-color: var(--bs-light-warning);
} 

.min-vh-100 {
    padding-bottom: 30%;
}

/* Upload section */
.file-upload-zone {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    border: 2px dashed #ced4da;
    cursor: pointer;
}

.file-upload-zone:hover {
    background-color: #e9ecef;
    border-color: var(--bs-warning);
}

.file-upload-zone.dragover {
    background-color: #e3f2fd;
    border-color: var(--bs-warning);
    transform: scale(1.01);
}

.upload-icon {
    transition: transform 0.3s ease;
}

.file-upload-zone:hover .upload-icon {
    transform: translateY(-5px);
}

.file-preview {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}
/* /Upload section */

/* Tables */
.messages-table tbody tr td {
    border-bottom: 1px solid var(--bs-dark); 
    background-color: var(--bs-light); 
}
/* /Tables */