#file_upload_container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

#file_upload_container .dz-preview {
    margin: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#file_upload_container .dz-details {
    width: 100%;
    height: auto;
}

#file_upload_container .dz-size {
    position: static;
    bottom: 0;
    left: 0;
}

#file_upload_container .dz-image {
    border: solid thin lightgray;
    box-shadow: -4px 10px 15px #00000040;
    cursor: pointer;
    position: relative;
    background-color: #FFF;
    width: auto;
    /*aspect-ratio: 1/1;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* auto width image in modal */
#file_upload_container .modal .dz-image {
    width: auto;
}

#file_upload_container #img-thumb {
    max-width: 100%;
    margin-bottom: 0;
}


#file_upload_container #img-thumb:hover {
    cursor: pointer;
}

#file_upload_container .edit-icon {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    margin: 15px;
    margin-right: 8px;
    color: #f23534;
}

#file_upload_container .remove-icon {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    margin: 15px;
    margin-left: 8px;
    color: #f23534;
}

#file_upload_container .modal-dz-image {
    transform: scale(1.6);
    border: 1px solid lightgray;
    padding: 0;
    box-shadow: -4px 10px 15px #00000040;
}

#file_upload_container .modal-dz-image img {
    margin: 0;
}

#file_upload_container .modal-body.row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#file_upload_container .fa-lg {
    font-size: 22px;
}

#file_upload_container .dz-progress {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

#file_upload_container .dz-preview-wrap {
    /*height: 100%;*/
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 260px;
}

#file_upload_container .dz-detail-wrap {
    justify-self: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#form_upload .error_p {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: #F33F3F;
    color: #FFF;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;

}

#form_upload input {
    max-width: 130px;
    margin-right: 5px;
}

#form_upload select {
    max-width: 200px;
    margin-right: 5px;
}

#form_upload select option:disabled {
    color: lightgray;
}

#form_upload select.formaat {
    margin-right: 15px;
}

#form_upload select:disabled,
#form_upload select.qty,
#form_upload select.ophangsysteem {
    background-color: #fff;
    border: none;
    -webkit-appearance: none;
    color: black;
    padding: 8px;
    font-size: 14px;
    overflow: hidden;
    pointer-events: none;
}

#form_upload .select-formaat {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#form_upload .check-disable {
    pointer-events: none;
}

#form_upload .check-disable,
#form_upload .check-disable + label,
#form_upload .check-disable ~ .options {
    display: none;
}

#form_upload input[type^="checkbox"]:checked.check-disable,
#form_upload input[type^="checkbox"]:checked.check-disable + label {
    display: inline-block;
}

#form_upload input[type^="checkbox"]:checked.check-disable ~ .options {
    display: block;
}

#form_upload .attributes .items {
    margin: 10px 0;
}

#form_upload .mobileBulkPanel {
    display: flex;
    justify-content: end;
}

#form_upload .mobileBulkPanel .showBulkPanel_checkbox {
    display: none;
}

#form_upload .attributes .options {
    font-size: 13px;
    margin-left: 20px;
}

#form_upload .attributes .options p {
    margin: 0;
}

#form_upload select#selectedFormaat {
    box-shadow: none;
}

/* fix bootstrap modal in dropzone */
@media (min-width: 768px) {
    #file_upload_container .modal-dialog {
        margin: 80px auto;
    }
}

@media (max-width: 600px) {
    #form_upload .vertical-alignment-helper {
        width: 100vw !important;
        height: 100vh;
        overflow-x: hidden;
    }

    #form_upload .vertical-alignment-helper .modal-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    #form_upload .vertical-alignment-helper .modal-body {
        flex-direction: column;
        align-items: center;
    }

    #form_upload .vertical-alignment-helper .modal-title {
        margin-top: 1.5rem;
        font-size: 1.8rem !important;
    }

    #file_upload_container .dz-preview {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #file_upload_container .modal-dz-image {
        width: 330px;
    }

}

.middenladen {
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    margin: auto;
}

.laden {
    border: 1.25rem solid #f3f3f3;
    border-radius: 50%;
    border-top: 1.25rem solid #f23534;
    width: 150px;
    height: 150px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.loading__text {
    color: white !important;
    font-weight: bold;
    margin: auto;
    text-align: center;
    font-size: 2rem;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    position: fixed;
    z-index: 999999 !important;
    top: 0;
    right: 0;
    bottom: 0;
    outline: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0 0 0 / .6);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 1024px) {
    .laden {
        left: 28.5% !important;
        top: 45% !important;
    }
}

.loading__container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Container for the progress circle */
#progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#f23534 0% 0%, lightgray 0% 100%);
    margin-bottom: 2rem;
}

/* Inner circle */
#progress-inner-circle {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress percentage text */
#progress-text {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

.modal .calculator {
    margin-left: -5px;
}

.form-upload .modal .vertical-alignment-helper {
    width: 95%;
}

.title-calculater.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: static;
    padding-bottom: 0;
}

.cart-modal .modal-header {
    position: static;
    display: block;
    padding-bottom: 0;
}