﻿/* optional google fonts */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

.container-dragdrop {
    text-align: center;
    width: 100%;
    max-width: 500px;
    padding: 8px;
    margin: auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.header-section-dragdrop {
    padding: 25px 0px;
}

    .header-section-dragdrop h1 {
        font-weight: 500;
        font-size: 1.7rem;
        text-transform: uppercase;
        color: #707EA0;
        margin: 0px;
        margin-bottom: 8px;
    }

    .header-section-dragdrop p {
        margin: 5px;
        font-size: 0.95rem;
        color: #707EA0;
    }

.drop-section-dragdrop {
    min-height: 250px;
    border: 1px dashed #A8B3E3;
    background-image: linear-gradient(180deg, white, #F1F6FF);
    margin: 16px;
    padding: 16px;
    border-radius: 12px;
    position: relative;
}

    .drop-section-dragdrop div.col:first-child {
        opacity: 1;
        visibility: visible;
        transition-duration: 0.2s;
        transform: scale(1);
        width: 200px;
        margin: auto;
    }

    .drop-section-dragdrop div.col:last-child {
        font-size: 40px;
        font-weight: 700;
        color: #c0cae1;
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: auto;
        width: 200px;
        height: 55px;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.6);
        transition-duration: 0.2s;
    }
/* we will use "drag-over-effect" class in js */
.drag-over-effect div.col:first-child {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.drag-over-effect div.col:last-child {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.drop-section-dragdrop .cloud-icon {
    margin-top: 25px;
    margin-bottom: 20px;
}

.drop-section-dragdrop span,
.drop-section-dragdrop button {
    display: block;
    margin: auto;
    color: #707EA0;
    margin-bottom: 10px;
}

.drop-section-dragdrop button {
    color: white;
    background-color: #5874C6;
    border: none;
    outline: none;
    padding: 7px 20px;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.drop-section-dragdrop input {
    display: none;
}

.list-section-dragdrop {
    display: none;
    text-align: left;
    margin: 0px 35px;
    padding-bottom: 20px;
}

    .list-section-dragdrop .list-title-dragdrop {
        font-size: 0.95rem;
        color: #707EA0;
    }

    .list-section-dragdrop li {
        display: flex;
        margin: 15px 0px;
        padding-top: 4px;
        padding-bottom: 2px;
        border-radius: 8px;
        transition-duration: 0.2s;
    }

        .list-section-dragdrop li:hover {
            box-shadow: #E3EAF9 0px 0px 4px 0px, #E3EAF9 0px 12px 16px 0px;
        }

        .list-section-dragdrop li .col {
            flex: .1;
        }

            .list-section-dragdrop li .col:nth-child(1) {
                flex: .15;
                text-align: center;
            }

            .list-section-dragdrop li .col:nth-child(2) {
                flex: .75;
                text-align: left;
                font-size: 0.9rem;
                color: #3e4046;
                padding: 8px 10px;
            }

                .list-section-dragdrop li .col:nth-child(2) div.name {
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    max-width: 250px;
                    display: inline-block;
                }

            .list-section-dragdrop li .col .file-name span {
                color: #707EA0;
                float: right;
            }

        .list-section-dragdrop li .file-progress {
            width: 100%;
            height: 5px;
            margin-top: 8px;
            border-radius: 8px;
            background-color: #dee6fd;
        }

            .list-section-dragdrop li .file-progress span {
                display: block;
                width: 0%;
                height: 100%;
                border-radius: 8px;
                background-image: linear-gradient(120deg, #6b99fd, #9385ff);
                transition-duration: 0.4s;
            }

        .list-section-dragdrop li .col .file-size {
            font-size: 0.75rem;
            margin-top: 3px;
            color: #707EA0;
        }

        .list-section-dragdrop li .col svg.cross,
        .list-section-dragdrop li .col svg.tick {
            fill: #8694d2;
            background-color: #dee6fd;
            position: relative;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
        }

        .list-section-dragdrop li .col svg.tick {
            fill: #50a156;
            background-color: transparent;
        }

        .list-section-dragdrop li.complete span,
        .list-section-dragdropn li.complete .file-progress,
        .list-section-dragdrop li.complete svg.cross {
            display: none;
        }

        .list-section-dragdrop li.in-prog .file-size,
        .list-section-dragdrop li.in-prog svg.tick {
            display: none;
        }
