/* Dropzone Component Styles */
.dropzone-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 1rem 0;
}

.dropzone-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
}

.dropzone-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

.dropzone-body {
    padding: 1.5rem;
}

.dropzone-alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dropzone-area {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.dropzone-area:hover {
    border-color: #667eea;
    background-color: #f0f4ff;
    transform: translateY(-1px);
}

.dropzone-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.dropzone-content {
    position: relative;
    z-index: 1;
}

.dropzone-icon {
    font-size: 3.5rem;
    color: #667eea;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.dropzone-text {
    margin-bottom: 1.5rem;
}

.dropzone-main-text {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.dropzone-subtext {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.dropzone-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dropzone-info-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 500;
}

.dropzone-files-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dropzone-files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dropzone-files-title {
    color: #374151;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.dropzone-clear-all {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.dropzone-files-list {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

.dropzone-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.dropzone-file-item:last-child {
    border-bottom: none;
}

.dropzone-file-item:hover {
    background-color: white;
}

.dropzone-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1;
}

.dropzone-file-icon {
    font-size: 1.5rem;
    color: #667eea;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.dropzone-file-details {
    flex: 1;
    min-width: 0;
}

.dropzone-file-name {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropzone-file-size {
    font-size: 0.875rem;
    color: #6b7280;
}

.dropzone-file-remove {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropzone-file-remove:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.dropzone-total-size {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f0f4ff;
    border-radius: 8px;
    margin-top: 1rem;
}

.dropzone-total-text {
    font-weight: 500;
    color: #374151;
}

.dropzone-total-value {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
}

.dropzone-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.dropzone-upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropzone-upload-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.dropzone-upload-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.dropzone-external-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #eff6ff;
    border-radius: 8px;
    color: #1e40af;
    font-size: 0.95rem;
    border-left: 4px solid #3b82f6;
}

/* Scrollbar styling */
.dropzone-files-list::-webkit-scrollbar {
    width: 6px;
}

.dropzone-files-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dropzone-files-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.dropzone-files-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dropzone-header {
        padding: 1rem;
    }
    
    .dropzone-body {
        padding: 1rem;
    }
    
    .dropzone-area {
        padding: 2rem 1rem;
    }
    
    .dropzone-info {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .dropzone-actions {
        flex-direction: column;
    }
    
    .dropzone-actions button {
        width: 100%;
    }
}