/* Drop zone styling */
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
}

.drop-zone:hover {
    border-color: #999;
    background-color: rgba(0, 0, 0, 0.05);
}

.drop-zone.highlight {
    border-color: #2196F3;
    background-color: rgba(33, 150, 243, 0.1);
}

.drop-zone-prompt {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #666;
}

.drop-zone-icon {
    font-size: 2em;
    margin-bottom: 10px;
    color: #666;
}

.drop-zone input[type="file"] {
    display: none;
}

/* Hide the original file input */
.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.drop-zone.dragover {
    border-color: #2196F3 !important;
    background-color: rgba(33, 150, 243, 0.1) !important;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3) !important;
}

.drop-zone.file-selected {
    border-color: #52c41a !important;
    background-color: rgba(82, 196, 26, 0.05) !important;
    transition: all 0.3s ease;
}

.success-icon {
    animation: bounce 1s;
}

.success-message {
    color: #52c41a;
    font-weight: 500;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.file-list {
    list-style-type: none;
    margin-bottom: 10px;
}

.file-list li {
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}