/* status */

/* Status example */

/*
1 => 'text-green2',           //Approve
2 => 'text-red2',             //Rejected
3 => 'text-warning2',         //Pending
4 => 'text-gray',             //Cancelled
5 => 'text-warning2',         //Draft
6 => 'text-primary-lighter',  //Returned
7 => 'text-gray',             //Modified
8 => '',                      //Deleted
13 => 'text-warning2',        //Queue
14 => 'text-green2', //Executed
15 => 'text-red2',             //Ended
97 => 'text-gray2',             //Ended (Training)
*/

.status-desc.text-green,
.status-desc.text-green2,
.status-desc.approved {
    padding: 8px;
    border: 1px solid;
    color: var(--color-text-success);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-desc.text-warning,
.status-desc.text-warning2,
.status-desc.pending {
    padding: 8px;
    border: 1px solid;
    color: var(--color-text-warning);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-desc.text-gray,
.status-desc.text-gray2,
.status-desc.cancelled {
    padding: 8px;
    border: 1px solid;
    color: var(--color-primary-grey);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-desc.text-red,
.status-desc.text-red2,
.status-desc.rejected {
    padding: 8px;
    border: 1px solid;
    color: var(--color-text-danger);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-desc.secondary-status,
.status-desc.returned,
.status-s.text-blue {
    padding: 8px;
    border: 1px solid;
    color: var(--color-secondary-blue);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-s.text-emerald {
    padding: 8px;
    border: 1px solid;
    color: var(--color-green-emerald);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-s.text-warning-05,
.status-s.text-warning-lighter {
    padding: 8px;
    border: 1px solid;
    color: var(--color-badge-warning);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-s.text-grey-04 {
    padding: 8px;
    border: 1px solid;
    color: var(--color-text-input);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-s.text-success {
    border: 1px solid;
    color: var(--color-badge-success);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-s.text-stop {
    padding: 8px;
    border: 1px solid;
    color: var(--color-badge-danger);
    border-radius: 5px;
    font-size: var(--font-size-body);
    width: fit-content;
}

.status-desc {
    width: fit-content;
}

/* $color = [
    Status::PENDING => 'text-yellow',
    Status::APPROVED => 'text-green2',
    Status::REJECTED => 'text-danger',
    Status::RETURNED => 'text-primary-lighter',
    Status::CANCELLED => 'text-gray',
]; */

.sucess-status,
.status-s.text-green,
.status-s.text-green2,
.status-s.approved {
    border: 1px solid;
    color: var(--color-text-success);
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.status-s.text-draft {
    border: 1px solid var(--color-text-light-grey);
    color: var(--color-text-gray);
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.warning-status,
.status-s.text-yellow,
.status-s.text-warning2,
.status-s.pending {
    border: 1px solid;
    color: var(--color-text-warning) !important;
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.primary-status,
.status-s.text-gray {
    border: 1px solid;
    color: var(--color-primary-grey) !important;
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.error-status,
.status-s.text-danger,
.status-s.text-danger,
.status-s.text-red,
.status-s.text-red2,
.status-s.rejected {
    border: 1px solid;
    color: var(--color-text-danger);
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.secondary-status,
.status-s.text-primary-lighter,
.status-s.returned {
    border: 1px solid;
    color: var(--color-text-blue) !important;
    border-radius: 5px;
    font-size: var(--font-size-body);
}

.status-s {
    font-family: var(--font-family-500);
    font-size: var(--font-size-body);
    line-height: var(--line-height-heading-s);
    font-weight: var(--font-weight-500);
    padding: 5px 8px 2px;
    text-align: center;
    width: fit-content;
}

/* end of status */

/* profile */
.profile {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #eb8c00;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-s {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #eb8c00;
    right: 0px;
}

.profile .picture-holder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-clip: padding-box;
    background-size: cover;
    background-color: var(--color-background-border);
    background-position: center center;
    min-width: 70px;
    min-height: 70px;
}

.profile-image.pic-holder {
    box-shadow: unset;
    background-image: url(#);
    height: 150px;
    width: 150px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative !important;
    border-radius: 50%;
    margin: unset !important;
    background-color: #f2f2f2;
    border: 5px solid #fff;
}

.profile-image.pic-holder:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    opacity: 0.5;
    z-index: 1;
    border-radius: 50%;
}

.profile-image.pic-holder:hover::after {
    content: "Size limit 1MB";
    color: #3b3b3b;
    font-size: 14px;
    font-family: var(--font-family-500);
    font-weight: 500;
    position: absolute;
    top: -30px;
    left: -19px;
    width: 180px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.btn-upload-profile-image {
    position: relative;
    z-index: 3;
}

.profile .name {
    margin-top: 25px;
}
/* end of profile */

/* Action icon */

.action-icon {
    border: 1px solid #2d2d2d;
    padding: 5px 5px 3px;
    border-radius: 8px;
    font-size: 20px;
}

.action-icon:hover {
    background-color: #2d2d2d;
    color: #fff !important;
    cursor: pointer;
}

.action-icon.trash {
    border: 1px solid#D04A02;
    color: #c52a1a;
    background-color: #f3d4d1;
}

.action-icon.action-success {
    border: 1px solid #4ead58;
    color: #4ead58;
    background-color: #d3ebd5;
}

.action-icon.trash:hover {
    background-color: #c52a1a;
    color: #fff;
    border: 1px solid#C52A1A;
    cursor: pointer;
}

/* end of action icon */

/* checkbox */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #d04a02;
    border-radius: 4px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label:hover {
    cursor: pointer;
}

/* end of checkbox */

/* Toggle */

.switcher.switcher-success input:checked + label:before {
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
    border-width: 2px;
}

.switcher.switcher-success input:checked + label:hover {
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    height: 35px;
    width: 55px;
}

.toggle-switch input {
    display: none;
}

input:checked + .slider {
    background-color: var(--color-text-primary);
}

.slider.round {
    border-radius: 35px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-text-primary);
    -webkit-transition: background-color 0.4s;
    transition: background-color 0.4s;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider .round:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-color: white;
    left: 5px;
    bottom: 6px;
    -webkit-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
}

/* ON and OFF buttons */
.slider .on,
.slider .off {
    background-color: #fff;
    position: absolute;
    top: 6px;
    height: 24px;
    width: 24px;
    transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
    border-radius: 35px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
}

.slider .on {
    right: 5px;
    opacity: 1;
}

.slider .off {
    left: 5px;
    opacity: 1;
}

input:checked + .slider .on {
    opacity: 1;
}

input:checked + .slider .off {
    opacity: 0;
}

input:not(:checked) + .slider .on {
    opacity: 0;
}

input:not(:checked) + .slider .off {
    opacity: 1;
}

.slider .on:after {
    content: "On";
    position: absolute;
    right: 55px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    opacity: 1;
}

.slider .off:before {
    content: "Off";
    position: absolute;
    left: -30px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    opacity: 1;
}

input:not(:checked) + .slider .on:after {
    opacity: 0;
}

input:not(:checked) + .slider .off:before {
    opacity: 1;
}

input:checked + .slider .on:after {
    opacity: 1;
}

input:checked + .slider .off:before {
    opacity: 0;
}

.switcher {
    display: inline-block;
}

.switcher input {
    display: none;
}

.switcher label {
    display: block;
    margin: 0;
    width: 46px;
    height: 28px;
    position: relative;
}

.switcher label:before {
    content: '';
    display: block;
    width: 46px;
    height: 28px;
    background: #d5dbe0;
    border: 1px solid #d5dbe0;
    border-radius: 46px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -ms-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}

.switcher input:checked+label:after {
    left: 20px;
}

.switcher label:after {
    content: '';
    height: 24px;
    width: 24px;
    position: absolute;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 24px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -ms-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}
/* End of toggle */

/* Add and delete button */
.delete-button {
    padding: 8px;
    border-radius: 8px;
    color: #c52a1a;
    border: 1px solid #c52a1a;
    background-color: #f3d4d1;
}

.delete-button:hover {
    padding: 8px;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #d04a02;
    background-color: #d04a02;
    cursor: pointer;
}

.add-button {
    padding: 8px;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #d04a02;
    background-color: #d04a02;
}

.add-button:hover {
    padding: 8px;
    border-radius: 8px;
    color: #c52a1a;
    border: 1px solid #c52a1a;
    background-color: #f3d4d1;
    cursor: pointer;
}

.action-button {
    width: 50px;
    height: 50px;
}
/* End of Add and Delete Button */

/* multitext area */

.main-title-label {
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: "HelveticaNeue LT Pro 400" !important;
}

.circle-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.green-indicator {
    background-color: #21812d;
}

.description-label {
    font-size: 12px !important;
    font-weight: 500 !important;
    font-family: "HelveticaNeue LT Pro 500" !important;
}

/* End of multitext area */
/* DataTable UI */
.dataTables_filter .search-wrapper {
    position: relative;
    display: flex;
    transform: translateY(-50%);
    color: var(--color-text-input);
    font-size: var(--font-size-body);
    align-items: stretch;
    width: 100%;
}

.search-wrapper .button-icon {
    min-width: unset;
    height: unset;
    padding: 0 5px;
    margin-left: -8px;
}

.dataTables_wrapper .bottom,
.dt-container .bottom {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid var(--color-background-border);
    background: #fff;
}

.dt-paging {
    position: absolute;
    right: 40px;
}

.dataTables_wrapper.dt-bootstrap .dataTable,
.dataTables_wrapper.dt-bootstrap4 .dataTable {
    margin: 0 0 !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    min-width: 300px;
}

.dataTables_wrapper.dt-bootstrap .dataTables_filter,
.dataTables_wrapper.dt-bootstrap4 .dataTables_filter {
    margin-bottom: 10px;
}

body table.dataTable thead tr th.sorting:after,
body table.dataTable thead tr th.sorting_asc:after,
body table.dataTable thead tr th.sorting_desc:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc.dt-ordering-desc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc.dt-ordering-desc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc .dt-column-order:after {
    font-family: "appkit4-font" !important;
    color: var(--color-text-input) !important;
    bottom: 1.2em;
}

body table.dataTable thead tr th.sorting:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc.dt-ordering-asc .dt-column-order:after {
    content: "\e907" !important;
}

body table.dataTable thead tr th.sorting_asc:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc .dt-column-order:after {
    content: "\e906" !important;
}
body table.dataTable thead tr th.sorting_desc:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc.dt-orderable-desc.dt-ordering-desc .dt-column-order:after,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc.dt-orderable-desc.dt-ordering-desc .dt-column-order:after {
    content: "\e905" !important;
}

body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc .dt-column-order,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-desc .dt-column-order,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc .dt-column-order,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-desc .dt-column-order {
    top: 10px;
}

.dt-length .form-select {
    font-size: var(--font-size-body);
    color: var(--color-text-body);
    padding: 10px 25px 10px 10px;
    border: 1px solid var(--color-background-border) !important;
    border-radius: 8px;
    min-height: 47px;
    background-color: white;
    font-weight: 100;
}

.custom-select,
.dt-length .form-select {
    /* --bs-form-select-bg-img: none !important; */
    /* background: #fff
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 2 6'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
        no-repeat right 0.75rem center/8px 10px; 
    border: 1px solid var(--color-background-border) !important; */
}

.custom-select:after,
.dt-length .form-select:after {
    font-family: "appkit4-font" !important;
    color: var(--color-text-input);
    padding: 15px;
    position: absolute;
    display: inline-block;
    content: "\e85f";
}

.form-select:focus {
    box-shadow: none;
}

.table {
    color: var(--color-text-heading);
    margin-bottom: 0;
}

.table thead tr th {
    font-weight: 500;
    font-family: "HelveticaNeue LT Pro 500";
    border-bottom: unset;
    background: var(--color-badge-secondary);
}

.table.sample-table thead th {
    background: var(--color-badge-secondary);
    padding: 8px 20px;
    vertical-align: middle;
}

.table.sample-table td {
    padding: 8px 20px;
    vertical-align: middle;
}

.table-bordered:not(.fc-scrollgrid),
.table-bordered td:not(.fc-scrollgrid) {
    border: 1px solid var(--color-background-border);
}
.table-bordered {
    border-radius: 8px;
}

.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 1px;
}

.page-item.active .page-link {
    z-index: 2;
    padding: 8px 12px;
    margin: 0 5px;
}

.page-link {
    background-color: transparent;
    font-size: 16px;
    color: var(--color-text-body);
    padding: 8px;
}

.page-link.last {
    display: none;
}

.page-link,
.dataTables_wrapper.dt-bootstrap
    .dataTables_paginate
    .pagination
    .paginate_button
    a,
.dataTables_wrapper.dt-bootstrap4
    .dataTables_paginate
    .pagination
    .paginate_button
    a {
    border: 0;
}

.page-item.disabled .page-link {
    color: var(--color-calendar-disabled);
    background-color: transparent;
}

.dataTables_wrapper.dt-bootstrap
    .dataTables_paginate
    .pagination
    .paginate_button.active
    a,
.dataTables_wrapper.dt-bootstrap4
    .dataTables_paginate
    .pagination
    .paginate_button.active
    a,
.pagination-bg,
.page-link.active, .active > .page-link {
    background: var(--color-background-primary-light) !important;
    border-color: var(--color-background-primary-light);
    color: var(--color-text-tertiary) !important;
}

.dataTables_wrapper.dt-bootstrap
    .dataTables_paginate
    .pagination
    .paginate_button
    a,
.dataTables_wrapper.dt-bootstrap4
    .dataTables_paginate
    .pagination
    .paginate_button
    a {
    color: var(--color-text-input) !important;
    font-weight: 500;
    font-family: "HelveticaNeue LT Pro 500";
    background-color: transparent !important;
}

.dataTables_wrapper.dt-bootstrap4 .dataTables_info {
    color: var(--color-text-input);
    font-size: var(--font-size-body);
    font-weight: 400;
    font-family: "HelveticaNeue LT Pro 400";
}

.dataTables_wrapper.dt-bootstrap4 .dataTables_length label {
    color: var(--color-text-input);
    font-size: var(--font-size-body);
    font-weight: 400;
    font-family: "HelveticaNeue LT Pro 400";
}

/* End of DataTable UI */
.react-table.table-responsive {
    display: block !important;
}

.table.react-table thead th {
    background: var(--color-badge-secondary);
    padding: 10px 20px;
    vertical-align: middle;
    color: var(--color-text-heading);
}

.table.react-table tr td {
    border: 0;
    border-bottom: 1px solid var(--color-background-border);
    padding: 10px 20px;
}

.react-table thead th:first-child {
    border-top-left-radius: 4px;
}

.react-table thead th:last-child {
    border-top-right-radius: 4px;
}

.pagination {
    font-weight: 400;
}

.pagination-bg {
    border-radius: 4px;
}

@media (max-width: 767px) {
    .profile-image.pic-holder {
        width: 100px; /* Adjust the size as needed */
        height: 100px;
        margin: 0 auto;
    }

    .profile-image.pic-holder:hover::after {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        font-size: 10px;
    }

    .d-splash-image-profile {
        background-image: unset !important;
    }
}

.dataTables_length select {
    padding-right: 20px; /* Add space between number and dropdown icon */
    appearance: none; /* Optional: Remove default browser styles for dropdown */
    background-position: calc(100% - 10px) center; /* Adjust icon position */
    background-repeat: no-repeat;
}

.border-tangerine {
    width: 60px;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #eb8c00;
    padding: 5px;
    background-color: #fff;
    font-size: 16px;
    display: flex;
    line-height: 1.8;
}

body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-asc:hover,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>th.dt-orderable-desc:hover,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-asc:hover,
body .dt-container.dt-bootstrap5 table.dataTable thead>tr>td.dt-orderable-desc:hover {
    outline-offset: unset;
    outline: 0
}