/*
CodedBy C.ArdaAkin with PhpStorm
 * Date: 18.03.2025
 * Time: 21:48
*/

.input-upload-area{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px;
    height: 200px;
    border: 1px solid BLACK;
    padding: 15px;
    line-height: 1em;
    overflow: hidden;
    position: relative;
}
.input-upload-area > *{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}
.input-upload-area .content-area{
    text-align: center;
}
.input-upload-area .loading{
    background: white;
    background-image: url(../img/loading.gif);
    background-size: auto 50px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    z-index: 10;
}
.input-upload-area .preview{
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 25px;
    flex-direction: column;
}
.input-upload-area .preview > img{
    height: 80px;
}
.input-upload-area .preview > p{
    background: #ddd;
    padding: 3px 12px;
    font-style: italic;
}

.input-upload-area .content-area{
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-upload-area .preview,
.input-upload-area .loading
{
    right: -100%;
}


.input-upload-area.load .loading{
    right: 0;
}
.input-upload-area.load .preview,
.input-upload-area.load .content-area
{
    right: -100%;
}

.input-upload-area.prev .preview{
    right: 0;
}
.input-upload-area.prev .loading,
.input-upload-area.prev .content-area
{
    right: -100%;
}