/* Modal container */
.dm-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

/* Modal content */
.dm-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: dm-animatetop;
    animation-duration: 0.4s;
}

/* Add animation for modal */
@keyframes dm-animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* Close button */
.dm-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.dm-close:hover,
.dm-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Image container styling */
#dm-imageContainer img {
    width: 40%;
    margin: 10px;
}

label.dm-file-upload-label{
    background-color: #0081F1;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
}

.dm-file-upload-label:hover{
    background-color: #006ADC;
}

.dm-custom-upload-section{
    background-color: white;
    padding: 10px;
    margin-bottom: 30px;
}

.dm-custom-upload{
    display: flex;
    gap: 12px;
    align-items: center;
}

label.dm-generator-description{
    margin-bottom: 0;
}





/**
 * LOADER STYLE
 */


.dm-ring-loader {
    position: relative;
    width: 30px;
    height: 30px;
    color: #0081f1;
    display: none;
}
.dm-ring-loader,
.dm-ring-loader div {
    box-sizing: border-box;
}
.dm-ring-loader div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    margin: 4px;
    border: 4px solid currentColor;
    border-radius: 50%;
    animation: dm-ring-loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}
.dm-ring-loader div:nth-child(1) {
    animation-delay: -0.45s;
}
.dm-ring-loader div:nth-child(2) {
    animation-delay: -0.3s;
}
.dm-ring-loader div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes dm-ring-loader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}