.dropzone {
    min-height: 174px;
    border: 2px dashed #ced4da;
    background: #fff;
    border-radius: 6px;
    position: relative;
}
.dropzone.dz-drag-hover {
    border: 2px dashed var(--primary-color-2);
}
.dropzone .dz-message {
    font-size: 24px;
    width: 100%;
}

.kyc-doc-verification .dropzone {
    min-height: 180px;
}

.kyc-doc-verification .dropzone .dz-message {
    margin: 24px 0;
}

.dropzone .dz-preview {
    width: 190px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    background: #fff;
    outline: solid 2px transparent;
}

.dropzone .dz-preview::after {
    z-index: 11;
    width: 100%;
    height: 90px;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.65) 0,
        rgba(0, 0, 0, 0.65) 7%,
        transparent 82%,
        transparent
    );
}

.dropzone .dz-preview:hover {
    box-shadow: 0 4px 5px rgb(0 0 0 / 30%);
}

.dropzone.dropzone-previews.dz-clickable .dz-preview:hover {
    cursor: pointer;
}

.dropzone .dz-preview .dz-image {
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    height: 150px;
    position: relative;
    display: block;
    z-index: 10;
}

.dropzone .dz-preview .dz-image img {
    height: auto;
    max-height: 100%;
}

.dropzone .dz-preview .dz-filename > span {
    width: fit-content;
    font-weight: 700;
    font-size: 13px;
}

.dropzone .dz-preview .dz-footer {
    border-top: 1px solid #e4ebf1;
    font-size: 11px;
    line-height: 11px;
    color: #90a0b3;
}

.dropzone .dz-preview .dz-toolbar {
    top: 2px;
    right: 0;
    position: absolute;
    width: 100%;
    z-index: 12;
}

.dropzone .dz-preview .copied,
.dropzone .dz-preview [flash-message] {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    text-align: center;
    margin-left: -40%;
    margin-top: -25px;
    padding: 5px 8px;
    z-index: 99;
    color: #fff;
    background-color: rgb(111, 195, 116, 0.8);
    /* background-color: rgb(243, 111, 40, 0.8); */
    border-radius: 3px;
}

.dropzone .dz-preview .dropdown-toggle::after {
    color: transparent;
}

.dropzone .dz-preview .dropdown-menu {
    margin-top: 5px;
}

.dropzone .dz-preview .dropdown-menu:before,
.dropzone .dz-preview .dropdown-menu:after {
    display: none;
}

.dropzone .dz-preview .dropdown-menu .dropdown-item {
    padding: 8px 15px;
    font-size: 0.75rem;
    text-decoration: none;
    text-align: left;
}

.dropzone .dz-preview .dropdown-menu .dropdown-item > i {
    margin-right: 5px;
}

.dropzone .dz-preview .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 92, 228, 0.12);
    color: #000 !important;
    text-decoration: none;
    cursor: pointer;
}

.dropzone .dz-preview .dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.dropzone .dz-preview .dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.ekko-lightbox .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.ekko-lightbox .modal-header .modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: 500;
    word-break: break-all;
}

.dropzone .dz-preview .dropdown.dd-menu .dropdown-toggle:before {
    content: "";
}

.dropzone .dz-preview.selected {
    outline: solid 2px var(--primary-color-2);
}

.dropzone .dz-preview.selected .dz-footer {
    background-color: var(--primary-color-2);
    border-top-color: var(--primary-color-2);
    color: #fff;
}

.dropzone .dz-preview.selected .dzo.dzo-check > i {
}

.dropzone .dz-preview .dropdown.dd-menu #ddActionsMenuLink {
    background-color: transparent !important;
}

.dropzone .dz-preview.dz-auto-process-queue:not(.dz-success) .dz-image img,
.dropzone .dz-preview.dz-processing:not(.dz-success) .dz-image img {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-filter: blur(8px);
    filter: blur(8px);
}

.dropzone .dz-preview.dz-addedfile:not(.dz-success) .dzo-copy-link,
.dropzone .dz-preview.dz-addedfile:not(.dz-success) .dzo-download,
.dropzone .dz-preview.dz-addedfile:not(.dz-success) .dzo-check,
.dropzone .dz-preview.dz-addedfile:not(.dz-success) .dzo-check-input {
    cursor: not-allowed;
    display: none;
}

.dropzone .dz-preview .dz-progress {
    opacity: 1;
    background: rgb(97, 97, 97);
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: linear-gradient(to bottom, rgb(71, 71, 71), rgb(0, 0, 0));
}

/* change check svg color */
.dz-success-mark svg g path {
    fill: rgb(43, 43, 43) !important;
}

.dz-error-mark svg g g {
    fill: rgb(43, 43, 43) !important;
}

.overlay-files {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000000;
    overflow: auto;
    display: none;
}

.dz-uploadprogress .dz-uploadprogress-overlay {
    display: block;
}

.dz-uploadprogress-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
}

.dz-uploadprogress-overlay > div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    margin-left: -160px;
    margin-top: -30px;
}

.dz-uploadprogress-overlay div.upl-icon {
    height: 20px;
    width: 20px;
    margin: 0 auto;
    display: none;
}

.dz-uploadprogress-overlay div.upl-text {
    margin-top: 8px;
    text-align: center;
    margin-bottom: 8px;
}

.dz-uploadprogress-overlay div.upl-text > span {
    font-size: 24px;
    font-weight: 300;
    color: #e6e6e6;
}

.dz-uploadprogress-overlay div.upl-cancel {
    text-align: center;
}

.dz-uploadprogress-overlay .progress {
    height: 15px;
    margin-bottom: 8px;
}

.dz-uploadprogress-overlay .progress .progress-bar {
    background-color: #204592;
    width: 0%;
}

.dropzone .dz-preview .open-btn-file {
    background: rgba(217, 217, 217, 0.38);
    border: 0.5px solid #ffffff;
    border-radius: 2px;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 10px;
}
