/* File Drop Zone Styles */
.file-dropzone-viewitem {
    width: 100%;
    /*margin: 0 0;*/
}

.custom-drop-zone {
    border: 2px dashed #b7b7b7;
    border: 2px dashed rgba(183, 183, 183, 0.7);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #b7b7b7;
    background: rgba(183, 183, 183, 0.1);
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .custom-drop-zone:hover:not(.uploading):not(.disabled), .custom-drop-zone.drag-over {
        border-color: var(--DS-primary-80);
        color: var(--DS-primary-80);
        background: #b7b7b7;
        background: rgba(183, 183, 183, 0.2);
        /*background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);*/
        /*        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
*/
    }

/*.custom-drop-zone.drag-over {
        border-color: #2563eb;
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        transform: scale(1.02);
    }*/

    .custom-drop-zone.uploading {
        cursor: default;
        /*border-color: #3b82f6;
        background: #ffffff;*/
    }

    .custom-drop-zone.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #f3f4f6;
    }

.drop-zone-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: #6b7280;
}

    .drop-zone-icon svg {
        width: 100%;
        height: 100%;
    }

.custom-drop-zone:hover .drop-zone-icon {
    color: var(--DS-primary-100);
}

.drop-zone-text {
    font-size: 14px;
    font-weight: 600;
    /*color: #1f2937;*/
    /*margin-bottom: 4px;*/
}

.drop-zone-subtext {
    font-size: 14px;
    /*color: #6b7280;*/
}

.drop-zone-info {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

/* Upload Progress Styles */
.upload-progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers horizontally */
    gap: 3px;
}

.upload-progress-text {
    margin-bottom: 16px;
}

.uploading-filename {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uploading-status {
    font-size: 12px;
    color: #9ca3af;
}

.upload-errors {
    margin-top: 12px;
    padding: 8px;
    border-radius: 6px;
}

.error-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #dc2626;
    padding: 4px 0;
}

.error-icon {
    font-size: 14px;
}

.hidden-file-input {
    display: none !important;
}