
/* ============================================ */
/* Floating Messages */
/* approach Option 1: from ChatGPT from 09.10.2024 */
/* Initial state when the alert is fully visible */
.fade-out.show {
    opacity: 1;
}

/* Final state to trigger fade-out transition */
.fade-out {
    opacity: 0;
    transition: opacity 2s ease-out; /* Smooth fading effect */
}

/* approach Option 2: from ChatGPT from 09.10.2024 - via Bootstrap */
.fade.show {
    opacity: 1;
}
.fade {
    opacity: 0;
    transition: opacity 0.2s ease-out; /* Smooth fading effect */
}

/* Floating container for bootstrap messages */
.floating-messages {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1050;
    max-width: 300px;
    max-height: calc(100vh - 100px);
}

/* Toggle button styling */
.toggle-messages-btn {
    position: fixed;
    top: 50px;
    right: 0px;
    z-index: 1100;
    display: none;
    background-color: transparent;
    border: 0px;
    font-size: 20px;
    padding: 0px;
}

/* Speed up modal fade-in and fade-out */
.modal.fade .modal-dialog {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.modal.fade.show .modal-dialog {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* ============================================ */
/* Dropzone custom style: */
.dropzone {
    padding: 5px;
    border: 2px solid #ced4da;
    border-radius: 40px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.dropzone .dz-message {
    width: 100%;
    text-align: center;
    margin: auto;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    top: 25%;
    left: 90%;
}

.dropzone .dz-preview .dz-success-mark svg,
.dropzone .dz-preview .dz-error-mark svg {
    width: 38px;
    height: 38px;
}

.single-file-dropzone {
    min-height: 164px;
    height: 164px;
    min-width: 164px;
    max-width: 164px;
    width: 164px;
}

/* ============================================ */
/* Leaflet */
.leaflet-touch .leaflet-control-layers-toggle {
    width: 30px;
    height: 30px;
}
