@import url('/assets/css/custom-toast.css');

.select2-selection {
    border: none !important;
}

.select2-dropdown {
    border-color: #ced4da !important;
}

.select2-dropdown {
    margin-top: 7px !important;
}

.form-select2 {
    padding: 3px;
}

.toggle-group .btn {
    font-size: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fade:not(.show):not(.popover) {
    /*opacity: 0!important;*/
}

.popover {
    /*opacity: 1!important;*/
}

.select2-container {
    /*z-index: 5000!important;*/
    width: 100% !important;
}

#page-topbar {
    /*z-index: 10000;*/
}

.font-weight-bold {
    font-weight: bold !important;
}

/*.fade-enter-active, .fade-leave-active {*/
/*    transition: opacity .3s;*/
/*}*/
/*.fade-enter, .fade-leave-to !* .fade-leave-active below version 2.1.8 *! {*/
/*    transition: opacity .3s;*/
/*    opacity: 0;*/
/*}*/

.dropdown-menu[style] {
    left: 0 !important;
    right: 0;
}

.back-button {
    position: absolute;
    right: 15px;
    top: 25px;
    font-size: 17px;
    color: white;
}

.text-left {
    text-align: left !important;
}

.datepicker-dropdown {
    position: absolute;
    background: white;
    border: 1px solid var(--bs-gray-400);
}

.table-actions-btn {
    padding: 2.15px 8px !important;
}

[v-cloak] {
    display: none !important;
}

.admin-profile-menu li a, .admin-profile-menu li a span {
    color: black !important;
}

.table-sortable tbody tr {
    cursor: move;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #f6f6f6 !important;
}

.v-tour__target--highlighted {
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .4) !important;
}

@media print {

    body {
        background-color: #fff;
    }

    .receipt_print {
        width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        -webkit-box-shadow: 0 0 0 rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 1);
        padding: 3rem 3rem;
    }

    .btn-print {
        display: none;
    }

}

.copy {
    opacity: 0;
    width: 1px;
    padding: 0;
    margin: 0;
    border: none;
}

.category-title-1 .btn-light {
    color: #5B626B;
    background-color: #fff;
}

.notification-item {
    overflow-wrap: anywhere;
}

.notification-item.unseen .d-flex {
    background-color: #f8f9fa;
}

