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

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

.btn-primary {
    background-color: #e30c0c;
    border-color: #e30c0c;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(0, 0, 0, 0.849);
    border-color: rgba(0, 0, 0, 0.547);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.447);
}

.input-group .form-control:focus {
    border-color: #432f74;
    box-shadow: 0 0 5px rgba(95, 60, 145, 0.5);
}

.login-page .c-app {
    font-family: inherit;
    background-image: url(../img/pexels-photo-29098432.webp);
    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 .form-control:focus {
    border-color: #e30c0c;
    box-shadow: 0 0 5px rgba(95, 60, 145, 0.5);
}

.input-group .form-control:hover {
    border-color: #e30c0c;
    transition: all 0.3s linear;

}

.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:hover .input-group-text {
    background-color: #e30c0c;
    color: #fff;
    transition: all 0.3s linear;
}

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

.c-sidebar a:hover {
    background: #1808a9c4 !important;
    transition: all 0.3s linear;
}

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

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