.choose-files input[type="file"] {
    position: absolute !important;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-bottom: 0 !important;
}

.file {
    position: relative !important;
    left: 0;
    opacity: 0;
    top: 0;
    bottom: 0;
    width: 80%;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.accordion .accordion-header {
    background-color: #f5f5f5;
}

.browse-btn {
    cursor: pointer;
}

.browse-btn:hover {
    color: #ffffff !important;
}

[data-selected="true"] .qxt-uploader-select .card-file-thumb {
    box-shadow: 1px 3px 20px #959595;
    outline: 3px solid #080f8d;
}

[data-selected="true"] .qxt-uploader-select::after {
    position: absolute;
    left: auto;
    right: -6px;
    top: -2px;
    bottom: auto;
    background-color: #080f8d;
    width: 30px;
    height: 30px;
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    text-align: center;
}

.w-200px,
.size-200px {
    width: 200px;
}

.media-files-box {
    position: relative;
}

.media-files-box .card-file .card-file-thumb {
    position: absolute;
    width: calc(100% - 16px);
    top: 8px;
    left: 8px;
    height: calc(100% - 16px);
    overflow: hidden;
    border-radius: 3px;
}

.media-files-box .card-file .card-body {
    position: absolute;
    width: calc(100% - 16px);
    bottom: 8px;
    left: 8px;
    padding: 10px 14px;
    background-image: linear-gradient(#ffffff00, black);
    right: 0;
    color: #fff;
    border-radius: 0px 0px 3px 3px;
}

.media-files-box .card-file .card-body h6 {
    font-size: 12px;
}

.media-files-box .card-file .card-body p {
    font-size: 10px;
    margin: 0;
    line-height: normal;
}

.media-files-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.media-files-box .card-file {
    cursor: pointer;
    /* overflow: hidden; */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.card-file {
    padding: 8px;
    position: relative;
    border-color: rgb(223, 224, 228);
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}

.card-file .card-file-thumb {
    height: 120px;
    background-color: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-file .card-file-thumb img {
    max-width: 100%;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-files-box .dropdown-images {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}

.media-files-box .dropdown-images .dropdown-menu {
    width: 175px;
}

.media-files-box .dropdown-images>a {
    color: #5a5a5a;
    background: #f5f6fa;
    cursor: pointer;
    padding: 2px 6px 1px 2px;
}

.file-show-item h6 {
    font-size: 13px;
    margin-bottom: 0;
}

.file-show-item {
    padding: 8px;
    border: 1px solid #ebedf2;
    border-radius: 0.25rem;
}

.file-show-item p {
    font-size: 10px;
    margin-bottom: 0;
    color: var(--secondary);
}

.file-show-item .thumb {
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    max-width: 50px;
    height: 45px;
    width: 50px;
    text-align: center;
    background: #f1f2f4;
    font-size: 20px;
    color: #92969b;
    border-radius: 0.25rem;
    overflow: hidden;
}

.file-show-item .thumb img {
    height: 45px;
}

.file-show-item .remove {
    -ms-flex: 0 0 30px;
    flex: 0 0 30px;
    max-width: 30px;
    width: 30px;
}

.file-show-item .body {
    min-width: 0;
}

.file-show.box a {
    color: inherit;
}

.file-show.box:after {
    content: "";
    clear: both;
    display: table;
}

.file-show.box .file-show-item {
    width: 160px;
    float: left;
    margin-right: 0.5rem;
    padding: 0;
    display: block !important;
    position: relative;
}

.file-show.box .thumb {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    border-radius: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.file-show.box.sm .file-show-item {
    width: 100px;
}

.file-show.box.sm .thumb {
    height: 52px;
}

.file-show.box .body {
    padding: 0;
    padding: 8px 8px 2px;
}

.file-show.box .remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: auto;
    max-width: 100%;
}

.file-show.box .remove .btn {
    padding: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eaeaea;
}

@media (min-width:992px) {

    .w-lg-220px,
    .size-lg-220px {
        width: 220px;
    }
}

@media (max-width:992px) {
    .dataTables_scrollBody {
        overflow: auto !important;
    }

    .w-lg-220px,
    .size-lg-220px {
        width: 220px;
    }
}

.modal {
    overflow-y: scroll;
}

/* Add this to your CSS */
.password-input-container {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.my-custom-modal {
    height: 500px;
    /* Set the desired height here */
    overflow-y: auto;
    /* Add scroll if content overflows */
}

.table-container {
    height: 400px;
    overflow-y: auto;
}

.ui-tooltip-content {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0.25rem;
}

.main-sidebar img {
    max-width: 250px;
    max-height: 70px;
}

.login-brand img{
    max-width: 250px;
    max-height: 70px;
}


@media (max-width: 767px) {
    .table tbody tr td:last-child span {
        display: flex;
    }

    .table tbody tr td:last-child span .btn {
        margin-right: 5px;
    }
}

@media (max-width: 767px) {

    .w-md-50 {
        width: 50% !important;
    }
}

.logo-content {
    max-width: 200px;
    margin: auto;
}

#app-dark-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
