:root {
    --Primary-color: #403301;
    --Secondary-color: #c2b59b;
    --text-white-color: #ffffff;
    --black-bg-color: #c2b59b;
    --text-secondary-color: #403301;
    --lite-black-bg-color: #40330180;

}

.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;
}

.project-image-container {
    position: relative;
    display: inline-block;
}

.project-image-container img {
    display: block;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.project-image-container .overlay {
    position: absolute;
    top: 44px;
    right: 23px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    z-index: 10;
}

.project-image-container .overlay {
    transform: translate(-50%);
}

.project-image-container:hover img {
    opacity: 1;
    /* Restore full opacity on hover */
}

.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: 5px;
    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;
}

.input-group-prepend .input-group-text {
    border-right: none;
}

.login-page .c-app {
    font-family: inherit;
    background-image: url(../img/123.jpg);
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 99;
    width: 100%;
}

.login-page .c-app::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -1;
    opacity: 0.3;
    background-color: #000;
}

.login-page h5 {
    color: #4d1749 !important;
    font-size: 30px;
    margin-left: 10px;
}

.login-page .img-fluid img {
    max-width: 60px;
}

.input-group .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.input-group-text {
    background-color: #f0f0f0;
    border: 1px solid #ced4da;
    border-left: none;
    transition: all 0.3s ease;
}

.input-group:hover .input-group-text i {
    color: #fff;
    transition: all 0.3s linear;
}

.input-group-text i {
    color: black;
}



.input-group-prepend .input-group-text {
    border-right: none;
}

a:hover {
    text-decoration: none;
}

.arbic-rtl a {
    flex-direction: row-reverse;
}

.arbic-rtl a i,
.arbic-rtl a i c-sidebar-nav-dropdown-items c-sidebar-nav-item a i {
    margin-left: -6px !important;
}

.c-sidebar {
    background-color: #6e0808;
}


body {
    background: #f7fbf8;
}

h1 {
    font-weight: bold;
    font-size: 23px;
}

img {
    display: block;
    max-width: 100%;
}

.preview {
    text-align: center;
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}

.section {
    margin-top: 50px;
    background: #fff;
    padding: 50px 30px;
}

.modal-lg {
    max-width: 1000px !important;
}

.cropped-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cropped-images img {
    max-width: 120px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.ui-datepicker-calendar {
    display: none;
}

.ui-datepicker .ui-datepicker-month {
    display: none;
}

.payment-done-p2 {
    width: 80% !important;
    margin-bottom: 0;
}

.payment-failed .payment-failed-main p {
    font-family: "Roboto", serif;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    margin-top: 11px;
    color: #000000d4;
    width: 70%;
    line-height: 18px;
}

.payment-done-p {
    margin-top: 5px !important;
    color: #008000 !important;
}

.payment-done {
    position: absolute;
    top: calc(45% - 125px);
    left: calc(50% - 185px);
    padding: 20px;
}

.payment-cancel {
    position: absolute;
    top: calc(45% - 125px);
    left: calc(50% - 177px);
    padding: 20px;
}

.payment-load {
    position: absolute;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    padding: 20px;
}

.payment-load-p {
    width: 100% !important;
}

.payment-failed .payment-failed-main h5 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-family: Roboto;
    font-size: 25px;
    font-weight: 400;
    line-height: 10px;
    text-align: center;
}

.payment-failed .payment-failed-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-danger.focus,
.btn-danger:focus {
    color: unset;
    background-color: unset;
    border-color: unset;
    box-shadow: unset;
}

.btn-danger:not(:disabled):not(.disabled):active:focus,
.show>.btn-danger.dropdown-toggle:focus,
.btn-success:not(:disabled):not(.disabled):active:focus,
.show>.btn-success.dropdown-toggle:focus,
.btn-success.focus,
.btn-success:focus {
    box-shadow: none !important;
}

.create-submit-btn:focus-visible {
    outline: 0 !important;
}

.btn-primary:hover {
    background-color: var(--Secondary-color);
    border: 0;
    transition: background-color 0.3sease, box-shadow 0.3sease;
}

.btn-primary1:hover {
    background-color: var(--Secondary-color) !important;
    border: 0;
    transition: background-color 0.3sease, box-shadow 0.3sease;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: none;
}

.dt-buttons {
    display: none !important;
}

