/** Progress SSE */
.jl-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jl-progress progress {
    margin-top: 0 !important;
}

/** loader */
.jl-loader__container {
    position: relative;
    min-height: 40px;
}

.jl-loader__container:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    opacity: .6;
    z-index: 1;
    top: 0;
    left: 0;
}

.jl-loader {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100.8px;
    height: 16.8px;
    -webkit-mask: linear-gradient(90deg, #3d618f 70%, #0000 0) left/20% 100%;
    background: linear-gradient(#3d618f 0 0) left/0% 100% no-repeat #dbdcef;
    animation: jl-loader 2s infinite steps(6);
    z-index: 100;
}

@keyframes jl-loader {
    100% {
        background-size: 120% 100%;
    }
}

/** Modal */
.jl-modal {
    display: none;
    opacity: 0;
    transition: opacity .15s linear;
    position: fixed;
    z-index: 9999;
}


.jl-modal__center {
    translate: -50% -50%;
    top: 50%;
    left: 50%;
}

.jl-modal__top-center {
    top: 0;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

.jl-modal__bottom-center {
    bottom: 0;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

.jl-modal__top-left {
    top: 0;
    left: 0;
}

.jl-modal__top-right {
    top: 0;
    right: 0;
}


.jl-modal__bottom-left {
    bottom: 0;
    left: 0;
}

.jl-modal__bottom-right {
    bottom: 0;
    right: 0;
}

.jl-modal.has-backdrop {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

@media (min-width: 640px) {
    .jl-modal {
        padding: 50px 30px;
    }
}

.jl-modal__content {
    --primary: #3d618f;
    --warning: #fd7e17;
    --error: #a51f18;
    --success: #448344;
    --notice: #aaaaaa;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 100% !important;
    background: #fff;
    opacity: 0;
    transform: translateY(-100px);
    transition: .3s linear;
    transition-property: opacity, transform;
    padding: 20px;
}

.jl-modal__content__body {
    max-height: 78vh;
    overflow: auto;
    margin-top: 10px;
}

.jl-modal__alert .jl-modal__content {
    border-width: 3px 1px 1px 1px;
    border-style: solid;
    border-color: var(--notice);
}

.jl-modal__alert--warning .jl-modal__content {
    border-color: var(--warning);
}

.jl-modal__alert--error .jl-modal__content {
    border-color: var(--error);
}

.jl-modal__alert--success .jl-modal__content {
    border-color: var(--success);
}

.jl-modal.show,
.jl-modal.show .jl-modal__content {
    opacity: 1;
}

.jl-modal.show .jl-modal__content {
    transform: translateY(0);
}

.jl-modal__small.no-backdrop,
.jl-modal__small.has-backdrop .jl-modal__content {
    width: 400px;
}

.jl-modal__medium.no-backdrop,
.jl-modal__medium.has-backdrop .jl-modal__content {
    width: 600px;
}

.jl-modal__large.no-backdrop,
.jl-modal__large.has-backdrop .jl-modal__content {
    width: 900px;
}

.jl-modal__xlarge.no-backdrop,
.jl-modal__xlarge.has-backdrop .jl-modal__content {
    width: 1200px;
}

.jl-modal__close {
    position: absolute;
    z-index: 1010;
    top: 0;
    right: 5px;
    padding: 5px;
    color: #999;
    transition: .1s ease-in-out;
    transition-property: color, opacity;
    border: none !important;
    background: none !important;
    border-radius: 0;
}

.jl-modal__close > svg,
.jl-modal__close [stroke] {
    fill: currentcolor;
    stroke: currentColor;
}

.jl-modal__close > svg {
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    font: inherit;
    color: inherit;
    text-transform: none;
    padding: 0;
    background-color: transparent;
    display: inline-block;
    line-height: 0;
}

.jl-modal__close:hover,
.jl-modal__close:focus {
    color: #444;
}

.jl-modal__close:hover,
.jl-modal__close:focus,
.jl-modal__close:hover > svg,
.jl-modal__close:hover [stroke],
.jl-modal__close:focus > svg,
.jl-modal__close:focus [stroke] {
    fill: #444;
}

.jl-modal__header {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 15px;
}

.jl-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

.jl-modal__confirm-no,
.jl-modal__confirm-yes,
.jl-modal__prompt-ok,
.jl-modal__prompt-cancel {
    text-transform: uppercase;
    padding: 8px 35px;
    border: 1px solid transparent;
}

.jl-modal__confirm-no,
.jl-modal__prompt-cancel {
    background: #fff;
    border-color: #aaa;
}

.jl-modal__confirm-yes,
.jl-modal__prompt-ok {
    background: var(--primary);
    color: #fff;
}

#js-modal__prompt-control {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    padding: 6px 12px;
    outline: none;
    margin-top: 5px;
}

.jl-upload__input-area {
    border: 1px dashed #ddd;
    padding: 25px 15px;
    text-align: center;
}

.jl-upload__input-area.dragging {
    background-color: rgb(255 181 20 / 25%);
}

.jl-upload__input-element::file-selector-button {
    border: none;
    background: #f7f7f7;
    padding: 5px 10px;
}

.jl-upload__hint {
    font-size: 85%;
    color: #999;
    margin-top: 5px;
}

.jl-upload__container table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 20px;
}

.jl-upload__container thead {
    padding: 16px 12px;
    text-align: left;
    vertical-align: bottom;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
}

.jl-upload__container th {
    padding: 16px 12px;
    text-align: left;
    vertical-align: bottom;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
}

.jl-upload__container th:not(:first-child) {
    width: 1px;
    white-space: nowrap;
}

.jl-upload__container tr:not(:first-child) {
    border-top: 1px solid #e5e5e5;
}

.jl-upload__container td {
    padding: 6px 8px;
    color: #999;
}

.jl-upload__container td:not(:first-child) {
    white-space: nowrap;
}

.jl-upload__btn-remove {
    border: none;
    text-transform: uppercase;
    background: #c52827;
    color: #fff;
    font-size: 85%;
}
