.loading-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    -webkit-animation: spin 1s ease-in-out infinite;
            animation: spin 1s ease-in-out infinite;
    display: none;
}

.pulse-animation {
    -webkit-animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@-webkit-keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.file-drop-area {
    transition: all 0.3s ease;
}

.file-drop-area.drag-active {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

/* This creates the actual checkmark */
.check-icon::after {
    content: '';
    position: absolute;
    border: solid #4CAF50;
    border-width: 0 6px 6px 0;
    width: 25px;
    height: 45px;
    top: 14px;
    left: 29px;
    transform: rotate(45deg);
    -webkit-animation: checkmark 0.6s ease-in-out forwards;
            animation: checkmark 0.6s ease-in-out forwards;
    opacity: 0;
}

@-webkit-keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 25px;
        opacity: 1;
    }

    40% {
        height: 45px;
        width: 25px;
        opacity: 1;
    }

    100% {
        height: 45px;
        width: 25px;
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 25px;
        opacity: 1;
    }

    40% {
        height: 45px;
        width: 25px;
        opacity: 1;
    }

    100% {
        height: 45px;
        width: 25px;
        opacity: 1;
    }
}

.success-text {
    color: #4CAF50;
    font-size: 24px;
    margin-top: 20px;
    -webkit-animation: fade-in 0.5s ease-in-out 0.6s forwards;
            animation: fade-in 0.5s ease-in-out 0.6s forwards;
    opacity: 0;
}

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    -webkit-animation: fadeIn 0.5s ease-in-out;
            animation: fadeIn 0.5s ease-in-out;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal animation */
@-webkit-keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#duplicates-modal>div {
    -webkit-animation: modalFadeIn 0.3s ease-out;
            animation: modalFadeIn 0.3s ease-out;
}