.input-group:hover .input-group-text {
    background-color: var(--Secondary-color);
    color: var(--text-white-color);
    transition: all 0.3s linear;
}

.input-group .form-control:hover {
    border-color: var(--Secondary-color);
    transition: all 0.3s linear;
}

.btn-primary-hover,
.btn-primary,
.btn-success,
.create-submit-btn {
    background-color: var(--text-secondary-color);
    border: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-hover-2 {
    background-color: var(--black-bg-color);
    border: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: unset !important;
    box-shadow: unset !important;
}

.btn-primary-hover:hover,
.btn-success:hover,
.create-submit-btn:hover {
    background-color: var(--Primary-color) !important;
    border: 0 !important;
}

.input-group-text {
    padding: 10px 15px 10px 15px;
}

#sidebar {
    background: var(--black-bg-color);
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover,
.c-sidebar .c-sidebar-nav-link:hover {
    color: var(--Secondary-color) !important;
    background-color: var(--Primary-color) !important;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover .c-sidebar-nav-icon,
.c-sidebar .c-sidebar-nav-link:hover>i {
    color: var(--Secondary-color) !important;
}


.c-show ul li:hover a,
.c-show ul li:hover a i {
    background: unset !important;
    color: var(--text-white-color) !important;
}

.c-show ul li .c-active,
.c-show ul li .c-active i {
    color: var(--Secondary-color) !important;
}

.c-show ul li a {
    color: var(--text-secondary-color) !important;
}

.c-sidebar-nav-dropdown-items {
    background: var(--Secondary-color) !important;
}

.c-show>a {
    background: var(--Primary-color) !important;
    color: var(--Secondary-color) !important;
}

.c-show>a>i {
    color: var(--Secondary-color) !important;
}

.c-sidebar .c-sidebar-nav-link.c-active .c-sidebar-nav-icon {
    color: var(--Secondary-color);
}

.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle,
.c-sidebar .c-sidebar-nav-link.c-active {
    color: var(--Secondary-color) !important;
    background: var(--Primary-color);
}

.c-sidebar>.c-sidebar-nav>.c-sidebar-nav-item>.c-active>i {
    color: var(--Secondary-color) !important;
}

.c-sidebar>.c-sidebar-nav>.c-sidebar-nav-item:hover {
    background: var(--Primary-color);
}

.c-sidebar .c-sidebar-nav-dropdown-toggle:hover::after {
    filter: brightness(0.0);
}

.c-sidebar .c-show .c-sidebar-nav-dropdown-toggle::after {
    filter: brightness(0.0);
}

.c-header-toggler>.text-dark {
    color: #000000 !important;
}

.input-group-text:hover .input-group-text i {
    color: black !important;
}

#kycRejectModal .modal-header .btn-close,
#sellerRejectModal .modal-header .btn-close {
    outline: 0 !important;
    background: transparent;
    font-size: 16px;
    border: 0 !important;
}

.c-sidebar-nav-link {
    position: relative;
}

.user_kyc_pending_count {
    position: absolute;
    right: 10px;
    top: calc(50% - 11px);
    font-weight: 700;
}

.c-sidebar .c-sidebar-nav-dropdown-toggle,
.c-sidebar .c-sidebar-nav-link,
.c-sidebar .c-sidebar-nav-dropdown-toggle .c-sidebar-nav-icon,
.c-sidebar .c-sidebar-nav-link .c-sidebar-nav-icon {
    color: var(--Primary-color);
}

.c-sidebar .c-sidebar-brand,
.c-sidebar .c-sidebar-header {
    background: var(--lite-black-bg-color);
    color: var(--black-bg-color);
}

.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--Primary-color);
    border-color: var(--Primary-color);
    box-shadow: unset !important;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

.c-sidebar-nav i {
    font-size: 20px !important;
}

.select2-container--bootstrap4 .select2-selection {
    border: 1px solid #ced4da !important; /* Match Bootstrap input border */
    height: calc(2.25rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.25rem !important;
}

.select2-container--bootstrap4 .select2-selection__rendered {
    line-height: 1.5;
}

.select2-container--bootstrap4 .select2-selection__arrow {
    height: 100%;
}

.select2-results__options {
    height: 400px;
    overflow: scroll;
    overflow-x: hidden;
}