.wcpf-file-upload {
    position: relative;
    height: 200px; /* Adjust height as needed */
    border: 2px dashed #ccc;
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s all;
    margin-top: 1rem;
}

.wcpf-file-upload:hover{
    cursor: pointer !important;
    background: rgba(235, 94, 40, .7);
}
.wcpf-file-label {
    font-size: 16px;
    font-weight: bold;
}

.wcpf-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
}

.wcpf-file-input:hover{
    cursor: pointer;
}

.wcpf-image-preview {
    margin-top: 10px;
    max-width: 100%;
}

.wcpf-file-label{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.file-accepted{
    color: grey;
    font-size: 12px;
}

.wcpf-title{
    font-size: 18px;
    color: #262D33;
    text-align: left;
    line-height: 27px;
    font-weight: 400;
    letter-spacing: normal !important;
    margin-bottom: 1rem;
}

.wcpf-image-preview{
    display: flex;
    align-items: center;
    position: relative;
    gap: 2rem;
}

.wcpf-image-preview.active{
    border-top: solid 1px #d3d3d3;
    border-bottom: solid 1px #d3d3d3;
}

.wcpf-image-preview img{
    height: 150px;
    width: 200px;
    object-fit: contain;

}

.delete-preview-button{
    background: white;
    border: none;
    color: black;
    position: absolute;
    right: -13px;
    top: 17px;
}

.delete-preview-button:after{
    position: absolute;
    left: -20px;
    background-repeat: no-repeat;
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" /></svg>');
    height: 18px;
    width: 18px;
    background-size: 18px;
    top: 5px;
}