.wmx-drop-zone {
    width: 100%;
    min-height: 200px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Loading state */
.wmx-drop-zone.uploading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.wmx-drop-zone.uploading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

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

.wmx-drop-zone.drag-hover {
    background: #e1e1e1;
    border-color: #999;
}

.wmx-drop-zone p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.wmx-drop-zone .icon {
    font-size: 48px;
    color: #999;
    margin-bottom: 10px;
}

.wmx-file-input {
    display: none;
}

/* Status messages */
.wmx-upload-status {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 3;
    white-space: nowrap;
}

.wmx-upload-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block !important;
    opacity: 1;
}

.wmx-upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block !important;
    opacity: 1;
}

.wmx-upload-status {
    transition: opacity 0.3s ease-in-out;
    display: block !important;
}

.wmx-upload-status {
    margin-top: 10px;
    display: block !important;
    position: relative;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
}

.wmx-upload-status.uploading {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
    padding-left: 35px;
}

.wmx-upload-status.uploading::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #1976d2;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
