.wefu-auto-width {
    width: auto !important;
    padding: 10px 0px;
}

.wefu-modal {   
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;

    display: none;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    overflow: auto;
    background-color: #000000;
    background-color: #00000066;

    backdrop-filter: blur(2px);
}

.wefu-modal-contents {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px;

    border: 1px solid #888888;
    border-radius: 12px;
   
    background-color: #ffffff;

    box-shadow: 0 4px 8px 0 #00000033, 0 6px 20px 0 #00000030;
    animation-name: animate-top;
    animation-duration: 0.4s;
   
    text-align: center;
}

@keyframes animate-top {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.wefu-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wefu-header-title {
   
}

.wefu-header-close {
    position: absolute;
    top: 12px;
    right: 12px;

    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.wefu-header-close::before {
    font-size: 23px;
    font-family: dashicons;
    line-height: 53px;
    -webkit-font-smoothing: antialiased;
    content: "\f335";
}

.wefu-header-close:hover,
.wefu-header-close:focus {
    color: #888;
    text-decoration: none;
    cursor: pointer;
}

.modal-footer {
    display: flex;
    justify-content: center;
    padding-top: 32px;
}

.wefu_modal_button_class {
    appearance: none;
    background: #FFD42F;
    border-radius: 0px;
    width: 200px;
    height: 50px;
    font-size: 20px;
}

.file-container {
    text-align: center;
    margin-bottom: 10px;
}

.delete-button {
    display: inline-block;

    padding: 5px 10px;
    margin-top: 5px;

    border: none;

    color: white;
    background-color: red;

    cursor: pointer;
}

@media (max-width: 600px) {
    .wefu-modal-contents {
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 767px) {
    .wefu-modal-contents {
        width: 80%;
    }
}

.wefu-mb-2 {
    margin: 1rem 0;
}

div#root {
    padding-bottom: 32px;
}

.wefu_upload_wrapper {
    position: relative;

    display: flex;
    flex-direction: column;

    border: 1px dashed black;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;

    p {
        text-align: center;
    }

    input[type=file] {
        align-self: center;
    }

    input[type=file]::file-selector-button {
        padding: 10px 20px;
        margin-right: 20px;

        border: 1px solid #ffd32f;
        border-radius: 0px;

        background: #ffd32f;
        transition: background .2s ease-in-out;

        color: #000;
        cursor: pointer;
    }

    input[type=file]::file-selector-button:hover {
        background: #ffffff;
    }

    img {
        width: 200px !important;
        max-width: unset !important;

        height: unset !important;
        max-height: unset !important;

        aspect-ratio: auto;

        align-self: center;
    }

    .drop-cta {
        display: none;

        pointer-events: none;

        align-items: center;
        justify-content: center;

        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        background-color: #fff;

        color: #000;
        text-align: center;
    }
}

.wefu_upload_wrapper.drag-active {
    background: #eee;
    border-color: #111;

    .drop-cta {
        display: flex !important;
    }
}