table tr td:not(:last-child) {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.repeat table tr td {
    white-space: normal;
}

.select2-dropdown {
    z-index: 3000;
}

.changelogs-feed {
    padding: 0;
    padding-right: 6px;
}

.changelogs-feed .feed-item {
    cursor: pointer;
    padding: 0;
    /*padding-right: 8px;*/
}

.changelogs-feed .feed-item .feed-item-list {
    padding: 15px;
}

.changelogs-feed .feed-item:hover .feed-item-list {
    background-color: #f8f9fa;
}

.changelogs-feed .feed-item::after {
    top: 15px;
}

.changelogs-feed .old-feed::after {
    background: #dedede !important
}

.btn-remove-img {
    position: relative;
    left: 50px;
    top: 22px;
    border-radius: 15px;
    line-height: 16px;
    font-size: 10px;
    border: 2px solid #fff;
}

@media (max-width: 1330px) {
    .table-responsive .dropdown-menu {
        position: absolute !important;
    }
}

@media (min-width: 1329px) {
    .table-responsive {
        /* overflow: visible; */
    }
}

.flex-auto {
    flex: auto;
}

[v-cloak] {
    display: none;
}

.select2-container--default .select2-selection--single {
    background-color: white;
    border: 1px solid #ced4da !important;
    height: 35px !important;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
}

.invoice-details table > thead > tr {
    background-color: #f9f9f9;
}

.card-status {
    position: absolute;
    left: 7px;
    padding: 2px 16px;
    border-radius: 4px;
    top: 8px;
}

.select2-dropdown {
    z-index: 50000 !important;
}

.vertical-menu {
    position: fixed !important;
}

.tooltip {
    z-index: 0;
}

.chat-conversation {
    max-height: 80vh;
    overflow-y: auto;
}

.attachment {
    display: flex;
}

.attachment--without-remove-button .attachment__download {
    border-left: 1px solid #767a9d;
    border-radius: 5px;
}

.attachment__download {
    display: flex;
    flex-grow: 1;
    background-color: rgba(118, 122, 157, 0.03);
    border: 1px solid #767a9d;
    /* border-left: none; */
    align-items: center;
    height: 45px;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s;
}

.attachment__download:hover {
    background-color: rgba(118, 122, 157, 0.1);
}

.attachment__extension {
    display: block;
    width: 45px;
    height: 45px;
    text-align: center;
    background-color: #767a9d;
    color: #fff;
    font-weight: bold;
    line-height: 50px;
    margin-left: 10px;
    border-radius: 0 5px 5px 0;
}

.attachment__name {
    font-weight: bold;
    color: #767a9d;
}

.attachment__download-icon {
    color: #767a9d;
    margin-right: auto;
    font-size: 1.35rem;
    margin-left: 10px;
}

.attachment__download-icon::before {
    display: block;
}

.attachment__remove {
    display: block;
    background-color: rgba(181, 62, 116, 0.03);
    color: #b53e74;
    width: 45px;
    height: 45px;
    border: 1px solid #b53e74;
    font-size: 1.35rem;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s;
}

.attachment__remove:hover {
    background-color: #b53e74;
    color: #fff;
}

.attachment__remove-icon::before {
    display: block;
}

.attachment__add {
    display: block;
    background-color: rgba(181, 62, 116, 0.03);
    color: #767a9d;
    border: 1px solid #767a9d;
    font-size: 1.35rem;
    border-radius: 5px 0 0 5px;
    transition: all 0.3s;
}

.attachment__add:hover {
    background-color: #767a9d;
    color: #fff;
}

.attachment__add-icon::before {
    display: block;
}

.select2-container--default.select2-container--disabled .select2-selection--single,
.form-select:disabled {
    background-color: transparent !important;
}

.colored-card {
    background: #767a9d;
}

.mini-stat .stat-icon i {
    font-size: 2.5rem;
    display: inline-block;
}

.mini-stat .stat-icon i::before {
    display: block;
}

.mini-stat .mini-stat-img img {
    max-width: 32px;
}

.mini-stat .mini-stat-img {
    background: transparent !important;
}

.mini-stat .mini-stat-label {
    position: absolute;
    left: 0;
    top: 18px;
    padding: 2px 32px 2px 10px;
    -webkit-clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 24% 50%, 6% 0);
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 24% 50%, 6% 0);
}

[dir=rtl] .mini-stat-label {
    -webkit-clip-path: polygon(0 0, 94% 0, 76% 50%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 94% 0, 76% 50%, 100% 100%, 0 100%);
}

/* CSS Switch */
input[switch]:checked + label:after {
    right: 42px !important;
}

input[switch] + label {
    width: 65px !important;
}

input[switch]:checked + label:before {
    left: 7px;
}

input[switch] {
    display: none;
}

input[switch] + label {
    font-size: 1em;
    line-height: 1;
    width: 56px;
    height: 24px;
    background-color: #ced4da;
    background-image: none;
    border-radius: 2rem;
    padding: 0.16667rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    font-weight: 500;
    transition: all 0.1s ease-in-out;
}

input[switch] + label:before {
    color: #343a40;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
    position: absolute;
    left: 1px;
    margin: 3px;
    top: -2px;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
}

input[switch] + label:after {
    content: "";
    position: absolute;
    right: 3px;
    background-color: #e9ecef;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 2px;
    transition: all 0.1s ease-in-out;
}

input[switch]:checked + label {
    background-color: #505685;
}

input[switch]:checked + label {
    background-color: #505685;
}

input[switch]:checked + label:before {
    color: #fff;
    content: attr(data-on-label);
    left: auto;
    right: 3px;
}

input[switch]:checked + label:after {
    right: 33px;
    background-color: #e9ecef;
}

input[switch="bool"] + label {
    background-color: #9e9c9d;
}

input[switch="bool"] + label:before,
input[switch="bool"]:checked + label:before,
input[switch="default"]:checked + label:before {
    color: #fff;
}

input[switch="bool"]:checked + label {
    background-color: #368a65;
}

input[switch="default"]:checked + label {
    background-color: #a2a2a2;
}

input[switch="primary"]:checked + label {
    background-color: #505685;
}

