/* Dropzone */
.dropzone {
    min-height: 150px;
    border: none;
    background: #fff;
    /* padding: 43px 20px; */
    text-align: center;
}

.dropzone {
    background: #e1e1e1 !important;
    border-radius: 13px !important;
    /* max-width: 550px !important; */
    margin-left: auto !important;
    margin-right: auto !important;
    border: none !important;
    border: 3px dotted #808080 !important;
    /* margin-top: 10px !important; */
}

.dropzone-container.svelte-12uhhij.svelte-12uhhij {
    border-radius: 2.5rem;
    border: 3px px solid white;
    background: white;
    width: 21.875rem;
    height: 19.875rem;
    width: 100%;
    max-width: 35.875rem;
    margin: auto;
    box-shadow: 0 0.625rem 1.25rem #8b8b8b1a;
}

.navbar .dropdown-menu {
    /* margin: 0 -74px !important; */
}

@media only screen and (min-width: 769px) {
    .actions {
        transform: translate(0px, 33px) !important;
    }
}

@media only screen and (max-width: 768px) {
    .actions {
        transform: translate3d(1px, 33px, 10px) !important;
    }
}

.dropzone .dz-message {
    text-align: center;
    margin: 7.5em 0 !important;
}

.page-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.subheader {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

.text-custom {
    color: #333333 !important;
}

.page-pretitle {
    font-size: 0.8rem !important;
}

.h6,
h6 {
    font-size: 0.8rem !important;
}

.h5,
h5 {
    font-size: 0.9rem !important;
}

.h4,
h4 {
    font-size: 1.1rem !important;
}

.h3,
h3 {
    font-size: 1.3rem !important;
}

.h2,
h2 {
    font-size: 1.4rem !important;
}

.h1,
h1 {
    font-size: 1.5rem !important;
}

@media (min-width: 992px) {
    .h-lg-1 {
        font-size: 1.4rem !important;
    }
    .navbar-vertical.navbar-expand-lg .navbar-brand {
        justify-content: start !important;
        margin-inline: 15px;
    }
}

p {
    margin-bottom: 0;
}

.markdown > table > :not(caption) > * > *,
.table > :not(caption) > * > * {
    padding: 0.5rem;
}

a {
    text-decoration: none !important;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3 !important;
}

.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link.show,
.navbar .navbar-nav .show > .nav-link {
    color: #206bc4 !important;
    font-weight: 600 !important;
}

.navbar .navbar-nav .nav-link {
    font-weight: 600 !important;
}

body.theme-dark .navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.theme-dark .dropdown-item {
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

body.theme-dark .preloader-wrapper {
    background-color: #1e293b !important;
}

/* Preloader */
.ploader-size {
    height: 200px;
    width: 200px;
}
.loading {
    display: flex;
    justify-content: center;
}

.loading::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 4px solid #dddddd;
    border-top-color: #f69545;
    border-radius: 50%;
    animation: loading 1s ease infinite;
}

@keyframes loading {
    to {
        transform: rotate(2turn);
    }
}

.navbar .navbar-brand {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

.dropdown-item {
    font-weight: 600 !important;
}

.bg-rose {
    background-color: #db25db !important;
}

.bg-custom1 {
    background-color: #D1E9FB;  /* Slightly darker Soft Blue */
    border: 1px solid #A8C8D8;  /* Darker shade of blue for border */
}

.bg-custom2 {
    background-color: #D1E9D4;  /* Slightly darker Mint Green */
    border: 1px solid #A3C8A1;  /* Darker shade of mint for border */
}

.bg-custom3 {
    background-color: #F1E0D3;  /* Slightly darker Soft Peach */
    border: 1px solid #E0C0A0;  /* Darker peach shade for border */
}

.bg-custom4 {
    background-color: #E3D9FF;  /* Slightly darker Lavender */
    border: 1px solid #C4B8FF;  /* Darker lavender shade for border */
}

.dropdown-divider {
    border-top: 1px solid lightgrey !important;
}

.btn {
    border-radius: 12px !important;
    font-size: 1rem !important;
    /* border: none !important; */
    padding: 10px 18px !important;
}

.btn-custom {
    font-size: 0.8rem !important;
    padding: 2px 10px !important;
}

.img-rounded {
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.bottom-fix {
    position: fixed;
    width: 99%;
    bottom: 0;
    left: 0;
    padding: 15px;
    background: #f6f8fb;
    z-index: 999;
    margin: 5px 5px;
    transition: all 0.8s ease;
}

#table-plan_previous,
#table-plan_next,
#table_previous,
#table_next {
    padding: 0px 18px;
}

.small-btn {
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    padding: 0.35rem 0.7rem !important;
}

.form-selectgroup-label {
    border-radius: 8px;
    color: #4c5661 !important;
}
.sp-dd {
    display: none !important;
}
.sp-preview {
    margin-right: 0px !important;
    border: #dce1e7 solid 1px !important;  
    border-radius: 8px !important;
    width: 40px !important;
    height: 30px !important;
}
.sp-replacer {
    padding: 7px !important;
    border-radius: 8px !important;
    border: #dce1e7 solid 1px !important;     
}
.sp-preview-inner {
    border-radius: 8px !important;    
}
.input-group {
    box-shadow: none;
}

.card {
    border-radius: 16px !important;    
}
.markdown > table,
.table {
    --tblr-table-accent-bg: transparent !important;
    --tblr-table-striped-bg: transparent !important;
}

.markdown > table thead th,
.table thead th {
    background: #f0f2f6 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.tbody,
td,
tfoot,
th,
thead,
tr {
    border-style: none !important;
    border-bottom: 1px solid #e6e8e9 !important;
}

.actions {
    border-radius: 14px !important;
}

.act-btn {
    padding: 7px 14px !important;
}

.form-select,
.form-control {
    line-height: 1.8 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.theme-dark .form-control {
    background-color: #1b2434 !important;
    color: #fafbfc;
}

.theme-dark .page-item:first-child .page-link,
.theme-dark .page-item:last-child .page-link,
.theme-dark code,
.theme-dark .text-muted,
.theme-dark .footer,
.theme-dark .link-secondary,
.theme-dark .subheader,
.theme-dark card-title {
    color: #fafbfc !important;
}

.theme-dark .page-pretitle {
    color: #aeb1b5 !important;
}

.theme-dark .navbar-brand-autodark {
    filter: drop-shadow(0 0 3px white) brightness(1);
}

.theme-dark .form-help {
    color: #fafbfc !important;
    background: #206bc4;
}

.theme-dark input,
.theme-dark select,
.theme-dark textarea {
    color: #fafbfc;
}

.theme-dark .legend,
.theme-dark .progress {
    background: #aeb1b5;
}

.theme-dark .btn-dark {
    background: #fff;
    color: #000;
}

.theme-dark .dropzone {
    color: #000000;
}

.form-label {
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

table.dataTable thead .sorting_asc {
    /* background-image: url(../images/sort_asc.png) !important; */
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-position-y: center !important;
    background-size: 15px !important;
}

table.dataTable thead .sorting {
    /* background-image: url(../images/sort_both.png); */
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-position-y: center !important;
    background-size: 15px !important;
}

.dataTables_filter input {
    background-color: transparent !important;
    line-height: 1.8 !important;
    font-size: 0.95rem;
    font-weight: 600 !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
}

.dataTables_filter input:focus-visible {
    outline-style: none !important;
}

.dataTables_length {
    padding: 20px 20px 0px 20px !important;
}

.dataTables_filter {
    padding: 20px 20px 0px 20px !important;
}

.dataTables_info {
    padding: 6px 20px 13px 20px !important;
}

.dataTables_paginate {
    padding: 4px 20px 13px 20px !important;
}

.dataTables_filter label,
.dataTables_length label,
.dataTables_info,
.paginate_button {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}
.dataTables_length select {
    text-align: center;
    background-color: transparent !important;
    line-height: 1.3 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 0.35rem 0.4rem !important;
    margin: 0px 6px 10px 6px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    display: inline-block;
    font-weight: 600 !important;
    line-height: 1.4285714;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: transparent !important;
}

.badge {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
}

.dt-buttons {
    text-align: end !important;
}

/* Only for small screens */
@media screen and (max-width: 767px) {
    aside.navbar {
        position: sticky !important;
        width: 100% !important;
        top: 0 !important;
        z-index: 99999 !important;
    }

    .active > .page-link,
    .page-link.active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 35px !important;
        width: 35px !important;
        border-radius: 10px !important;
    }

    .pagination {
        --tblr-pagination-padding-x: 0.85rem;
    }
    .pagination {
        display: flex !important;
        align-items: center !important;
    }
}

table {
    width: 100% !important;
}

.admin-avatar {
    background-image: url("../backend/static/avatars/000m.jpg") !important ;
}

.logout {
    display: none;
}

.authentication {
    z-index: 10;
}

.web-index {
    z-index: 0;
}

.minimal-msg {
    padding: 10px;
}

.mail-header {
    display: inline-block;
}

.web-cookies {
    bottom: 30px;
    left: 20px;
}

.web-nav-top {
    top: -2rem;
    right: 3rem;
    z-index: -1;
}

.web-nav-bottom {
    bottom: -2rem;
    right: -2rem;
    z-index: -1;
}

.web-nav-bottom-3 {
    top: 3rem;
    right: -3rem;
    z-index: -1;
}

.web-nav-bottom-2 {
    bottom: 2.5rem;
    left: -4.5rem;
    z-index: -1;
}

/* g-recaptcha */
.recaptcha {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 87px;
}

/* Register */
a:hover {
    cursor: pointer;
}

.rtl-justify-between {
    justify-content: flex-end;
}

/* Datatable response */
div.table-responsive > div.dataTables_wrapper > div.row {
    margin: 2px;
}

div.table-responsive > div.dataTables_wrapper > div.row:last-child {
    margin-top: 10px;
}

/* Disable container */
.container-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.icon-padding {
    height: 40px;
    width: 40px;
}

.top-10 {
    top: 10px;
}

/* Custom Logo */
.custom-logo {
    height: 3rem !important;
    filter: brightness(1) invert(0) !important;
}

/* Font awesome icons */

[data-bs-theme="dark"] .iconpicker .iconpicker-item {
    color: #000000;
}

/*----------------------- Preloader -----------------------*/
body.preloader-site {
    overflow: hidden;
}

[data-bs-theme="dark"] .preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

[data-bs-theme="dark"] .preloader-wrapper {
    height: 100%;
    width: 100%;
    background: #151f2c;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.preloader-wrapper .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.float-right {
    float: right !important;
}

/* Languages */
/* For Mobile Portrait View */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

/* For Mobile Landscape View */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

/* For Mobile Phones Portrait or Landscape View */
@media screen and (max-device-width: 640px) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

/* For iPhone 4 Portrait or Landscape View */
@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

/* For iPhone 5 Portrait or Landscape View */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

/* For iPhone 6 and 6 plus Portrait or Landscape View */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
    select#chooseLang {
        padding: 0.2375rem 0.55rem 0.2375rem 0.55rem;
    }
}

.custom-section {
    display: flex !important;
}

.custom-textbox {
    padding: 10px;
}

.nav-link-icon svg {
    color: #206bc4 !important;
}

.custom-icon {
    height: 50px !important;
    width: 50px !important;
    padding: 10px 10px 10px 20px;
}

.icon-gray {
    color: gainsboro !important;
}

.icon-primary {
    color: #206bc4 !important;
}

.icon-success {
    color: rgb(5, 182, 5) !important;
}

.icon-danger {
    color: tomato !important;
}

.footer {
    top: 94%;
    right: 17%;
}

.avatar {
    box-shadow: none;
}

.form-imagecheck-figure {
    border: var(--tblr-border-width) var(--tblr-border-style) #dadfe538;
    box-shadow: 10px 5px 5px #dadfe538;
}

input#plink {
    border-radius: 0px !important;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_info {
        text-align: start !important;
    }
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: end !important;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: end !important;
    }
}

[data-bs-theme="dark"] .dataTables_filter input,
[data-bs-theme="dark"] .dataTables_length select {
    background-color: #ffffff !important;
    color: #000000;
}

[data-bs-theme="dark"] text {
    fill: rgb(250, 250, 250);
}

.swal-text {
    text-align: center !important;
}

.swal2-container.swal2-center.card.swal2-backdrop-show {
    position: absolute;
    display: grid;
}

/* mobile navbar sidebar under lg breakpoint */
@media (max-width: 992px) {
    .navbar-collapse.collapsing .navbar-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -65%;
        transition: all 0.1s ease-in-out;
    }
    .navbar-collapse.show .navbar-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        height: auto;
        width: 65%;
        transition: left 0.2s ease-in-out;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        z-index: 9999999 !important;
    }
}

/* Preloader */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#nativecode-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader animation */
.nativecode-loading {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 4px solid transparent;
    border-radius: 50%;
    border-top-color: #015ac4;
    /* You can set your desired color */
    animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.2s;
}
