#base64_output {
    display: none;
}

/* Modifying existing styling dropzone elements */
#my-dropzone {
    background-color: var(--bg_dropzonecolor);
    outline: 2px dashed grey;
    outline-offset: -15px;
    border: none;
    max-width: 300px;
    display: block;
    margin: 0 auto 20px;
}

.dropzone .dz-preview.dz-file-preview .dz-image { /* Center the grey block after a file is uploaded */
    margin: auto;
    display: inherit;
    z-index: 0;
}

.dropzone .dz-preview.dz-file-preview .dz-details {
    z-index: 0;
}

.dropzone .dz-preview {
    display: inherit !important; /* Center the elements inside the grey block after a file is uploaded */
}

.dz-remove {
    color: black;
    margin-top: 5px;
}
/* end of block */

#upload_icon {
    width: 75px;
    display: block;
    margin: auto;
    pointer-events: none;
}

#file_data_to_upload {
    display: none;
}

#error_message_dropzone {
    text-align: center;
    margin-bottom: 20px;
    color: var(--message_failed);
}

label {
    color: var(--label_color);
    font-weight: 600;
}

.gray_label_text {
    color: var(--label_grey_color);
}

input, select {
    display: block;
    padding: 5px 10px;
    margin: 5px 0 20px;
    width: 150px;
    cursor: pointer;
    font-size: 1em;
}

input {
    box-sizing: border-box;
}

input::placeholder {
    color: var(--label_grey_color);
}

#warning_message_bedrag_kolom {
    color: var(--message_warning);
    margin: -20px 0 20px 0;
    text-align: justify;
}

#error_message_bedrag_kolom, #error_message_opdrachtcode, #error_message_uitvoeringsmaterialiteit {
    color: var(--message_failed);
    margin: -20px 0 20px 0;
}

hr {
    border-top: 1px solid var(--border_color);
}

.button {
    background-color: var(--button_color);
    border: 1px solid var(--button_color);
    border-radius: 5px;
    color: white;
    font-weight: 600;
    font-size: 1em;
    width: min-content;
    height: min-content;
    margin: 0;
    padding: 7.5px 20px;
    cursor: pointer;
    text-decoration: none;
}

#button_submit:hover, #button_download:hover {
    background-color: var(--button_color_hover);
}

#button_submit:disabled {
    background: #DDDDDD;
    cursor: default;
    border-color: #DDDDDD;
}

#button_reset {
    background-color: white;
    color: var(--button_color);
}

#button_reset:hover {
    background-color: #fafafa;
}

#button_download {
    background-color: var(--button_color_hover);
    text-decoration: none;
}

.full_width {
    width: 100%;
}

.buttons_div {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

#submit_message {
    text-align: center;
    margin-top: 20px;
}

.submit_message_succes {
    color: var(--message_succes);
}
.submit_message_failed {
    color: var(--message_failed);
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 360px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.overlay {
  background: rgba(0,0,0,0.5);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

#loadmessage {
    height: 300px;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}



.loader {
  border: 16px solid rgb(226, 119, 0);
  border-top: 16px solid #be2626;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

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