input[switch="success"]:checked + label {
    background-color: #368a65;
}

input[switch="info"]:checked + label {
    background-color: #38a4f8;
}

input[switch="warning"]:checked + label {
    background-color: #f8b425;
}

input[switch="danger"]:checked + label {
    background-color: #b53e74;
}

input[switch="dark"]:checked + label {
    background-color: #343a40;
}

.square-switch {
    margin-left: 7px;
}

.square-switch input[switch] + label,
.square-switch input[switch] + label:after {
    border-radius: 0px;
}

.swal2-html-container {
    white-space: pre-wrap;
}

.mx-calendar {
    font-family: 'Tajawal', sans-serif;
}

.page-topbar .event-select-wrapper {
    width: 100%;
    max-width: 350px;
}

.subscriptions-switchers {
    min-width: 300px;
}

.morris-charts text:first-of-type {
    fill: #343a40 !important;
}

.morris-charts text:last-of-type {
    fill: #606669 !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    right: 5px !important;
}

table tbody .sortable-handle {
    cursor: move;
}
.cursor-pointer {
    cursor: pointer !important;
}

@media print { 
 /* All your print styles go here */
 #header, #footer, #nav { display: none !important; } 
}
.btn-filter-container {
    position: relative;
}

.btn-filter-container .btn-remove-filter {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 32px;
    bottom: 25px;
    padding: 0;
    border-radius: 50%;
}
.app-table-search.app-search .form-control{
    height: 38px;
    padding-right: 20px;
    padding-left: 40px;
    background-color: #f5f5f5;
    box-shadow: none;
    border-radius: 5px;
    border: 1px solid #b8bfd1;
    color: #5a5a5a;
    min-height: 40px;
}
.app-table-search.app-search button {
    background-color: #415a77;
    box-shadow: none;
    border-radius: 5px !important;
    border: 1px solid #dde3ed;
    color: #ffffff;
    min-height: 40px;
}
.btn-gray{
    background-color: #595959;
    border-color: #484848;
    color: #fff !important;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
  }
  .pagination__item--disabled .pagination__item-link {
    color: var(--tt-text-disabled);
    cursor: not-allowed;
    pointer-events: none;
  }
  .pagination__item--disabled .pagination__item-link:hover {
    background-color: transparent;
    border-color: transparent;
  }
  .pagination__item--active .pagination__item-link {
    background-color: #403C44;
    color: #fff;
    cursor: default;
    pointer-events: none;
  }
  .pagination__item--active .pagination__item-link:hover {
    background-color: #403C44;
    color: #fff;
    border-color: transparent;
  }
  .pagination__item--prev {
    margin-left: 4px;
  }
  @media (min-width: 576px) {
    .pagination__item--prev {
      margin-left: 10px;
    }
  }
  .pagination__item--next {
    margin-right: 4px;
  }
  @media (min-width: 576px) {
    .pagination__item--next {
      margin-right: 10px;
    }
  }
  .pagination__item-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--tt-text-normal);
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
  }
  @media (min-width: 576px) {
    .pagination__item-link {
      width: 32px;
      height: 32px;
      font-size: 13px;
      line-height: 20px;
    }
  }
  .pagination__item-link:hover {
    background-color: var(--tt-white);
    border-color: var(--tt-border-normal);
    color: var(--tt-text-normal);
  }
  .pagination__item-dots {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-text-normal);
    border-radius: 8px;
    border: 1px solid transparent;
  }
  @media (min-width: 576px) {
    .pagination__item-dots {
      width: 32px;
      height: 32px;
    }
  }
  .pagination__item-icon {
    font-size: 24px;
  }
  
  .empty-section {
    background-color: var(--tt-bg-disabled);
    border: 1px solid var(--tt-border-normal);
    border-radius: 16px;
    padding: 50px 16px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .empty-section__banner {
    display: block;
    width: 80px;
    margin: 0 auto 20px;
  }
  .empty-section__title {
    color: var(--tt-text-normal);
    margin-bottom: 4px;
  }
  .empty-section__desc {
    color: var(--tt-text-disabled);
    max-width: 240px;
    margin: 0 auto;
  }
  .empty-section__bg {
    width: 90%;
    margin-top: 50px;
    margin-bottom: -2px;
  }
  