


/* Upload */


.zfile-container {
    background: #efefef;
    min-height: 70px;
    border-radius: 10px;
    padding: 10px 10px;
}
.upload-area {
    background: transparent;
    min-height: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    overflow: hidden ;
}

.upload-area::before{
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 0,  0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    width: 0px;
    height: 0px;
    border-radius: 50%;
    cursor: pointer !important;
    transition: all ease-in-out .4s;
}

.upload-details {
    margin-top: 10px;
    text-align: center;
    cursor: pointer !important;
}

.upload-details>small {
    font-size: 13px !important;
    margin: 0;
    margin: 0px 3px;
}

.upload-details>small span {
    font-size: 12px !important;
    margin: 0;
    color: #000;
    font-weight: bold;
}

.dropingfile.upload-area::before {
    width: 400px;
    height: 400px;
    transition: all ease-in-out .4s;

}

.upload-area span {
    font-size: 16px !important;
    font-weight: 400;
    cursor: pointer !important;
    z-index: 1;
}

.upload-area span b {
    color: var(--bs-teal);
    font-weight:600;
    text-decoration: underline;
}

.z-card {
    position: relative;
    background-color: rgb(65, 65, 65);
    color: #fff;
    border-radius: 10px;
    padding: 0px 0px;
    overflow: hidden;
}
.z-card * {
    font-size: 13px;
}
.z-sides {
    width: 60px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area input[type = 'file'] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer !important;
}



.z-btn {
    display: grid;
    place-content: center;
    place-items: center;
    background-color: #000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    max-width: 35px;
    max-height: 35px;
    border: 0;
    border: 2px solid transparent;
    transition: all ease-in-out .4s;
    color: #fff !important;
}

.z-btn:hover {
    border: 2px solid #fff;
    transition: all ease-in-out .4s;
}

.z-filename {
    color: #fff;
    margin-bottom: 0;
}

.z-size {
    color: rgba(255, 255, 255, 0.434);
}



.is-preview .z-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    background-image: linear-gradient(180deg, #000 , rgba(0, 0, 0, 0.0));
    padding-bottom: 20px;
    border-radius: 10px 10px 0px 0px;
    padding-left: 0px;
    padding-right: 0px;
    z-index: 1;
}


.z-modal-confirm {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    place-items: center;
    background-color: rgba(228, 255, 255, 0.8);

    padding-bottom: 10px;
    border-radius: 10px 10px 0px 0px;
    padding-left: 0px;
    padding-right: 0px;
    z-index: 0;
}

.z-modal-confirm h6 {
    color: #e43737;
    margin-top: 10px;
}

.z-modal-confirm p {
    color: #222;
}

.z-modal-confirm .z-btn {
    border: none !important;
    background-color: rgba(0, 0, 0,  0.7) !important;
    width: 55px ;
    max-width: 55px;
    border-radius: 40px;
    transition: all ease-in-out .4s;
}

.z-modal-confirm .z-btn:hover {
    background-color: #fff !important;
    color: #000;
    transition: all ease-in-out .4s;
}

.z-modal-confirm .z-btn:hover em {
    color: #000 !important;
}



.file-error .z-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;

    min-height: 50px;
    padding-top: 30px;

    background-image: linear-gradient(0deg, rgb(228, 55, 55) , rgba(228, 55, 55, 0)) !important;

    padding-bottom: 10px;
    border-radius: 10px 10px 0px 0px;
    padding-left: 0px;
    padding-right: 0px;
    z-index: 1;
}

.file-error .z-filename {
    color:  #e43737;
}

.file-error .z-btn {
    background-color: rgba(228, 55, 55, 0.6);
}


.zimage {
    width: 100%;
    height: 250px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.zimage img {
    height: 250px;
    max-height: 250px;
}

.zfile {
    height: 250px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zfile img{
    height: 100px;
}

.upload-area-loading {
    width: 100%;
    background: rgba(0, 0, 0,  0.7);
    border-radius: 10px;
    padding: 0 20px;
    min-height: 70px;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer !important;
    color: #fff;
}

.upload-area-loading .spinerz {
    height: 35px;
    width: 35px;
    display: block;
    border: 2px solid #fff;
    border-radius: 50%;

    border-top-color: transparent;

    animation: looping 1.2s linear infinite;

}

@keyframes looping {
    0%  {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.z-body {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}


.fixi {
    transform: translateY(2px);
}


.removeloading{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(0deg);
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0,  0.4);
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent ;
    box-shadow: 0px 0px 0px 10px rgba(0, 0, 0,  0.4);
    opacity: 0;
    animation: looping2 1.2s linear infinite;

}

@keyframes looping2 {
    0%  {
        transform: translate(-50%,-50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}


.removeloading.activee {
    opacity: 1 !important;
}







.pi-upload-layout
 {
    width: 100px;
    border: 1px solid #ccc;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    /* overflow: hidden; */
    display: grid;
    place-content: center;
    place-items: center;
    cursor: pointer;
    margin: 20px auto;
 }

 .pi-upload-layout input[type='file'] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
 }

.pi-upload-layout .upload-card {
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, .0);
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    display: grid;
    place-content: center;
    place-items: center;
    overflow: hidden;
    transition: all ease-in-out .3s ;
}

.pi-upload-layout .upload-card i{
    font-size: 0px;
    transition: all ease-in-out .3s ;
}

.pi-upload-layout:hover .upload-card {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 50%;
    opacity: 1;
    transition: all ease-in-out .3s ;
}

.pi-upload-layout:hover .upload-card i{
    font-size: 20px;
    color: #fff;
    transition: all ease-in-out .3s ;
}

.pi-upload-layout img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    border-radius: 50% !important;
}

.pi-uploadpi-upload
{
    position: absolute;
    width: 110%;
    height: 110%;
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 50%;
    border: 2px solid #000;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    display: none;
}

.pi-uploadpi-upload.active{
    display: unset;
    animation: loadspin 1s linear infinite;
}

@keyframes loadspin {


    to {
        transform: rotate(360deg);
    }

}

.pi-upload-layout .upload-remove {
    width: 30px;
    height: 30px;
    border: 0;
    background-color: rgb(255, 87, 87);
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, .6);

    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.pi-upload-layout .upload-remove i {
    color: #fff !important;
}
